def test_graph_instance(self): g = Graph.get_default() self.assertIs(g, self.graph) node = F.raw_input([], [0]) g = node.graph() self.assertIs(g, self.graph)
def test_graph_instance(self): g = Graph.get_default() self.assertIs(g, self.graph) node = F.input([0], Shape([])) g = node.graph() self.assertIs(g, self.graph)