- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TF_SetAttrStringList (0.07 sec)
-
tensorflow/c/c_api_test.cc
const std::vector<string>& list) { std::unique_ptr<const void*[]> list_ptrs; std::unique_ptr<size_t[]> list_lens; StringVectorToArrays(list, &list_ptrs, &list_lens); TF_SetAttrStringList(desc, tensorflow::kColocationAttrName, list_ptrs.get(), list_lens.get(), list.size()); } void SetViaProto(TF_OperationDescription* desc,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 97K bytes - Viewed (0) -
tensorflow/c/c_api.cc
const void* value, size_t length) { tensorflow::StringPiece s(static_cast<const char*>(value), length); desc->node_builder.Attr(attr_name, s); } void TF_SetAttrStringList(TF_OperationDescription* desc, const char* attr_name, const void* const* values, const size_t* lengths, int num_values) {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 102.3K bytes - Viewed (0)