MCPcopy 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

49int64_t Shape::elem_cnt() const { return shape_->elem_cnt(); }
50
51int64_t Shape::At(int64_t index) const { return shape_->At(index); }
52
53void Shape::Set(int64_t index, int64_t val) { shape_->Set(index, val); }
54

Callers 8

PyTensorObject_sizeFunction · 0.45
TensorSize_NewFromShapeFunction · 0.45
RecursiveParseAndAssignFunction · 0.45
ParseArrayToTensorFunction · 0.45
BuildGraphMethod · 0.45
ForwardFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 3

ForwardFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36