- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for TF_FunctionGetAttrValueProto (0.08 seconds)
-
tensorflow/c/c_api_function_test.cc
ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); } void GetAttr(const char* attr_name, AttrValue* out_attr) { TF_Buffer* attr_buf = TF_NewBuffer(); TF_FunctionGetAttrValueProto(func_, attr_name, attr_buf, s_); ASSERT_TRUE(out_attr->ParseFromArray(attr_buf->data, attr_buf->length)); TF_DeleteBuffer(attr_buf); } const char* func_name_ = "MyFunc";
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Mon Nov 17 00:00:38 GMT 2025 - 63.6K bytes - Click Count (1) -
tensorflow/c/c_api.h
// representation of the value of the `attr_name` attr of `func`. // If `attr_name` attribute is not present, status is set to an error. TF_CAPI_EXPORT extern void TF_FunctionGetAttrValueProto( TF_Function* func, const char* attr_name, TF_Buffer* output_attr_value, TF_Status* status); // Frees the memory used by the `func` struct. // TF_DeleteFunction is a noop if `func` is null.Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Click Count (0)