class_docstr: Default preprocess block used by GluonCV.
  
  The default preprocess block includes:
  
      - mean [123.675, 116.28, 103.53]
  
      - std [58.395, 57.12, 57.375]
  
      - transpose to (B, 3, H, W)
  
  It is used to transform from resized original images with shape (1, H, W, 3) or (B, H, W, 3)
  in range (0, 255) and RGB color format.
class_docstr_tok: ["Default","preprocess","block","used","by","GluonCV",".","The","default","preprocess","block","includes",":","-","mean","[","123.675",",","116.28",",","103.53","]","-","std","[","58.395",",","57.12",",","57.375","]","-","transpose","to","(","B",",","3",",","H",",","W",")","It","is","used","to","transform","from","resized","original","images","with","shape","(","1",",","H",",","W",",","3",")","or","(","B",",","H",",","W",",","3",")","in","range","(","0",",","255",")","and","RGB","color","format","."]
code: def __init__(self, **kwargs):
      super(_DefaultPreprocess, self).__init__(**kwargs)
      with self.name_scope():
          mean = mx.nd.array([123.675, 116.28, 103.53]).reshape(
              (1, 1, 1, 3)
          )
          scale = mx.nd.array([58.395, 57.12, 57.375]).reshape(
              (1, 1, 1, 3)
          )
          self.init_mean = self.params.get_constant("init_mean", mean)
          self.init_scale = self.params.get_constant(
              "init_scale", scale
          )
  
file_path: gluon-cv/gluoncv/utils/export_helper.py
imports: from __future__ import absolute_import
  import copy
  import mxnet
  from mxnet.base import MXNetError
  from mxnet.gluon import HybridBlock
  from mxnet.gluon import nn
label_desc: Use image node_id 1 to create a new _DefaultPreprocess object from inherited base classes: HybridBlock with example: obj = _DefaultPreprocess()