| 64 | disable_shape_inference_(refiner_ == nullptr) {} |
| 65 | |
| 66 | Scope Scope::NewRootScope() { |
| 67 | Graph* graph = new Graph(OpRegistry::Global()); |
| 68 | ShapeRefiner* refiner = |
| 69 | new ShapeRefiner(graph->versions(), graph->op_registry()); |
| 70 | return Scope(new Impl(graph, new Status, new Impl::NameMap, refiner, |
| 71 | /* disable_shape_inference */ false)); |
| 72 | } |
| 73 | |
| 74 | Scope Scope::DisabledShapeInferenceScope() { |
| 75 | Graph* graph = new Graph(OpRegistry::Global()); |
nothing calls this directly
no test coverage detected