- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for EXPECT_FLOAT_EQ (0.07 sec)
-
tensorflow/c/c_api_test.cc
EXPECT_TF_META("v", -1, TF_ATTR_FLOAT, -1); float value; TF_OperationGetAttrFloat(oper, "v", &value, s_); EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); EXPECT_FLOAT_EQ(2.718, value); } TEST_F(CApiAttributesTest, FloatList) { const float list[] = {1.414, 2.718, 3.1415}; const size_t list_size = TF_ARRAYSIZE(list); auto desc = init("list(float)");
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 97K bytes - Viewed (0)