- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for TFE_OpSetAttrValueProto (0.26 seconds)
-
tensorflow/c/eager/c_api.cc
tensorflow::unwrap(value)), static_cast<size_t>(num_values)}); if (!s.ok()) { LOG(WARNING) << "Unable to set attribute: " << attr_name; } } void TFE_OpSetAttrValueProto(const TFE_Op* op, const char* attr_name, const void* proto, size_t proto_len, TF_Status* status) { tensorflow::AttrValue attr_value;Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Nov 07 05:55:21 GMT 2025 - 43.9K bytes - Click Count (0) -
tensorflow/c/eager/c_api_test.cc
TFE_Op* var_op_2 = TFE_NewOp(ctx, "VarHandleOp", status); string serialized_dtype; ASSERT_TRUE(name_and_attrs.attr().find("dtype")->second.SerializeToString( &serialized_dtype)); TFE_OpSetAttrValueProto( var_op_2, "dtype", reinterpret_cast<const void*>(serialized_dtype.c_str()), serialized_dtype.length(), status); CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 09 05:56:18 GMT 2025 - 94.6K bytes - Click Count (0)