Searched refs:constant_node (Results 1 – 5 of 5) sorted by relevance
406 Node* constant_node; in AddShapeNodeToConstantGraph() local407 CHECK(NodeBuilder(builder).Finalize(constant_graph, &constant_node).ok()); in AddShapeNodeToConstantGraph()408 added.push_back(constant_node); in AddShapeNodeToConstantGraph()522 Node* constant_node; in ReplaceTensorWithConstant() local541 if (!NodeBuilder(builder).Finalize(graph, &constant_node).ok()) { in ReplaceTensorWithConstant()545 graph->AddEdge(constant_node, 0, edge->dst(), edge->dst_input()); in ReplaceTensorWithConstant()549 graph->AddControlEdge(graph->source_node(), constant_node); in ReplaceTensorWithConstant()552 graph->AddControlEdge(node, constant_node); in ReplaceTensorWithConstant()556 constant_node->set_assigned_device_name(partition_device->name()); in ReplaceTensorWithConstant()
45 constant_node = constant_op.constant(1.0, name="constant_node")46 wanted_input_node = math_ops.subtract(constant_node,
1635 if (auto constant_node = in DeltaTest() local1640 current_distance_entry.distance = constant_node->FoldToSingleValue(); in DeltaTest()