- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for flag (0.15 sec)
-
tensorflow/c/experimental/filesystem/modular_filesystem_test.cc
} // namespace tensorflow // Due to the usages of flags for this manual test, we need a special `main` to // ensure our flags are parsed properly as `testing::InitGoogleTest` silently // ignores other flags. Furthermore, we need this to ensure that the DSO is // loaded exactly once, if provided. GTEST_API_ int main(int argc, char** argv) { const std::vector<tensorflow::Flag> flag_list = {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 20:25:58 GMT 2022 - 71K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
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); ASSERT_TRUE(status.ok()) << status.message(); // Convert back to a C++ Tensor and ensure we get expected output.
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3)