MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / GetTensorShape

Function GetTensorShape

tensorflow/lite/kernels/internal/tensor.h:41–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41inline RuntimeShape GetTensorShape(std::vector<int32_t> data) {
42 return RuntimeShape(data.size(), data.data());
43}
44
45// A list of tensors in a format that can be used by kernels like split and
46// concatenation.

Callers 15

TESTFunction · 0.70
VectorOfTensorsMethod · 0.70
PowImplFunction · 0.50
EvalFunction · 0.50
GetOutputShape1Method · 0.50
GetOutputShape2Method · 0.50
GetOutputShape3Method · 0.50
GetOutputShape4Method · 0.50
GetOutputShape1Method · 0.50
GetOutputShape2Method · 0.50
GetOutputShape3Method · 0.50
GetOutputShape4Method · 0.50

Calls 3

RuntimeShapeClass · 0.85
sizeMethod · 0.45
dataMethod · 0.45

Tested by 15

TESTFunction · 0.56
GetOutputShape1Method · 0.40
GetOutputShape2Method · 0.40
GetOutputShape3Method · 0.40
GetOutputShape4Method · 0.40
GetOutputShape1Method · 0.40
GetOutputShape2Method · 0.40
GetOutputShape3Method · 0.40
GetOutputShape4Method · 0.40
GetOutputShapeMethod · 0.40
GetOutputShapeMethod · 0.40
GetOutputShapeMethod · 0.40