| 72 | } |
| 73 | |
| 74 | Scope 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 | |
| 82 | Scope::Impl::Impl(const Scope& other, Tags::ScopeName, const string& name, |
| 83 | bool copy_names) |
nothing calls this directly
no test coverage detected