- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for dispatch (0.21 sec)
-
tensorflow/c/eager/c_api_cluster_test.cc
memcpy(actual_values.get(), TF_TensorData(t), TF_TensorByteSize(t)); TF_DeleteTensor(t); for (int i = 0; i < expected_values.size(); i++) { EXPECT_EQ(expected_values[i], actual_values[i]) << "Mismatch in expected values at (zero-based) index " << i; } } void CheckRemoteMatMulExecutesOK(TFE_Context* ctx, const char* remote_device_name,
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Apr 14 10:03:59 GMT 2023 - 19.3K bytes - Viewed (0) -
tensorflow/c/eager/custom_device_test.cc
executed = false; TFE_Execute(matmul.get(), &retval, &num_retvals, status.get()); EXPECT_FALSE(executed); ASSERT_FALSE(TF_GetCode(status.get()) == TF_OK); // Custom devices can refuse to do type-based dispatch (as hcustom1 is // configured to do) matmul.reset(MatMulOp(context.get(), hcustom1.get(), hcpu.get())); num_retvals = 1; executed = false; TFE_Execute(matmul.get(), &retval, &num_retvals, status.get());
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 27 23:39:24 GMT 2020 - 18.4K bytes - Viewed (0) -
tensorflow/c/eager/custom_device_testutil.cc
bool* arrived_flag; // Set to true whenever an operation is executed bool* executed_flag; // If true, only explicit op placements are accepted. If false, uses // type-based dispatch. bool strict_scope_placement; }; struct LoggedTensor { TFE_TensorHandle* tensor; LoggedTensor() = delete; explicit LoggedTensor(TFE_TensorHandle* tensor) : tensor(tensor) {}
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Mar 03 20:47:31 GMT 2021 - 8.3K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem_test.cc
TEST_P(ModularFileSystemTest, TestCreateDir) { const std::string dirpath = GetURIForPath("a_dir"); Status status = env_->CreateDir(dirpath); EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::OK); } TEST_P(ModularFileSystemTest, TestCreateDirNoParent) { const std::string dirpath = GetURIForPath("dir_not_found/a_dir"); Status status = env_->CreateDir(dirpath); EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::NOT_FOUND);
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/env_test.cc
TF_Status* s = TF_NewStatus(); ::tensorflow::string dirpath = ::tensorflow::io::JoinPath(tempdir, "somedir"); TF_CreateDir(dirpath.c_str(), s); ASSERT_TF_OK(s) << "TF_CreateDir failed for " << dirpath << ": " << TF_Message(s); ::tensorflow::string filepath = ::tensorflow::io::JoinPath(dirpath, "somefile.txt"); TF_WritableFileHandle* handle;
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Dec 10 20:52:48 GMT 2018 - 4.2K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc
TF_RETURN_IF_ERROR(ValidateScheme(info->ops[index].scheme)); TF_RETURN_IF_ERROR(ValidateABI(&info->ops[index])); ValidateAPI(&info->ops[index]); // we just warn on API number mismatch TF_RETURN_IF_ERROR(ValidateOperations(&info->ops[index])); TF_RETURN_IF_ERROR(RegisterFileSystem(info, index)); return OkStatus(); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 07 22:08:43 GMT 2023 - 12.8K bytes - Viewed (0)