Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/FasterTransformer
/ num_bytes
Method
num_bytes
examples/cpp/xlnet/cnpy.h:61–64 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
59
}
60
61
size_t num_bytes() const
62
{
63
return data_holder->size();
64
}
65
66
std::shared_ptr<std::vector<char>> data_holder;
67
std::vector<size_t> shape;
Callers
2
load_the_npy_file
Function · 0.80
load_the_npz_array
Function · 0.80
Calls
1
size
Method · 0.45
Tested by
no test coverage detected