Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Oneflow-Inc/oneflow
/ At
Method
At
oneflow/api/cpp/framework/shape.cpp:51–51 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
49
int64_t Shape::elem_cnt() const { return shape_->elem_cnt(); }
50
51
int64_t Shape::At(int64_t index) const { return shape_->At(index); }
52
53
void Shape::Set(int64_t index, int64_t val) { shape_->Set(index, val); }
54
Callers
8
PyTensorObject_size
Function · 0.45
TensorSize_NewFromShape
Function · 0.45
RecursiveParseAndAssign
Function · 0.45
ParseArrayToTensor
Function · 0.45
BuildGraph
Method · 0.45
Forward
Function · 0.45
TEST
Function · 0.45
TEST
Function · 0.45
Calls
no outgoing calls
Tested by
3
Forward
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36