parameters: (fn)
return_statement: return (axis, offset)
docstring: Extract the crop layer parameters with defaults.
docstring_summary: Extract the crop layer parameters with defaults.
docstring_tokens: Extract the crop layer parameters with defaults .
function: def crop_params(fn):
      """
      Extract the crop layer parameters with defaults.
      """
      params = fn.params.get('crop_param', fn.params)
      axis = params.get('axis', 2)  # default to spatial crop for N, C, H, W
      offset = np.array(params.get('offset', 0), ndmin=1)
      return (axis, offset)
function_tokens: def crop_params ( fn ) : params = fn . params . get ( 'crop_param' , fn . params ) axis = params . get ( 'axis' , 2 ) # default to spatial crop for N, C, H, W offset = np . array ( params . get ( 'offset' , 0 ) , ndmin = 1 ) return ( axis , offset )