MCPcopy Create free account
hub / github.com/NVIDIA/DALI / nbytes

Method nbytes

dali/util/numpy.cc:295–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293}
294
295size_t HeaderData::nbytes() const {
296 return type_info ? type_info->size() * size() : 0_uz;
297}
298
299Tensor<CPUBackend> ReadTensor(InputStream *src, bool pinned) {
300 numpy::HeaderData header;

Callers 1

ReadTensorFunction · 0.45

Calls 2

sizeFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected