class_docstr: An abstract class representing input/output representations.
docstr: Initialize the representation based on a numpy array.
  
  Parameters
  ----------
  input_array
      Numpy array.
  ctx
      MXNet context.
docstr_tok: ["Initialize","the","representation","based","on","a","numpy","array",".","Parameters","--","--","--","--","--","input_array","Numpy","array",".","ctx","MXNet","context","."]
code: def initialize_from_array(
      self,
      input_array: np.ndarray,
      ctx: mx.Context = get_mxnet_context(),
  ):
      r"""
      Initialize the representation based on a numpy array.
  
      Parameters
      ----------
      input_array
          Numpy array.
      ctx
          MXNet context.
      """
      pass
  
file_path: gluonts/src/gluonts/mx/representation/representation.py
imports: from typing import List, Optional, Tuple
  import mxnet
  import numpy
  from mxnet.gluon import nn
  from gluonts.core.component import validated
  from gluonts.dataset.common import Dataset
  from gluonts.mx import Tensor
  from gluonts.mx.context import get_mxnet_context
label_desc: Use image node_id 3 for calling the Representation obj's underlying member method code with example usage: obj.initialize_from_array(input_array, ctx) without return types