- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for IsNeg (0.04 sec)
-
tensorflow/c/c_test_util.h
bool IsPlaceholder(const tensorflow::NodeDef& node_def); bool IsScalarConst(const tensorflow::NodeDef& node_def, int v); bool IsAddN(const tensorflow::NodeDef& node_def, int n); bool IsNeg(const tensorflow::NodeDef& node_def, const string& input); bool GetGraphDef(TF_Graph* graph, tensorflow::GraphDef* graph_def); bool GetNodeDef(TF_Operation* oper, tensorflow::NodeDef* node_def);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Aug 09 01:06:53 UTC 2018 - 6K bytes - Viewed (0) -
tensorflow/c/c_test_util.cc
} else if (attr.first == "N") { if (attr.second.i() == n) { found_n = true; } else { return false; } } } return found_t && found_n; } bool IsNeg(const tensorflow::NodeDef& node_def, const string& input) { return node_def.op() == "Neg" && node_def.name() == "neg" && node_def.input_size() == 1 && node_def.input(0) == input; }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Fri Oct 15 03:16:52 UTC 2021 - 17.8K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); // Serialize to NodeDef. NodeDef node_def; ASSERT_TRUE(GetNodeDef(neg, &node_def)); // Validate NodeDef is what we expect. EXPECT_TRUE(IsNeg(node_def, "add")); // Serialize to GraphDef. GraphDef graph_def2; ASSERT_TRUE(GetGraphDef(graph, &graph_def2)); // Compare with first GraphDef + added NodeDef.
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 97K bytes - Viewed (0)