- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for re (0.18 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache_test.cc
EXPECT_EQ(num_compute_calls, 5); cache2.LookupOrCompute("d", &value, compute_func, &status); TF_EXPECT_OK(status.status); EXPECT_EQ(value, 3); EXPECT_EQ(num_compute_calls, 5); // Re-read "a", ensure it is re-computed. cache2.LookupOrCompute("a", &value, compute_func, &status); TF_EXPECT_OK(status.status); EXPECT_EQ(value, 5); EXPECT_EQ(num_compute_calls, 6); } TEST(ExpiringLRUCacheTest, Clear) {
C++ - Registered: Tue Apr 23 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
} 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/containers/linux_arm64/devel.usertools/squash_testlogs.py
seen = collections.Counter() runfiles_matcher = re.compile(r"(/.*\.runfiles/)") for f in files.strip().splitlines(): # Just ignore any failures, they're probably not important try: r = JUnitXml.fromfile(f) except Exception as e: # pylint: disable=broad-except print("Ignoring this XML parse failure in {}: ".format(f), str(e)) source_file = re.search( r"/(bazel_pip|tensorflow)/.*", f.decode("utf-8")
Python - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Sep 18 19:00:37 GMT 2023 - 4.8K bytes - Viewed (0) -
ci/official/utilities/extract_resultstore_links.py
import datetime import os import re from typing import Dict, Union import xml.etree.ElementTree as ElemTree ResultDictType = Dict[str, Dict[str, Union[str, int]]] RESULT_STORE_LINK_RE = re.compile( r'^INFO: Streaming build results to: (https://[\w./\-]+)') FAILED_BUILD_LINE = 'FAILED: Build did NOT complete successfully' BUILD_STATUS_LINE = 'INFO: Build'
Python - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Nov 08 17:50:27 GMT 2023 - 10.9K bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats
# only on affected targets, usually. There are targets in //tensorflow/lite that # don't pass --nobuild, so they're on their own. # # Although buildifier checks for formatting as well, "bazel build nobuild" # checks for cross-file issues like bad includes or missing BUILD definitions. # # We can't test on the windows toolchains because they're using a legacy # toolchain format (or something) that specifies the toolchain directly instead
Plain Text - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Sep 18 14:52:45 GMT 2023 - 12.7K bytes - Viewed (0) -
tensorflow/api_template.__init__.py
_tf2.enable() # API IMPORTS PLACEHOLDER # WRAPPER_PLACEHOLDER # Make sure directory containing top level submodules is in # the __path__ so that "from tensorflow.foo import bar" works. # We're using bitwise, but there's nothing special about that. _API_MODULE = _sys.modules[__name__].bitwise _tf_api_dir = _os.path.dirname(_os.path.dirname(_API_MODULE.__file__)) _current_module = _sys.modules[__name__]
Python - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Tue Mar 05 06:27:59 GMT 2024 - 6.7K bytes - Viewed (3) -
ci/official/utilities/code_check_changed_files.bats
} @test "API compatibility test passes, ensuring no unexpected changes to the TF API" { bazel test $TFCI_BAZEL_COMMON_ARGS //tensorflow/tools/api/tests:api_compatibility_test echo "You have to re-generate the TF API goldens and have the API changes reviewed." echo "Look at the instructions for ':api_compatibility_test -- --update_goldens=True'" } teardown_file() { bazel shutdown
Plain Text - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Jan 10 19:39:41 GMT 2024 - 4K bytes - Viewed (0) -
tensorflow/c/c_api_internal.h
std::string getTF_OutputDebugString(TF_Output node); // Set whether to propagate assigned device information when constructing a new // Graph from a GraphDef. By default assigned device information is not copied // and is re-computed by the runtime. inline void TF_ImportGraphDefOptionsSetPropagateDeviceSpec( TF_ImportGraphDefOptions* opts, unsigned char propagate_device_spec) { opts->opts.propagate_device_spec = propagate_device_spec; }
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Sat May 13 00:49:12 GMT 2023 - 7.6K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test.cc
} else { // In sync mode, forwarding can't really happen since the client code will // have a reference count on the input tensor while the kernel is being // executed and thus it cannot be re-used for the return tensor. EXPECT_NE(orig_ptr, TF_TensorData(t)); } } ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TFE_DeleteTensorHandle(m); TFE_DeleteTensorHandle(retval);
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 20:50:20 GMT 2023 - 94.6K bytes - Viewed (1) -
tensorflow/c/eager/parallel_device/parallel_device_lib.h
// allocation/scheduling. // // TODO(allenl): Keep a map from outer thread to list of inner threads rather // than a single list of threads so aliased nested parallel devices don't // re-use a thread. std::vector<std::unique_ptr<DeviceThread>> device_threads_; // A cancellation manager to use if the caller does not provide one. When ops
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Tue Apr 25 15:21:13 GMT 2023 - 12.9K bytes - Viewed (0)