- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 55 for samp (0.17 sec)
-
tensorflow/c/experimental/filesystem/modular_filesystem_test.cc
std::unique_ptr<WritableFile> same_file; status = env_->NewAppendableFile(filepath, &same_file); if (!status.ok()) GTEST_SKIP() << "NewAppendableFile() not supported: " << status; const std::string more_test_data("qwer"); EXPECT_EQ(same_file->Append(more_test_data).code(), Code::OK); EXPECT_EQ(same_file->Flush().code(), Code::OK); EXPECT_EQ(same_file->Close().code(), Code::OK);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 20:25:58 GMT 2022 - 71K bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.usertools/aarch64.bazelrc
test --test_timeout=500,900,-1,-1 # Give only the list of failed tests at the end of the log test --test_summary=short # "nonpip" tests are regular py_test tests. # Pass --config=nonpip to run the same suite of tests. If you want to run just # one test for investigation, you don't need --config=nonpip; just run the # bazel test invocation as normal.
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Nov 21 12:25:39 GMT 2023 - 5.8K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache_test.cc
int value = -1; TF_Status status; cache1.LookupOrCompute("a", &value, compute_func, &status); TF_EXPECT_OK(status.status); EXPECT_EQ(value, 0); EXPECT_EQ(num_compute_calls, 1); // re-read the same value, expect another lookup cache1.LookupOrCompute("a", &value, compute_func, &status); TF_EXPECT_OK(status.status); EXPECT_EQ(value, 1); EXPECT_EQ(num_compute_calls, 2);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 09 19:31:22 GMT 2020 - 7.1K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc
lru_list_.erase(block->lru_iterator); lru_list_.push_front(key); block->lru_iterator = lru_list_.begin(); } // Check for inconsistent state. If there is a block later in the same file // in the cache, and our current block is not block size, this likely means // we have inconsistent state within the cache. Note: it's possible some // incomplete reads may still go undetected.
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 16 01:39:09 GMT 2020 - 11.1K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_test.cc
TF_DeleteAbstractOp(add_op); // Extract the resulting tensor. add_output1 = TF_OutputListGet(add_outputs, 0); TF_DeleteOutputList(add_outputs); } // Same with a second "Add" computing `arg1 + arg1`. TF_AbstractTensor* add_output2; { // Build an abstract operation, inputs and output. auto* add_op = TF_NewAbstractOp(graph_ctx);
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/eager/c_api_test.cc
if (TF_GetCode(status.get()) != TF_OK) { ADD_FAILURE() << tag << " -- " << TF_Message(status.get()); continue; } // Copy from device to the same device. TFE_TensorHandle* hdevice2 = TFE_TensorHandleCopyToDevice(hdevice, ctx, name.c_str(), status.get()); if (TF_GetCode(status.get()) != TF_OK) {
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/c_api_test.cc
ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); EXPECT_EQ(2, num_dims); EXPECT_EQ(2, returned_dims[0]); EXPECT_EQ(3, returned_dims[1]); // Try to set 'unknown' with same rank on the shape and see that // it doesn't change. dims[0] = -1; dims[1] = -1; TF_GraphSetTensorShape(graph, feed_out_0, dims, 2, s); EXPECT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
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/ram_file_block_cache_test.cc
// respective reads finish (which happens once they are all concurrently being // executed, or 10 seconds have passed). } TEST(RamFileBlockCacheTest, CoalesceConcurrentReads) { // Concurrent reads to the same file blocks should be de-duplicated. const size_t block_size = 16; int num_requests = 0; Notification notification; auto fetcher = [&num_requests, ¬ification, block_size](
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) -
ci/official/requirements_updater/WORKSPACE
) # buildifier: disable=same-origin-load load("@rules_python//python:repositories.bzl", "py_repositories") py_repositories() load("@rules_python//python:repositories.bzl", "python_register_multi_toolchains") # buildifier: disable=same-origin-load load("@rules_python//python/pip_install:repositories.bzl", "pip_install_dependencies")
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Apr 05 22:12:56 GMT 2024 - 1.6K bytes - Viewed (1) -
tensorflow/c/c_api_macros_internal.h
#include "tensorflow/core/platform/status.h" // Macro to verify that the field `struct_size` of STRUCT_OBJ is initialized. // `struct_size` is used for struct member compatibility check between core TF // and plug-ins with the same C API minor version. More info here: // https://github.com/tensorflow/community/blob/master/rfcs/20200612-stream-executor-c-api/C_API_versioning_strategy.md #define TF_VALIDATE_STRUCT_SIZE(STRUCT_NAME, STRUCT_OBJ, SIZE_VALUE_NAME) \
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Mar 13 17:40:56 GMT 2023 - 2.5K bytes - Viewed (0)