Exemplo n.º 1
0
 def __init__(self,
              array: np.ndarray,
              dtype: np.dtype,
              sequence_dim: int = 0,
              padding_value: int = 0) -> None:
     ArrayField.__init__(self, array=array, padding_value=padding_value)
     self._dtype = dtype
     self._sequence_dim = sequence_dim
Exemplo n.º 2
0
 def __init__(self,
              array: np.ndarray,
              dtype: np.dtype,
              sequence_dim: int = 0,
              padding_value: int = 0) -> None:
     # pylint: disable=super-init-not-called
     ArrayField.__init__(self, array, padding_value=padding_value)
     self._dtype = dtype
     self._sequence_dim = sequence_dim