- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TF_TString_Copy (0.14 sec)
-
tensorflow/c/c_api_test.cc
// Create the string-Tensor "attribute" value. const char test_string[] = "borkborkborkborkborkborkborkbork"; // >24bytes to force heap alloc TF_TString tstr[1]; TF_TString_Init(&tstr[0]); TF_TString_Copy(&tstr[0], test_string, sizeof(test_string) - 1); auto deallocator = [](void* data, size_t len, void* arg) {}; unique_tensor_ptr t_in(TF_NewTensor(TF_STRING, nullptr, 0, &tstr[0],
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 97K bytes - Viewed (0)