- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for foo_attr (0.04 seconds)
-
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(std::string("Function 'MyFunc' has no attr named 'foo_attr'."), std::string(TF_Message(s_))); TF_DeleteBuffer(attr_buf); // Set attr tensorflow::AttrValue attr;
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 07 04:56:09 GMT 2026 - 63.9K bytes - Click Count (1)