docstr: Load embeddings from numpy array.
  
  Parameters
  ----------
  emb_array : numpy.array  or torch.tensor
      Embedding array in numpy array or torch.tensor
docstr_tok: ["Load","embeddings","from","numpy","array",".","Parameters","--","--","--","--","--","emb_array",":","numpy.array","or","torch.tensor","Embedding","array","in","numpy","array","or","torch.tensor"]
code: def load_emb(self, emb_array):
      """Load embeddings from numpy array.
  
      Parameters
      ----------
      emb_array : numpy.array  or torch.tensor
          Embedding array in numpy array or torch.tensor
      """
      if isinstance(emb_array, np.ndarray):
          self.emb = mx.nd.array(emb_array)
      else:
          self.emb = emb_array
  
imports: import os
  import numpy
  import mxnet
  from mxnet import gluon
  from mxnet import ndarray
  from .score_fun import *
  from ..None import *
label_desc: Use image node_id 3 for calling the InferEmbedding obj's underlying member method code with example usage: obj.load_emb(emb_array) without return types