class_docstr: Convert images to tensor.
  
  Convert a list of images of shape (H x W x C) in the range
  [0, 255] to a float32 tensor of shape (C x H x W) in
  the range [0, 1).
  
  Parameters
  ----------
  max_intensity : float
      The maximum intensity value to be divided in order to fit the output tensor
      in the range [0, 1).
  
  Inputs:
      - **data**: a list of frames with shape [H x W x C] and uint8 type
  
  Outputs:
      - **out**: a list of frames with shape [C x H x W] and float32 type
class_docstr_tok: ["Convert","images","to","tensor",".","Convert","a","list","of","images","of","shape","(","H","x","W","x","C",")","in","the","range","[","0",",","255","]","to","a","float32","tensor","of","shape","(","C","x","H","x","W",")","in","the","range","[","0",",","1",")",".","Parameters","--","--","--","--","--","max_intensity",":","float","The","maximum","intensity","value","to","be","divided","in","order","to","fit","the","output","tensor","in","the","range","[","0",",","1",")",".","Inputs",":","-","*","*","data","*","*",":","a","list","of","frames","with","shape","[","H","x","W","x","C","]","and","uint8","type","Outputs",":","-","*","*","out","*","*",":","a","list","of","frames","with","shape","[","C","x","H","x","W","]","and","float32","type"]
code: def __init__(self, max_intensity=255.0):
      super(VideoToTensor, self).__init__()
      self.max_intensity = max_intensity
  
imports: from __future__ import division
  import random
  import math
  import numbers
  import numpy
  from mxnet.gluon import Block
label_desc: Use image node_id 1 to create a new VideoToTensor object from inherited base classes: Block with example: obj = VideoToTensor(max_intensity)