parameters: (self, dim)
return_statement: return dim
docstring: Dimension N must be specified; it cannot be inferred.
docstring_summary: Dimension N must be specified; it cannot be inferred.
docstring_tokens: Dimension N must be specified ; it cannot be inferred .
function: def _process_parameters(self, dim):
          """
          Dimension N must be specified; it cannot be inferred.
          """
  
          if dim is None or not np.isscalar(dim) or dim <= 1 or dim != int(dim):
              raise ValueError("Dimension of rotation must be specified,"
                               "and must be a scalar greater than 1.")
  
          return dim
function_tokens: def _process_parameters ( self , dim ) : if dim is None or not np . isscalar ( dim ) or dim <= 1 or dim != int ( dim ) : raise ValueError ( "Dimension of rotation must be specified," "and must be a scalar greater than 1." ) return dim