- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for test_attr_value (0.08 sec)
-
tensorflow/c/c_api_function_test.cc
EXPECT_EQ(string("Function 'MyFunc' has no attr named 'foo_attr'."), string(TF_Message(s_))); TF_DeleteBuffer(attr_buf); // Set attr tensorflow::AttrValue attr; attr.set_s("test_attr_value"); string bytes; attr.SerializeToString(&bytes); TF_FunctionSetAttrValueProto(func_, "test_attr_name", bytes.data(), bytes.size(), s_);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Jul 20 22:08:54 UTC 2023 - 63.6K bytes - Viewed (0)