- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for fakefs (0.31 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc
TF_EXPECT_OK(ReadCache(&cache, "a", 8, 1, &out)); EXPECT_EQ(calls, 3); // Advance the fake timestamp so that "a" becomes stale via its first block. env->SetNowSeconds(now + 2); // The pruning thread periodically compares env->NowSeconds() with the oldest // block's timestamp to see if it should evict any files. At the current fake // timestamp of `now` + 2, file "a" is stale because its first block is stale,
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/eager/unified_api_testutil.h
Status CreateParamsForInputs(AbstractContext* ctx, absl::Span<AbstractTensorHandle* const> inputs, std::vector<AbstractTensorHandle*>* params); // A callable that takes tensor inputs and returns zero or more tensor outputs. using Model = std::function<Status(AbstractContext*, absl::Span<AbstractTensorHandle* const>,
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Feb 27 13:57:45 GMT 2024 - 4K bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.usertools/aarch64.bazelrc
# installed into a virtual environment, and then that venv is used to run all # bazel tests with a special flag "--define=no_tensorflow_py_deps=true", which # drops all the bazel dependencies for each py_test; this makes all the tests # use the wheel's TensorFlow installation instead of the one made available # through bazel. This must be done in a different root directory, //bazel_pip/...,
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Nov 21 12:25:39 GMT 2023 - 5.8K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
opts = TF_NewImportGraphDefOptions(); TF_ImportGraphDefOptionsSetPrefix(opts, "imported"); TF_ImportGraphDefOptionsAddInputMapping(opts, "scalar", 0, {scalar, 0}); TF_ImportGraphDefOptionsAddInputMapping(opts, "fake", 0, {scalar, 0}); tensorflow::GraphDef graph_def_proto; ASSERT_TRUE(tensorflow::ParseProtoUnlimited(&graph_def_proto, graph_def->data, graph_def->length));
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) -
ci/official/containers/linux_arm64/devel.usertools/squash_testlogs.py
r._elem.remove(testsuite._elem) if len(r) > 0: # pylint: disable=g-explicit-length-test result += r # Insert the number of failures for each test to help identify flakes # need to clarify for shard for p in result._elem.xpath(".//error | .//failure"): key = re.sub(r"0x\w+", "", p.getparent().get("name", "")) + p.text p.text = runfiles_matcher.sub("[testroot]/", p.text)
Python - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Sep 18 19:00:37 GMT 2023 - 4.8K bytes - Viewed (0) -
tensorflow/c/experimental/grappler/grappler_test.cc
std::unique_ptr<SingleMachine> cluster(new SingleMachine(5 * 60, 3, 0)); TF_ASSERT_OK(cluster->Provision()); TrivialTestGraphInputYielder fake_input(4, 1, 10, false, cluster->GetDeviceNames()); GrapplerItem item; CHECK(fake_input.NextItem(&item)); TF_Status* status = TF_NewStatus(); TF_GraphProperties* graph_properties =
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Thu Apr 13 22:30:58 GMT 2023 - 11.6K bytes - Viewed (0) -
ci/official/upload.sh
# "/path/bar". This script uses "gsutil rsync" instead, which acts on directory # contents. About arguments to gsutil: # "gsutil -m rsync" runs in parallel. # "gsutil rsync -r" is recursive and makes directories work. # "gsutil rsync -d" is "sync and delete files from destination if not present in source" DOWNLOADS="$(mktemp -d)" mkdir -p "$DOWNLOADS" gsutil -m rsync -r "$TFCI_ARTIFACT_STAGING_GCS_URI" "$DOWNLOADS"
Shell Script - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jan 24 20:52:12 GMT 2024 - 2.8K bytes - Viewed (0) -
tensorflow/c/c_api.h
// .Attr("N: int >= 2") // .Attr("T: type"); // that defines two inputs, "concat_dim" and "values" (in that order). // You must use TF_AddInput() for the first input (since it takes a // single tensor), and TF_AddInputList() for the second input (since // it takes a list, even if you were to pass a list with a single // tensor), as in: // TF_OperationDescription* desc = TF_NewOperation(graph, "Concat", "c");
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Viewed (3) -
tensorflow/c/env.h
// // The given param (which may be null) is passed to work_func when the thread // starts. In this way, data may be passed from the thread back to the caller. // // Caller takes ownership of the result and must call TF_JoinThread on it // eventually. TF_CAPI_EXPORT extern TF_Thread* TF_StartThread(const TF_ThreadOptions* options, const char* thread_name,
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sat Jan 09 02:53:27 GMT 2021 - 9.6K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.h
// The devices operations run on. const std::vector<std::string>& underlying_devices() const { return underlying_devices_; } // Takes a description of a single operation being executed on the // ParallelDevice, and in turn runs one operation per component device with // its corresponding inputs from the input ParallelTensors. Wraps the
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 25 15:21:13 GMT 2023 - 12.9K bytes - Viewed (0)