Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Oneflow-Inc/oneflow
/ size
Method
size
oneflow/extension/python/numpy.h:33–33 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
31
void* data() const { return internal_->data(); }
32
33
size_t size() const { return internal_->size(); }
34
35
private:
36
std::shared_ptr<numpy::NumPyArrayInternal> internal_;
Callers
5
MakePyInputs
Function · 0.45
GetPyOutputs
Function · 0.45
PyCompute
Function · 0.45
OFShapeToNumpyShape
Function · 0.45
OFStrideToNumpyStride
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected