- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TF_SetAttrValueProto (0.2 sec)
-
tensorflow/c/eager/c_api_experimental.h
TF_Status* status); // Set an op's attribute from a serialized AttrValue protocol buffer. // // Analogous to TF_SetAttrValueProto for building graph operations. TF_CAPI_EXPORT extern void TFE_OpSetAttrValueProto(const TFE_Op* op, const char* attr_name,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Feb 21 22:37:46 UTC 2024 - 39.5K bytes - Viewed (0) -
tensorflow/c/c_api.cc
Tensor v; status->status = TF_TensorToTensor(values[i], &v); t.emplace_back(v); } if (status->status.ok()) desc->node_builder.Attr(attr_name, t); } void TF_SetAttrValueProto(TF_OperationDescription* desc, const char* attr_name, const void* proto, size_t proto_len, TF_Status* status) { tensorflow::AttrValue attr_value;
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
tensorflow::AttrValue attr; for (const string& v : list) { attr.mutable_list()->add_s(v); } string bytes; attr.SerializeToString(&bytes); TF_SetAttrValueProto(desc, tensorflow::kColocationAttrName, bytes.data(), bytes.size(), s_); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); } void VerifyCollocation(TF_Operation* op,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 97K bytes - Viewed (0)