ewoksdata.data.hdf5.config.shape_to_nbytes

ewoksdata.data.hdf5.config.shape_to_nbytes(shape, dtype)[source]
Parameters:
  • shape (Tuple[NewType()(StrictPositiveIntegral, Integral)]) –

  • dtype (Union[dtype[Any], None, type[Any], _SupportsDType[dtype[Any]], str, tuple[Any, int], tuple[Any, Union[SupportsIndex, Sequence[SupportsIndex]]], list[Any], _DTypeDict, tuple[Any, Any]]) –

Return type:

int