MCPcopy 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

MakePyInputsFunction · 0.45
GetPyOutputsFunction · 0.45
PyComputeFunction · 0.45
OFShapeToNumpyShapeFunction · 0.45
OFStrideToNumpyStrideFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected