class_docstr: see also:
      https://www.tensorflow.org/api_docs/python/tf/variance_scaling_initializer
class_docstr_tok: ["see","also",":","https",":","\/\/www.tensorflow.org\/api_docs\/python\/tf\/variance_scaling_initializer"]
docstr: create an instance of the initializer
docstr_tok: ["create","an","instance","of","the","initializer"]
code: def get_instance(args):
      """
      create an instance of the initializer
      """
      scale = float(args.get("scale", 1.0))
      mode = args.get("mode", "fan_in")
      assert mode in ["fan_in", "fan_out", "fan_avg"]
      distribution = args.get("distribution", "normal")
      assert distribution in ["normal", "uniform"]
      return tf.variance_scaling_initializer(
          scale, mode, distribution, seed=SEED
      )
  
imports: import tensorflow
label_desc: Use image node_id 1 for calling the VarianceScaling obj's underlying member method code with example usage: obj.get_instance(args) and returns: tf