parameters: (filename, clean_lines, linenum, error)
docstring: Except the base classes, Caffe DataLayer should define DataLayerSetUp
       instead of LayerSetUp.
       
    The base DataLayers define common SetUp steps, the subclasses should
    not override them.
    
    Args:
      filename: The name of the current file.
      clean_lines: A CleansedLines instance containing the file.
      linenum: The number of the line to check.
      error: The function to call with any errors found.
docstring_summary: Except the base classes, Caffe DataLayer should define DataLayerSetUp
       instead of LayerSetUp.
       
    The base DataLayers define common SetUp steps, the subclasses should
    not override them.
    
    Args:
      filename: The name of the current file.
      clean_lines: A CleansedLines instance containing the file.
      linenum: The number of the line to check.
      error: The function to call with any errors found.
docstring_tokens: Except the base classes Caffe DataLayer should define DataLayerSetUp instead of LayerSetUp . The base DataLayers define common SetUp steps the subclasses should not override them . Args : filename : The name of the current file . clean_lines : A CleansedLines instance containing the file . linenum : The number of the line to check . error : The function to call with any errors found .
function: def CheckCaffeDataLayerSetUp(filename, clean_lines, linenum, error):
    """Except the base classes, Caffe DataLayer should define DataLayerSetUp
       instead of LayerSetUp.
       
    The base DataLayers define common SetUp steps, the subclasses should
    not override them.
    
    Args:
      filename: The name of the current file.
      clean_lines: A CleansedLines instance containing the file.
      linenum: The number of the line to check.
      error: The function to call with any errors found.
    """
    line = clean_lines.elided[linenum]
    ix = line.find('DataLayer<Dtype>::LayerSetUp')
    if ix >= 0 and (
         line.find('void DataLayer<Dtype>::LayerSetUp') != -1 or
         line.find('void ImageDataLayer<Dtype>::LayerSetUp') != -1 or
         line.find('void MemoryDataLayer<Dtype>::LayerSetUp') != -1 or
         line.find('void WindowDataLayer<Dtype>::LayerSetUp') != -1):
        error(filename, linenum, 'caffe/data_layer_setup', 2,
              'Except the base classes, Caffe DataLayer should define'
              + ' DataLayerSetUp instead of LayerSetUp. The base DataLayers'
              + ' define common SetUp steps, the subclasses should'
              + ' not override them.')
    ix = line.find('DataLayer<Dtype>::DataLayerSetUp')
    if ix >= 0 and (
         line.find('void Base') == -1 and
         line.find('void DataLayer<Dtype>::DataLayerSetUp') == -1 and
         line.find('void ImageDataLayer<Dtype>::DataLayerSetUp') == -1 and
         line.find('void MemoryDataLayer<Dtype>::DataLayerSetUp') == -1 and
         line.find('void WindowDataLayer<Dtype>::DataLayerSetUp') == -1):
        error(filename, linenum, 'caffe/data_layer_setup', 2,
              'Except the base classes, Caffe DataLayer should define'
              + ' DataLayerSetUp instead of LayerSetUp. The base DataLayers'
              + ' define common SetUp steps, the subclasses should'
              + ' not override them.')
function_tokens: def CheckCaffeDataLayerSetUp ( filename , clean_lines , linenum , error ) : line = clean_lines . elided [ linenum ] ix = line . find ( 'DataLayer<Dtype>::LayerSetUp' ) if ix >= 0 and ( line . find ( 'void DataLayer<Dtype>::LayerSetUp' ) != - 1 or line . find ( 'void ImageDataLayer<Dtype>::LayerSetUp' ) != - 1 or line . find ( 'void MemoryDataLayer<Dtype>::LayerSetUp' ) != - 1 or line . find ( 'void WindowDataLayer<Dtype>::LayerSetUp' ) != - 1 ) : error ( filename , linenum , 'caffe/data_layer_setup' , 2 , 'Except the base classes, Caffe DataLayer should define' + ' DataLayerSetUp instead of LayerSetUp. The base DataLayers' + ' define common SetUp steps, the subclasses should' + ' not override them.' ) ix = line . find ( 'DataLayer<Dtype>::DataLayerSetUp' ) if ix >= 0 and ( line . find ( 'void Base' ) == - 1 and line . find ( 'void DataLayer<Dtype>::DataLayerSetUp' ) == - 1 and line . find ( 'void ImageDataLayer<Dtype>::DataLayerSetUp' ) == - 1 and line . find ( 'void MemoryDataLayer<Dtype>::DataLayerSetUp' ) == - 1 and line . find ( 'void WindowDataLayer<Dtype>::DataLayerSetUp' ) == - 1 ) : error ( filename , linenum , 'caffe/data_layer_setup' , 2 , 'Except the base classes, Caffe DataLayer should define' + ' DataLayerSetUp instead of LayerSetUp. The base DataLayers' + ' define common SetUp steps, the subclasses should' + ' not override them.' )