- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 53 for Kirsty (0.18 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc
// incomplete reads may still go undetected. if (block->data.size() < block_size_) { Key fmax = std::make_pair(key.first, std::numeric_limits<size_t>::max()); auto fcmp = block_map_.upper_bound(fmax); if (fcmp != block_map_.begin() && key < (--fcmp)->first) { return TF_SetStatus(status, TF_INTERNAL, "Block cache contents are inconsistent."); } } Trim();
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/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc
TEST(RamFileBlockCacheTest, OutOfRange) { // Tests reads of a 24-byte file with block size 16. const size_t block_size = 16; const size_t file_size = 24; bool first_block = false; bool second_block = false; auto fetcher = [block_size, file_size, &first_block, &second_block]( const string& filename, size_t offset, size_t n, char* buffer, TF_Status* status) -> int64_t {
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/bisect.sh
# build configuration. You must set the following variables to control this # script: # # TF_BISECT_GOOD: Last known good commit (e.g. commit from the last passing job) # TF_BISECT_BAD: First bad commit (e.g. commit from the first failing job) # TF_BISECT_SCRIPT: The build script path relative to the TF root dir, e.g. # ci/official/wheel.sh # TFCI: The env config path, relative to the TF root dir, e.g.
Shell Script - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 01 03:21:19 GMT 2024 - 1.8K bytes - Viewed (0) -
tensorflow/c/checkpoint_reader.cc
if (!v2_reader_->status().ok()) { tsl::Set_TF_Status_from_Status(status, v2_reader_->status()); return; } auto result = BuildV2VarMaps(); var_to_shape_map_.swap(result.first); var_to_data_type_map_.swap(result.second); } else { reader_.reset(new TensorSliceReader(filename)); if (!reader_->status().ok()) { tsl::Set_TF_Status_from_Status(status, reader_->status());
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Aug 25 21:29:12 GMT 2023 - 5.5K bytes - Viewed (0) -
ci/official/wheel_test/README.md
The test doesn't identify package's order-dependent issues; for instance, importing "tf.foo" followed by "tf.bar" won't reveal that "tf.bar" depends on "tf.foo" being imported first. The `_api/v2/api_packages.txt` file is generated during the TensorFlow API v2 init files creation process and is subsequently stored in the wheel file after
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 31 18:17:57 GMT 2023 - 3.3K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache_test.cc
// Define a new cache with max_age > 0 and verify correct behavior. tf_gcs_filesystem::ExpiringLRUCache<int> cache2(2, 4); num_compute_calls = 0; value = -1; // Read our first value cache2.LookupOrCompute("a", &value, compute_func, &status); TF_EXPECT_OK(status.status); EXPECT_EQ(value, 0); EXPECT_EQ(num_compute_calls, 1); // Re-read, exepct no additional function compute_func calls.
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/eager/c_api_unified_experimental_test.cc
ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); auto* arg1 = TF_AddFunctionParameter(graph_ctx, TF_FLOAT, {-1, nullptr}, s); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); // Create a first "Add" computing `arg0 + arg1`. TF_AbstractTensor* add_output1; { // Build an abstract operation, inputs and output. auto* add_op = TF_NewAbstractOp(graph_ctx); TF_AbstractOpSetOpType(add_op, "Add", s);
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_experimental_test.cc
TFE_ContextSetExecutorForThread(ctx, executor); TFE_DeleteExecutor(executor); TFE_DeleteContext(ctx); } TF_DeleteStatus(status); } TEST(CAPI, Function_ident_CPU) { // First create a simple identity function. TF_Graph* function_graph = TF_NewGraph(); TF_OperationDescription* arg_descr = TF_NewOperation(function_graph, "Placeholder", "arg"); TF_SetAttrType(arg_descr, "dtype", TF_INT32);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 03:14:26 GMT 2023 - 31.5K bytes - Viewed (1) -
tensorflow/c/c_api_test.cc
// Validate NodeDef is what we expect. EXPECT_TRUE(IsNeg(node_def, "add")); // Serialize to GraphDef. GraphDef graph_def2; ASSERT_TRUE(GetGraphDef(graph, &graph_def2)); // Compare with first GraphDef + added NodeDef. NodeDef* added_node = graph_def.add_node(); *added_node = node_def; EXPECT_EQ(graph_def.DebugString(), graph_def2.DebugString()); // Look up some nodes by name.
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
FileSystem* fs = nullptr; Status s = env_->GetFileSystemForFile(generic_path, &fs); if (fs == nullptr || !s.ok()) GTEST_SKIP() << "No filesystem registered: " << s; // First, test some interesting corner cases concerning empty URIs if (GetParam().empty()) { EXPECT_EQ(fs->TranslateName(""), ""); EXPECT_EQ(fs->TranslateName("/"), "/"); EXPECT_EQ(fs->TranslateName("//"), "/");
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 20:25:58 GMT 2022 - 71K bytes - Viewed (0)