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