Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
295
size_t HeaderData::nbytes() const {
296
return type_info ? type_info->size() * size() : 0_uz;
297
}
298
299
Tensor<CPUBackend> ReadTensor(InputStream *src, bool pinned) {
300
numpy::HeaderData header;
Callers
1
ReadTensor
Function · 0.45
Calls
2
size
Function · 0.50
size
Method · 0.45
Tested by
no test coverage detected