class_docstr: The layer that extracts a set of pixel sequences along the specified 
  coordinates from a set of two-dimensional images.
  
  :param input_layer: The input layer and the number of its output. If no number
      is specified, the first output will be connected.
  :type input_layer: list of object, tuple(object, int)
  :param name: The layer name.
  :type name: str, default=None
      
  .. rubric:: Layer inputs:
  
  (1) a set of two-dimensional images.
      The blob dimensions:
  
      - **BatchLength** is 1
      - **BatchWidth** is the number of sequences in the set
      - **ListSize** 1
      - **Height** is the images' height
      - **Width** is the images' width
      - **Depth** is 1
      - **Channels** is the number of channels the image format uses
  
  (2) a blob with integer data that contains the pixel sequences.
      The dimensions:
  
      - **BatchWidth** is the same as for the first input
      - **ListSize** is the length of each sequence
      - all other dimensions are 1
  
  .. rubric:: Layer outputs:
  
  (1) a blob with the pixel sequences.
      The dimensions:
  
      - **BatchLength** is 1
      - **BatchWidth** is the inputs' **BatchWidth**
      - **ListSize** is the same as for the second input
      - **Height**, **Width**, **Depth** are 1
      - **Channels** is the same as for the first input
class_docstr_tok: ["The","layer","that","extracts","a","set","of","pixel","sequences","along","the","specified","coordinates","from","a","set","of","two-dimensional","images",".",":","param","input_layer",":","The","input","layer","and","the","number","of","its","output",".","If","no","number","is","specified",",","the","first","output","will","be","connected",".",":","type","input_layer",":","list","of","object",",","tuple","(","object",",","int",")",":","param","name",":","The","layer","name",".",":","type","name",":","str",",","default=None","..","rubric",":",":","Layer","inputs",":","(","1",")","a","set","of","two-dimensional","images",".","The","blob","dimensions",":","-","*","*","BatchLength","*","*","is","1","-","*","*","BatchWidth","*","*","is","the","number","of","sequences","in","the","set","-","*","*","ListSize","*","*","1","-","*","*","Height","*","*","is","the","images","'","height","-","*","*","Width","*","*","is","the","images","'","width","-","*","*","Depth","*","*","is","1","-","*","*","Channels","*","*","is","the","number","of","channels","the","image","format","uses","(","2",")","a","blob","with","integer","data","that","contains","the","pixel","sequences",".","The","dimensions",":","-","*","*","BatchWidth","*","*","is","the","same","as","for","the","first","input","-","*","*","ListSize","*","*","is","the","length","of","each","sequence","-","all","other","dimensions","are","1","..","rubric",":",":","Layer","outputs",":","(","1",")","a","blob","with","the","pixel","sequences",".","The","dimensions",":","-","*","*","BatchLength","*","*","is","1","-","*","*","BatchWidth","*","*","is","the","inputs","'","*","*","BatchWidth","*","*","-","*","*","ListSize","*","*","is","the","same","as","for","the","second","input","-","*","*","Height","*","*",",","*","*","Width","*","*",",","*","*","Depth","*","*","are","1","-","*","*","Channels","*","*","is","the","same","as","for","the","first","input"]
code: def __init__(self, input_layer, name=None):
      if type(input_layer) is PythonWrapper.ImageToPixel:
          super().__init__(input_layer)
          return
  
      layers, outputs = check_input_layers(input_layer, 2)
  
      internal = PythonWrapper.ImageToPixel(
          str(name),
          layers[0],
          layers[1],
          int(outputs[0]),
          int(outputs[1]),
      )
      super().__init__(internal)
  
file_path: neoml/NeoML/Python/neoml/Dnn/ImageConversion.py
imports: import neoml.PythonWrapper
  from .Dnn import Layer
  from neoml.Utils import check_input_layers
label_desc: Use image node_id 1 to create a new ImageToPixel object from inherited base classes: Layer with example: obj = ImageToPixel(input_layer, name)