- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for foo_attr (0.04 sec)
-
tensorflow/c/c_api_function_test.cc
// Get non existent attribute TF_Buffer* attr_buf = TF_NewBuffer(); TF_FunctionGetAttrValueProto(func_, "foo_attr", attr_buf, s_); EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_)); EXPECT_EQ(string("Function 'MyFunc' has no attr named 'foo_attr'."), string(TF_Message(s_))); TF_DeleteBuffer(attr_buf); // Set attr tensorflow::AttrValue attr;
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Jul 20 22:08:54 UTC 2023 - 63.6K bytes - Viewed (0)