- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for IsScalarConst (0.06 sec)
-
tensorflow/c/c_test_util.cc
} else { return false; } } else if (attr.first == "shape") { found_shape = true; } } return found_dtype && found_shape; } bool IsScalarConst(const tensorflow::NodeDef& node_def, int v) { if (node_def.op() != "Const" || node_def.name() != "scalar") { return false; } bool found_dtype = false; bool found_value = false;Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Sat Oct 04 05:55:32 UTC 2025 - 17.8K bytes - Viewed (1) -
tensorflow/c/c_api_test.cc
bool found_add = false; for (const auto& n : graph_def.node()) { if (IsPlaceholder(n)) { EXPECT_FALSE(found_placeholder); found_placeholder = true; } else if (IsScalarConst(n, 3)) { EXPECT_FALSE(found_scalar_const); found_scalar_const = true; } else if (IsAddN(n, 2)) { EXPECT_FALSE(found_add); found_add = true; } else {
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Mon Nov 17 00:00:38 UTC 2025 - 97K bytes - Viewed (0)