class_docstr: normalize values at `index`
code: def __init__(
      self,
      dataloader,
      index,
      source_range=[0.0, 255.0],
      target_range=[0.0, 1.0],
      *args,
      **kwargs,
  ):
      super(ValueNormalize, self).__init__(
          dataloader, index=index, *args, **kwargs
      )
      source_range = np.asarray(source_range)
      target_range = np.asarray(target_range)
      self.xmin = self.be.array(source_range[0])
      self.xspan = self.be.array(source_range[1] - source_range[0])
      self.ymin = self.be.array(target_range[0])
      self.yspan = self.be.array(target_range[1] - target_range[0])
  
imports: from __future__ import division
  import numpy
  from neon import NervanaObject
label_desc: Use image node_id 1 to create a new ValueNormalize object from inherited base classes: DataLoaderTransformer with example: obj = ValueNormalize(dataloader, index, source_range, target_range)