Home
last modified time | relevance | path

Searched refs:OpInputPortIdToArgId (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/
Dgraph_view_test.cc52 EXPECT_EQ(OpInputPortIdToArgId(a_node_def, *a_op_def, 0), -1); in TEST_F()
57 EXPECT_EQ(OpInputPortIdToArgId(b_node_def, *b_op_def, 0), 0); in TEST_F()
58 EXPECT_EQ(OpInputPortIdToArgId(b_node_def, *b_op_def, 1), 0); in TEST_F()
59 EXPECT_EQ(OpInputPortIdToArgId(b_node_def, *b_op_def, 2), 0); in TEST_F()
60 EXPECT_EQ(OpInputPortIdToArgId(b_node_def, *b_op_def, 3), -1); in TEST_F()
83 EXPECT_EQ(OpInputPortIdToArgId(b_node_def, *b_op_def, 0), 0); in TEST_F()
84 EXPECT_EQ(OpInputPortIdToArgId(b_node_def, *b_op_def, 1), 1); in TEST_F()
85 EXPECT_EQ(OpInputPortIdToArgId(b_node_def, *b_op_def, 2), 2); in TEST_F()
86 EXPECT_EQ(OpInputPortIdToArgId(b_node_def, *b_op_def, 3), 3); in TEST_F()
87 EXPECT_EQ(OpInputPortIdToArgId(b_node_def, *b_op_def, 4), -1); in TEST_F()
Dgraph_view.cc62 int OpInputPortIdToArgId(const NodeDef& node, const OpDef& op, int port_id) { in OpInputPortIdToArgId() function
Dgraph_view.h44 int OpInputPortIdToArgId(const NodeDef& node, const OpDef& op, int port_id);
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dpin_to_host_optimizer.cc191 const int input_arg_id = OpInputPortIdToArgId(node, *op, port_id); in IsNodeInputPortHostFriendly()