- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for NumElements (0.07 sec)
-
tensorflow/c/c_api_test.cc
Tensor output; ASSERT_EQ(absl::OkStatus(), TF_TensorToTensor(dst, &output)) << line; ASSERT_EQ(src.NumElements(), output.NumElements()) << line; for (int64_t i = 0; i < src.NumElements(); ++i) { ASSERT_EQ(data[i], output.flat<tstring>()(i)) << line; } TF_DeleteTensor(dst); } } TEST(CAPI, TensorEncodeDecodeStrings) { TestEncodeDecode(__LINE__, {});
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 97K bytes - Viewed (0)