- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for carlet (0.15 sec)
-
tensorflow/c/c_api_test.cc
TF_TensorDefaultAlignment(), num_bytes)); int64_t dims[] = {2, 3}; bool deallocator_called = false; TF_Tensor* t = TF_NewTensor(TF_FLOAT, dims, 2, values, num_bytes, &Deallocator, &deallocator_called); EXPECT_FALSE(deallocator_called); EXPECT_EQ(TF_FLOAT, TF_TensorType(t)); EXPECT_EQ(2, TF_NumDims(t)); EXPECT_EQ(dims[0], TF_Dim(t, 0));
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/modular_filesystem_test.cc
Status status = env_->CreateDir(dirpath); if (!status.ok()) GTEST_SKIP() << "CreateDir() not supported: " << status; const std::string target_path = GetURIForPath("a_dir/another_dir"); EXPECT_EQ(env_->CreateDir(target_path).code(), Code::OK); status = env_->DeleteDir(target_path); EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::OK); } TEST_P(ModularFileSystemTest, TestDeleteDirectoryDoesNotExist) {
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/eager/c_api_test.cc
ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TFE_DeleteExecutor(executor); } // Following works in async mode since TFE_ContextAsyncClearError was called. TF_SetStatus(status, TF_OK, ""); if (retvals[0] != nullptr) { TFE_DeleteTensorHandle(retvals[0]); } retvals[0] = nullptr; TFE_Execute(matmul2, &retvals[0], &num_retvals, status);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 20:50:20 GMT 2023 - 94.6K bytes - Viewed (1) -
tensorflow/c/experimental/filesystem/filesystem_interface.h
/// won't be registered anymore is if this function gets called by core /// TensorFlow and the `TF_Filesystem*` object is destroyed. However, due to /// registration being done in a static instance of `Env`, the destructor of /// `FileSystem` is never called (see /// https://github.com/tensorflow/tensorflow/issues/27535). In turn, this /// function will never be called. There are plans to refactor registration /// and fix this.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 17:36:54 GMT 2022 - 53.1K bytes - Viewed (0) -
tensorflow/c/c_api_function_test.cc
bool expect_failure = false) { DefineT(num_opers, opers, ToOutput(inputs), ToOutput(outputs), output_names, expect_failure); } // Caller must delete[] the returned value static const char** ToArray(const std::vector<string>& strs) { const char** ptr = nullptr; if (!strs.empty()) { ptr = new const char*[strs.size()];
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) -
tensorflow/BUILD
"@sobol_data//:__subpackages__", "@stablehlo//:__subpackages__", "@tf_runtime//:__subpackages__", "@bazel_tools//:__subpackages__", "@boringssl//:__subpackages__", "@com_github_cares_cares//:__subpackages__", "@com_github_googlecloudplatform_tensorflow_gcp_tools//:__subpackages__", "@com_github_grpc_grpc//:__subpackages__", "@com_google_absl//:__subpackages__",
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 09 18:15:11 GMT 2024 - 53.4K bytes - Viewed (8) -
tensorflow/c/c_api.h
// Set the target in TF_SessionOptions.options. // target can be empty, a single entry, or a comma separated list of entries. // Each entry is in one of the following formats : // "local" // ip:port // host:port TF_CAPI_EXPORT extern void TF_SetTarget(TF_SessionOptions* options, const char* target); // Set the config in TF_SessionOptions.options.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Viewed (3)