- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 37 for into (8.47 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc
TF_SetStatus(status, TF_OK, ""); return 0; } if (!IsCacheEnabled() || (n > max_bytes_)) { // The cache is effectively disabled, so we pass the read through to the // fetcher without breaking it up into blocks. return block_fetcher_(filename, offset, n, buffer, status); } // Calculate the block-aligned start and end of the read. size_t start = block_size_ * (offset / block_size_);
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_Tensor* result_tensor = TFE_TensorHandleResolve(result_t, status.get()); // Copy Tensor data into an array. float result_data[4] = {0}; memcpy(&result_data[0], TF_TensorData(result_tensor), TF_TensorByteSize(result_tensor)); int data_len = 4; // length of result_data for (int i = 0; i < data_len; i++) { EXPECT_EQ(result_data[i], 0); } TF_DeleteTensor(result_tensor);
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/plugins/gcs/ram_file_block_cache_test.cc
// fill the cache, and the loop with i = 1 should be all cache hits. The // fetcher checks that it is called once and only once for each offset (to // fetch the corresponding block). for (int i = 0; i < 2; i++) { for (int j = 0; j < block_count; j++) { TF_EXPECT_OK(ReadCache(&cache, "", block_size * j, block_size, &out)); } } } TEST(RamFileBlockCacheTest, OutOfRange) {
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/containers/linux_arm64/devel.usertools/code_check_full.bats
EOF # Get the full list of files and targets which get included into the pip # package bazel query --keep_going 'deps(//tensorflow/tools/pip_package:build_pip_package)' | sort -u > $BATS_TEST_TMPDIR/pip_deps # Find all Python py_test targets not tagged "no_pip" or "manual", excluding # any targets in ignored packages. Combine this list of targets into a bazel # query list (e.g. the list becomes "target+target2+target3")
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Mon Sep 18 14:52:45 GMT 2023 - 12.7K bytes - Viewed (0) -
CONTRIBUTING.md
initiates CI/CD tests. - We can't move forward if these tests fail. - In such situations, we may request you to make further changes to your PR for the tests to pass. - Once the tests pass, we now bring all the code into the internal code base, using a job called "copybara". **5. Copy to Google Internal codebase and run internal CI** - Once the PR is in the Google codebase, we make sure it integrates well with
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Thu Mar 21 11:45:51 GMT 2024 - 15.6K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_context.h
// code that is layered on top of the runtime. virtual bool UsesTFRT() = 0; // List attributes of available devices virtual void ListDevices(std::vector<DeviceAttributes>* devices) = 0; // Add `devices` into context's device manager. Context's device manager // will take ownership and maintain devices' lifetime. virtual Status AddDevices(std::vector<std::unique_ptr<Device>> devices) = 0;
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 06 08:34:00 GMT 2023 - 12.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.h
// otherwise be the name of this custom device. Ops are placed onto a custom // device if any of their inputs are on that custom device, but custom devices // are free to set a bad status in order to require explicit placement. void (*execute)(const TFE_Op* op, int* num_outputs, TFE_TensorHandle** outputs, TF_Status* s, void* device_info); // Method to delete a device.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem.cc
// Step 3: Call `TF_InitPlugin` TF_FilesystemPluginInfo info; memset(&info, 0, sizeof(info)); auto TF_InitPlugin = reinterpret_cast<int (*)(TF_FilesystemPluginInfo*)>(dso_symbol); TF_InitPlugin(&info); // Step 4: Do the actual registration return filesystem_registration::RegisterFilesystemPluginImpl(&info); }
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) -
ci/official/utilities/code_check_full.bats
EOF # Get the full list of files and targets which get included into the pip # package bazel cquery --keep_going 'deps(//tensorflow/tools/pip_package:wheel)' | sort -u > $BATS_TEST_TMPDIR/pip_deps # Find all Python py_test targets not tagged "no_pip" or "manual", excluding # any targets in ignored packages. Combine this list of targets into a bazel # query list (e.g. the list becomes "target+target2+target3")
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Mar 06 21:54:13 GMT 2024 - 13.2K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device.cc
// // Since this function is used to satisfy the TFE_CustomDevice C API, // device_info is passed in using a C-style generic. It must always be a // ParallelDevice. void DeleteParallelDevice(void* device_info) { delete reinterpret_cast<NamedParallelDevice*>(device_info); } } // namespace void AllocateParallelDevice(const char* device_name,
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Mar 29 22:05:31 GMT 2023 - 18.3K bytes - Viewed (0)