def safe_no_dnn_workmem(workmem):
 if workmem:
  raise RuntimeError('The option `dnn.conv.workmem` has been removed and should not be used anymore. Please use the option `dnn.conv.algo_fwd` instead.')
 return True

def safe_no_dnn_workmem ( workmem ) : if workmem : raise RuntimeError ( 'The option `dnn.conv.workmem` has been removed and should not be used anymore. Please use the option `dnn.conv.algo_fwd` instead.' ) return True
make sure the user is not attempting to use dnn .