- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for true (0.18 sec)
-
tensorflow/c/c_api_function_test.cc
EXPECT_EQ(op_def.input_arg_size(), 0); EXPECT_EQ(op_def.output_arg_size(), 1); EXPECT_TRUE(op_def.is_stateful()); TF_DeleteBuffer(buffer); } void AssertEqual(TF_Function* f1, TF_Function* f2) { string s1, s2; tensorflow::FunctionDef fdef1, fdef2; ASSERT_TRUE(GetFunctionDef(f1, &fdef1)); ASSERT_TRUE(GetFunctionDef(f2, &fdef2)); SerializeToStringDeterministic(fdef1, &s1);
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 20 22:08:54 GMT 2023 - 63.6K bytes - Viewed (6) -
tensorflow/c/c_api_test.cc
found_scalar_const = true; } else if (IsAddN(n, 2)) { EXPECT_FALSE(found_add); found_add = true; } else { ADD_FAILURE() << "Unexpected NodeDef: " << n.DebugString(); } } EXPECT_TRUE(found_placeholder); EXPECT_TRUE(found_scalar_const); EXPECT_TRUE(found_add); // Add another oper to the graph. TF_Operation* neg = Neg(add, graph, s);
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3) -
tensorflow/c/eager/c_api_test.cc
ASSERT_TRUE(TF_GetCode(status) == TF_OK) << TF_Message(status); const char* device_name = TFE_OpGetDevice(matmul, status); ASSERT_TRUE(strstr(device_name, "GPU:0") != nullptr); TFE_OpSetDevice(matmul, "CPU:0", status); ASSERT_TRUE(TF_GetCode(status) == TF_OK) << TF_Message(status); device_name = TFE_OpGetDevice(matmul, status); ASSERT_TRUE(strstr(device_name, "CPU:0") != nullptr); }
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 20:50:20 GMT 2023 - 94.6K bytes - Viewed (1) -
tensorflow/c/experimental/filesystem/modular_filesystem_test.cc
} TEST_P(ModularFileSystemTest, TestFilesExistsNoFiles) { const std::vector<std::string> filenames = {}; EXPECT_TRUE(env_->FilesExist(filenames, /*status=*/nullptr)); std::vector<Status> statuses; EXPECT_TRUE(env_->FilesExist(filenames, &statuses)); EXPECT_TRUE(statuses.empty()); } TEST_P(ModularFileSystemTest, TestStatEmptyFile) { const std::string filepath = GetURIForPath("a_file");
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri May 27 20:25:58 GMT 2022 - 71K bytes - Viewed (0)