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

Method DebugString

euler/core/framework/tensor_shape.h:92–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90 }
91
92 std::string DebugString() const {
93 std::string ret = "[";
94 for (size_t i = 0; i < dims_.size(); ++i) {
95 if (i != 0) {
96 ret += ", ";
97 }
98 ret += std::to_string(dims_[i]);
99 }
100 ret += "]";
101 return ret;
102 }
103
104 private:
105 void ComputeNumElements() {

Callers 4

AllocateMethod · 0.45
AsyncComputeMethod · 0.45
SetUpMethod · 0.45
TEST_FFunction · 0.45

Calls 1

sizeMethod · 0.45

Tested by 3

AsyncComputeMethod · 0.36
SetUpMethod · 0.36
TEST_FFunction · 0.36