- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TF_OperationGetAttrValueProto (0.41 sec)
-
tensorflow/c/c_test_util.cc
return ret; } bool GetAttrValue(TF_Operation* oper, const char* attr_name, tensorflow::AttrValue* attr_value, TF_Status* s) { TF_Buffer* buffer = TF_NewBuffer(); TF_OperationGetAttrValueProto(oper, attr_name, buffer, s); bool ret = TF_GetCode(s) == TF_OK; if (ret) ret = attr_value->ParseFromArray(buffer->data, buffer->length); TF_DeleteBuffer(buffer); return ret; }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Fri Oct 15 03:16:52 UTC 2021 - 17.8K bytes - Viewed (0)