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

Method mutable_shape

tensorflow/lite/toco/model.h:2242–2247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2240 return *array_shape;
2241 }
2242 Shape* mutable_shape() {
2243 if (!array_shape) {
2244 array_shape.reset(new Shape);
2245 }
2246 return array_shape.get();
2247 }
2248 void copy_shape(const Shape& src_shape) { *mutable_shape() = src_shape; }
2249 void clear_shape() { array_shape = nullptr; }
2250

Callers 15

TESTFunction · 0.45
TESTFunction · 0.45
RunCppShapeInferenceImplFunction · 0.45
ResolveModelFlagsFunction · 0.45
CreateInt32ArrayFunction · 0.45
UseArraysExtraInfoFunction · 0.45
ImportFloatArrayFunction · 0.45
ImportComplex64ArrayFunction · 0.45
ImportQuint8ArrayFunction · 0.45
ImportInt32ArrayFunction · 0.45
ImportInt64ArrayFunction · 0.45

Calls 2

resetMethod · 0.45
getMethod · 0.45

Tested by 9

TESTFunction · 0.36
TESTFunction · 0.36
PrepareModelMethod · 0.36
RunResolveSumFunction · 0.36
CreateArrayMethod · 0.36
CreateArrayMethod · 0.36
RunIdentifyL2PoolFunction · 0.36