parameters: (params)
docstring: A utility function to check the parameters for the data layers.
docstring_summary: A utility function to check the parameters for the data layers.
docstring_tokens: A utility function to check the parameters for the data layers .
function: def check_params(params):
      """
      A utility function to check the parameters for the data layers.
      """
      assert 'split' in params.keys(
      ), 'Params must include split (train, val, or test).'
  
      required = ['batch_size', 'pascal_root', 'im_shape']
      for r in required:
          assert r in params.keys(), 'Params must include {}'.format(r)
function_tokens: def check_params ( params ) : assert 'split' in params . keys ( ) , 'Params must include split (train, val, or test).' required = [ 'batch_size' , 'pascal_root' , 'im_shape' ] for r in required : assert r in params . keys ( ) , 'Params must include {}' . format ( r )