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

Method DisabledShapeInferenceScope

tensorflow/cc/framework/scope.cc:74–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74Scope Scope::DisabledShapeInferenceScope() {
75 Graph* graph = new Graph(OpRegistry::Global());
76 ShapeRefiner* refiner =
77 new ShapeRefiner(graph->versions(), graph->op_registry());
78 return Scope(new Impl(graph, new Status, new Impl::NameMap, refiner,
79 /* disable_shape_inference */ true));
80}
81
82Scope::Impl::Impl(const Scope& other, Tags::ScopeName, const string& name,
83 bool copy_names)

Callers

nothing calls this directly

Calls 3

ScopeClass · 0.70
versionsMethod · 0.45
op_registryMethod · 0.45

Tested by

no test coverage detected