- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for DT_STRING (0.12 sec)
-
tensorflow/c/c_api_test.cc
absl::Status status; for (const std::vector<int64_t>& dims : std::vector<std::vector<int64_t>>{{n}, {1, n}, {n, 1}, {n / 2, 2}}) { // Create C++ Tensor Tensor src(tensorflow::DT_STRING, TensorShape(dims)); for (int64_t i = 0; i < src.NumElements(); ++i) { src.flat<tstring>()(i) = data[i]; } TF_Tensor* dst = TF_TensorFromTensor(src, &status);
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/eager/c_api_test.cc
const std::string& func_str = " signature {" " name: 'FunctionWith__OP_NAME__'" " output_arg {" " name: 'out'" " type: DT_STRING" " }" " }" " node_def {" " name: 'error_op'" " op: '__OP_NAME__'" " }" " ret {" " key: 'out'"
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Aug 03 20:50:20 UTC 2023 - 94.6K bytes - Viewed (0)