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

Function PrintArrayShape

tensorflow/lite/toco/tooling_util.cc:1844–1851  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1842}
1843
1844void PrintArrayShape(Model* model, const string& name) {
1845 if (!model->GetArray(name).has_shape()) {
1846 LOG(INFO) << name << " has no shape";
1847 return;
1848 }
1849 LOG(INFO) << name
1850 << " has shape: " << ShapeToString(model->GetArray(name).shape());
1851}
1852
1853bool IsArrayFullyConnectedWeights(const Model& model, const string& name) {
1854 bool is_fc_weights = false;

Callers

nothing calls this directly

Calls 3

has_shapeMethod · 0.80
ShapeToStringFunction · 0.70
shapeMethod · 0.45

Tested by

no test coverage detected