- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for readInt (0.2 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc
} auto begin = data.begin(); if (offset > pos) { // The block begins before the slice we're reading. begin += offset - pos; } auto end = data.end(); if (pos + data.size() > offset + n) { // The block extends past the end of the slice we're reading. end -= (pos + data.size()) - (offset + n); } if (begin < end) { size_t bytes_to_copy = end - begin;
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) -
ci/official/utilities/get_versions.sh
# by whitespace. The flag "-F<x>" changes the behavior such that fields are now strings # separated by the character <x>. Therefore, -F\' (escaped single quote) means that field # $2 in <Tensor'flow'> is <flow>. This is useful for reading string literals like below. export TF_VER_SUFFIX=$(awk -F\" '/#define TF_VERSION_SUFFIX/ {print $2}' tensorflow/core/public/version.h) export TF_VER_PYTHON=$(awk -F\' '/_VERSION =/ {print $2}' tensorflow/tools/pip_package/setup.py)
Shell Script - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jan 10 19:39:41 GMT 2024 - 2.3K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc
fetcher); std::vector<char> out; // Reading the first 16 bytes should be fine. TF_EXPECT_OK(ReadCache(&cache, "", 0, block_size, &out)); EXPECT_TRUE(first_block); EXPECT_EQ(out.size(), block_size); // Reading at offset file_size + 4 will read the second block (since the read
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) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
namespace tf_random_access_file { using ReadFn = std::function<int64_t(const std::string& path, uint64_t offset, size_t n, char* buffer, TF_Status* status)>; typedef struct GCSFile { const std::string path; const bool is_cache_enable; const uint64_t buffer_size; ReadFn read_fn; absl::Mutex buffer_mutex;
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) -
RELEASE.md
* Introduced API `tf.saved_model.experimental.read_fingerprint(export_dir)` for reading the fingerprint of a SavedModel. * `tf.random` * Added non-experimental aliases for `tf.random.split` and `tf.random.fold_in`, the experimental endpoints are still available so no code changes are necessary.
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Mon Apr 29 19:17:57 GMT 2024 - 727.7K bytes - Viewed (8) -
tensorflow/c/c_api_experimental.cc
return {}; } const auto& fdef_lib = gdef.library(); if (fdef_lib.gradient_size() > 0) { status->status = tensorflow::errors::Internal( "GradientDef is not supported in reading Dataset related functions: ", text_proto); return {}; } std::vector<UniqueFuncPtr> ret; for (const FunctionDef& fdef : fdef_lib.function()) { // Make a copy so that we can mutate it.
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 29.4K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental_reader.h
// test(); // int64_t value = TFE_MonitoringReadCounter1(reader, "label-value"); // Opaque handle to a reader. typedef struct TFE_MonitoringCounterReader TFE_MonitoringCounterReader; // Returns a handle to be used for reading values from streamz counter. The // counter can have been created with any number of labels. TF_CAPI_EXPORT extern TFE_MonitoringCounterReader* TFE_MonitoringNewCounterReader(const char* name);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 20 03:14:47 GMT 2023 - 2.3K bytes - Viewed (0)