We can create a Graph containing a namespaced Op
| 37 | |
| 38 | // We can create a Graph containing a namespaced Op |
| 39 | TEST(AddToGraphTest, MakeGraphDefWithNamespacedOpName) { |
| 40 | OpList op_list; |
| 41 | TF_ASSERT_OK(FinalizeOpDef(OpDefBuilder("Project>SomeOp"), op_list.add_op())); |
| 42 | OpListOpRegistry registry(&op_list); |
| 43 | |
| 44 | GraphDef graph_def; |
| 45 | TF_ASSERT_OK(NodeDefBuilder("node", "Project>SomeOp", ®istry) |
| 46 | .Finalize(graph_def.add_node())); |
| 47 | } |
| 48 | |
| 49 | // Producer and consumer have default for an attr -> graph unchanged. |
| 50 | TEST(RemoveNewDefaultAttrsFromGraphDefTest, NoChangeWithDefault) { |
nothing calls this directly
no test coverage detected