- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for ages (0.14 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache_test.cc
EXPECT_FALSE(cache.Lookup(key, &value)); } TEST(ExpiringLRUCacheTest, MaxEntries) { // max_age of 0 means nothing will be cached. tf_gcs_filesystem::ExpiringLRUCache<int> cache1(0, 4); cache1.Insert("a", 1); int value = 0; EXPECT_FALSE(cache1.Lookup("a", &value)); // Now set max_age = 1 and verify the LRU eviction logic. tf_gcs_filesystem::ExpiringLRUCache<int> cache2(1, 4); cache2.Insert("a", 1);
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/expiring_lru_cache.h
/// max item age (in seconds) and max entries. /// /// This class is thread safe. template <typename T> class ExpiringLRUCache { public: /// A `max_age` of 0 means that nothing is cached. A `max_entries` of 0 means /// that there is no limit on the number of entries in the cache (however, if /// `max_age` is also 0, the cache will not be populated).
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 09 19:31:22 GMT 2020 - 6.3K bytes - Viewed (0) -
CODE_OF_CONDUCT.md
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to make participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation. ## Our Standards
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Fri Feb 05 18:43:16 GMT 2021 - 5.2K bytes - Viewed (0) -
CONTRIBUTING.md
diff <my_cc_file> /tmp/my_cc_file.cc ``` #### Python coding style Changes to TensorFlow Python code should conform to [Google Python Style Guide](https://github.com/google/styleguide/blob/gh-pages/pyguide.md) Use `pylint` to check your Python changes. To install `pylint` and check a file with `pylint` against TensorFlow's custom style definition: ```bash pip install pylint
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/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
status); }); uint64_t stat_cache_max_age = kStatCacheDefaultMaxAge; size_t stat_cache_max_entries = kStatCacheDefaultMaxEntries; const char* stat_cache_max_age_env = std::getenv(kStatCacheMaxAge); if (stat_cache_max_age_env && absl::SimpleAtoi(stat_cache_max_age_env, &value)) { stat_cache_max_age = value; }
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
mean, var = tf.nn.moments(self.kernel, axes=[0, 1, 2], keepdims=True) return self.convolution_op(inputs, (self.kernel - mean) / tf.sqrt(var + 1e-10))` Alternatively, you can override `convolution_op`: `python class StandardizedConv2D(tf.keras.Layer): def convolution_op(self, inputs, kernel): mean, var = tf.nn.moments(kernel, axes=[0, 1, 2],
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/eager/parallel_device/parallel_device_lib_test.cc
std::move(mixed_handles), status.get()); ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK); // Can't take the shape of a parallel tensor with varying numbers of axes, but // running operations on them is OK. TF_ASSERT_OK(unknown_length_vector->Shape(&shape)); EXPECT_THAT(*shape, ElementsAre(-1)); std::unique_ptr<TFE_Op, decltype(&TFE_DeleteOp)> size_op(
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 08 23:47:35 GMT 2021 - 15.3K bytes - Viewed (0) -
.bazelrc
build --spawn_strategy=standalone build -c opt # Make Bazel print out all options from rc files. build --announce_rc # TODO(mihaimaruseac): Document this option or remove if no longer needed build --define=grpc_no_ares=true # See https://github.com/bazelbuild/bazel/issues/7362 for information on what # --incompatible_remove_legacy_whole_archive flag does. # This flag is set to true in Bazel 1.0 and newer versions. We tried to migrate
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Thu May 02 19:34:20 GMT 2024 - 52.8K bytes - Viewed (2) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h
uint64_t stat_cache_max_age, size_t stat_cache_max_entries); } GCSFile; // This function is used to initialize a filesystem without the need of setting // manually environement variables. void InitTest(TF_Filesystem* filesystem, bool compose, uint64_t block_size, size_t max_bytes, uint64_t max_staleness, uint64_t stat_cache_max_age, size_t stat_cache_max_entries,
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Aug 31 04:37:41 GMT 2020 - 5.2K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_test.cc
context.get(), components, device_name, status.get()); ASSERT_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get()); int num_axes = TFE_TensorHandleNumDims(combined_value.get(), status.get()); ASSERT_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get()); EXPECT_EQ(num_axes, 1); } TEST(PARALLEL_DEVICE, TestNestedParallelDevices) { std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 08 23:47:35 GMT 2021 - 29.3K bytes - Viewed (1)