MCPcopy Create free account
hub / github.com/alibaba/euler / Set

Method Set

euler/core/framework/tensor_shape.h:67–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65 }
66
67 void Set(size_t id, size_t dim) {
68 dims_[id] = dim;
69 ComputeNumElements();
70 }
71
72 size_t operator[](size_t id) const {
73 return dims_[id];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected