Searched refs:new_enter (Results 1 – 1 of 1) sorted by relevance
230 NodeDef* new_enter = optimized_graph_->add_node(); in HandleInvariantNode() local231 new_enter->set_op("Enter"); in HandleInvariantNode()232 new_enter->set_device(node->device()); in HandleInvariantNode()233 new_enter->set_name(AddPrefixToNodeName( in HandleInvariantNode()237 new_enter->mutable_attr()->insert({"T", data_type}); in HandleInvariantNode()240 new_enter->mutable_attr()->insert({"frame_name", frame_name}); in HandleInvariantNode()243 new_enter->mutable_attr()->insert({"is_constant", is_const}); in HandleInvariantNode()246 new_enter->mutable_attr()->insert( in HandleInvariantNode()248 new_enter->add_input(consumer->input(i)); in HandleInvariantNode()249 *consumer->mutable_input(i) = new_enter->name(); in HandleInvariantNode()[all …]