parameters: (self, src_format='NHWC', dst_format='NCHW')
docstring: Initialize DataFormatDimMap.
docstring_summary: Initialize DataFormatDimMap.
docstring_tokens: Initialize DataFormatDimMap .
function: def __init__(self, src_format='NHWC', dst_format='NCHW'):
          """Initialize DataFormatDimMap."""
          valid_values = ['NHWC', 'NCHW']
          self.src_format = validator.check_string(src_format, valid_values, "src_format", self.name)
          self.dst_format = validator.check_string(dst_format, valid_values, "dst_format", self.name)
          self.init_prim_io_names(inputs=['input_x'], outputs=['output'])
function_tokens: def __init__ ( self , src_format = 'NHWC' , dst_format = 'NCHW' ) : valid_values = [ 'NHWC' , 'NCHW' ] self . src_format = validator . check_string ( src_format , valid_values , "src_format" , self . name ) self . dst_format = validator . check_string ( dst_format , valid_values , "dst_format" , self . name ) self . init_prim_io_names ( inputs = [ 'input_x' ] , outputs = [ 'output' ] )