code: def _load(self, value):
      value = np.asarray(value, dtype=self.dtype)
  
      if (
          not self.required
          and self.shape is not None
          and value.ndim == 0
      ):
          value = np.full(self.shape, value.item())
  
      if self.ndim is not None:
          assert self.ndim == value.ndim
  
      return value
  
imports: from typing import Any, Callable, Optional, Union, Type, Dict
  import numpy
  from gluonts.itertools import partition
  from gluonts.pydantic import parse_obj_as, BaseModel
  from ._freq import Freq
  from ._period import Period
  from ._time_frame import time_frame, TimeFrame
  from ._split_frame import split_frame, SplitFrame
label_desc: Use image node_id 1 for calling the Array obj's underlying member method code with example usage: obj._load(value) and returns: value