- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for Dailey (0.19 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/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/eager/c_api_unified_experimental_test.cc
ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); // This should fail. TF_AbstractOpSetOpType(placeholder_op, "Placeholder", status.get()); ASSERT_EQ(TF_FAILED_PRECONDITION, TF_GetCode(status.get())); TF_DeleteAbstractOp(placeholder_op); TF_DeleteExecutionContext(graph_ctx); } TEST_P(UnifiedCAPI, TF_AbstractOpSetOpNameAfterFinishingOpBuildingRaises) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 19 21:44:52 GMT 2023 - 39.1K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem.cc
// Step 2: Load symbol for `TF_InitPlugin` void* dso_symbol; TF_RETURN_WITH_CONTEXT_IF_ERROR( env->GetSymbolFromLibrary(dso_handle, "TF_InitPlugin", &dso_symbol), "Failed to load TF_InitPlugin symbol for DSO: ", dso_path); // Step 3: Call `TF_InitPlugin` TF_FilesystemPluginInfo info; memset(&info, 0, sizeof(info)); auto TF_InitPlugin =
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Sep 06 19:12:29 GMT 2023 - 23.1K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
EXPECT_EQ(TF_RESOURCE_EXHAUSTED, static_cast<TF_Code>(tensorflow::error::RESOURCE_EXHAUSTED)); EXPECT_EQ(TF_FAILED_PRECONDITION, static_cast<TF_Code>(tensorflow::error::FAILED_PRECONDITION)); EXPECT_EQ(TF_ABORTED, static_cast<TF_Code>(tensorflow::error::ABORTED)); EXPECT_EQ(TF_OUT_OF_RANGE, static_cast<TF_Code>(tensorflow::error::OUT_OF_RANGE));
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) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
bucket, object, "", // Adding this parameter means HTTP_CODE_PRECONDITION_FAILED // will be returned if the object already exists, so avoid reuploading. gcs::IfGenerationMatch(0), gcs::Fields("")); TF_SetStatusFromGCSStatus(metadata.status(), status); if (TF_GetCode(status) == TF_FAILED_PRECONDITION) TF_SetStatus(status, TF_ALREADY_EXISTS, path); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 23 06:55:53 GMT 2023 - 46.9K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc
// Registers filesystem at `index`, if plugin is providing valid information. // // Extracted to a separate function so that pointers inside `info` are freed // by the caller regardless of whether validation/registration failed or not. // // Must be called only with `index` a valid index in `info->ops`. static Status ValidateAndRegisterFilesystems( const TF_FilesystemPluginInfo* info, int index) {
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) -
tensorflow/c/c_api_function_test.cc
for (const EdgeSpec& e : e_edges) { ASSERT_TRUE(a_edges.find(e) != a_edges.end()) << "Failed to find expected edge " << e.ToString() << " in fdef: " << fdef.DebugString(); } for (const EdgeSpec& e : c_edges) { ASSERT_TRUE(a_edges.find(e) != a_edges.end()) << "Failed to find expected control edge " << e.ToString() << " in fdef: " << fdef.DebugString(); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 20 22:08:54 GMT 2023 - 63.6K bytes - Viewed (6)