- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for dialed (0.3 sec)
-
tensorflow/c/c_api.cc
values[i] = TF_NewBuffer(); status->status = MessageToBuffer(attr->list().shape(i), values[i]); if (!status->status.ok()) { // Delete everything allocated to far, the operation has failed. for (int j = 0; j <= i; ++j) { TF_DeleteBuffer(values[j]); } return; } } } void TF_OperationGetAttrTensor(TF_Operation* oper, const char* attr_name,
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 102.3K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc
return; } struct stat st; fstat(fd, &st); if (S_ISDIR(st.st_mode)) { TF_SetStatus(status, TF_FAILED_PRECONDITION, "path is a directory"); } else { const void* address = mmap(nullptr, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0); if (address == MAP_FAILED) { TF_SetStatusFromIOError(status, errno, path); } else { region->plugin_memory_region =
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Sun Mar 24 20:08:23 GMT 2024 - 15.8K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc
EXPECT_NE(TF_GetCode(status.get()), TF_CANCELLED); EXPECT_EQ(TF_GetCode(status.get()), TF_INVALID_ARGUMENT); EXPECT_THAT(TF_Message(status.get()), HasSubstr("assertion failed")); // Note that future collectives with the same context do not work at the // moment; once canceled, the collective executor requires the program to be // restarted / context to be reset. }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 08 23:47:35 GMT 2021 - 15.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_cluster_test.cc
TFE_ContextUpdateServerDef(ctx, 0, serialized_update.data(), serialized_update.size(), status); EXPECT_NE(TF_OK, TF_GetCode(status)) << TF_Message(status); // Even after the prevoiusly failed cluster update, another update and op // execution should work fine as long as the provided server_def is valid. TFE_ContextUpdateServerDef(ctx, 0, serialized.data(), serialized.size(), status);
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/experimental/grappler/grappler_test.cc
TF_SetStatus(status, TF_OK, ""); PopulateDefaultParam(params); params->device_type = nullptr; }; tensorflow::Status status = InitGraphPlugin(plugin_init); ASSERT_EQ(status.code(), tensorflow::error::FAILED_PRECONDITION); ASSERT_EQ( status.message(), "'device_type' field in TP_OptimizerRegistrationParams must be set."); } TEST(Grappler, OptimizeFuncNotSet) {
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Thu Apr 13 22:30:58 GMT 2023 - 11.6K bytes - Viewed (0) -
tensorflow/c/eager/c_api_distributed_test.cc
TEST(CAPI, DistributedFunctionNoError) { TestDistributedFunctionCancellation(false); } // TODO(b/170399182): Update test once an alternative to using the function // optimization hook is in place. TEST(CAPI, DISABLED_DistributedFunctionCancelledOnError) { TestDistributedFunctionCancellation(true); } void TestRemoteExecuteDeleteContextWithOutstandingRPC(bool async) { tensorflow::ServerDef server_def = GetServerDef(2);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 23.5K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc
const std::string file = io::JoinPath(dir, "DeleteDirFile.csv"); WriteString(file, "test"); ASSERT_TF_OK(status_); tf_gcs_filesystem::DeleteDir(filesystem_, dir.c_str(), status_); EXPECT_EQ(TF_GetCode(status_), TF_FAILED_PRECONDITION); TF_SetStatus(status_, TF_OK, ""); tf_gcs_filesystem::DeleteFile(filesystem_, file.c_str(), status_); EXPECT_TF_OK(status_); tf_gcs_filesystem::DeleteDir(filesystem_, dir.c_str(), status_);
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Aug 31 12:04:23 GMT 2020 - 24.9K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_test.cc
TensorHandlePtr cpu_value(FloatTensorHandle(3., status.get())); ASSERT_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get()); // Copying on to a parallel device must be explicit. TensorHandlePtr failed_copy_on_result(TFE_TensorHandleCopyToDevice( cpu_value.get(), context.get(), device_name, status.get())); EXPECT_EQ(TF_GetCode(status.get()), TF_UNIMPLEMENTED);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 08 23:47:35 GMT 2021 - 29.3K bytes - Viewed (1) -
tensorflow/c/experimental/filesystem/modular_filesystem_test.cc
std::unique_ptr<WritableFile> new_file; status = env_->NewWritableFile(filepath, &new_file); EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::FAILED_PRECONDITION); } TEST_P(ModularFileSystemTest, TestCreateFilePathIsInvalid) { const std::string filepath = GetURIForPath("a_file"); std::unique_ptr<WritableFile> file;
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/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc
EXPECT_FALSE(second_block); EXPECT_EQ(out.size(), file_size - block_size); } TEST(RamFileBlockCacheTest, Inconsistent) { // Tests the detection of interrupted reads leading to partially filled blocks // where we expected complete blocks. const size_t block_size = 16; // This fetcher returns OK but only fills in one byte for any offset.
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:57 GMT 2021 - 23.2K bytes - Viewed (0)