- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 23 for Lock (0.22 sec)
-
tensorflow/c/c_api.cc
bool ExtendSessionGraphHelper(TF_Session* session, TF_Status* status) { if (session->graph != nullptr) { // Take the graph lock before the session lock to avoid deadlock. This is // safe since session->graph does not change. session->graph->mu.lock(); mutex_lock session_lock(session->mu); const Graph& graph = session->graph->graph; const string& mutation_warning = session->graph->sessions[session];
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 102.3K bytes - Viewed (0) -
ci/official/wheel_test/update_requirements.sh
# Create the requirements_wheel_test.in file echo "tensorflow @ file://localhost/$TENSORFLOW_WHEEL_PATH" > requirements_wheel_test.in # Create the requirements_lock file REQUIREMENTS_LOCK_FILE="requirements_lock_${PYTHON_VERSION}.txt" touch "$REQUIREMENTS_LOCK_FILE" ### Update the requirements_lock file bazel run --experimental_convenience_symlinks=ignore --repo_env=REQUIREMENTS_FILE_NAME=requirements_wheel_test.in //:requirements_${PYTHON_VERSION}.update
Shell Script - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 31 18:17:57 GMT 2023 - 1.9K bytes - Viewed (0) -
ci/official/requirements_updater/release_updater.sh
# if there is a change in requirements.in then all lock files will be updated # accordingly. mv BUILD.bazel BUILD SUPPORTED_VERSIONS=("3_9" "3_10" "3_11" "3_12") for VERSION in "${SUPPORTED_VERSIONS[@]}" do cp ../../../requirements_lock_"$VERSION".txt "requirements_lock_"$VERSION".txt" bazel run \ --experimental_convenience_symlinks=ignore \ --enable_bzlmod=false \
Shell Script - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 15:05:45 GMT 2024 - 1.3K bytes - Viewed (0) -
ci/official/requirements_updater/README.md
``` compile_pip_requirements_3_11( name = "requirements_3_11", extra_args = ["--allow-unsafe"], requirements_in = "requirements.in", requirements_txt = "requirements_lock_3_11.txt", ) ``` ``` compile_pip_requirements_3_11( name = "requirements_3_11_release", extra_args = [ "--allow-unsafe",
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Jan 23 02:14:00 GMT 2024 - 3.9K bytes - Viewed (1) -
WORKSPACE
) """, ), } pip_parse( name = "pypi", annotations = NUMPY_ANNOTATIONS, python_interpreter_target = interpreter, requirements = "//:requirements_lock_" + TF_PYTHON_VERSION.replace(".", "_") + ".txt", ) load("@pypi//:requirements.bzl", "install_deps") install_deps() # Initialize the TensorFlow repository and all dependencies. #
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Fri Apr 05 22:27:48 GMT 2024 - 3K bytes - Viewed (2) -
tensorflow/c/c_api_experimental.cc
static std::unordered_map<std::string, void*>* loaded_libs = new std::unordered_map<std::string, void*>(); tensorflow::Env* env = tensorflow::Env::Default(); { tensorflow::mutex_lock lock(mu); auto it = loaded_libs->find(library_filename); if (it != loaded_libs->end()) { lib_handle->lib_handle = it->second; } else { status->status =
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) -
ci/official/wheel_test/WORKSPACE
) load("@python//:defs.bzl", "interpreter") load("@rules_python//python:pip.bzl", "pip_parse") pip_parse( name = "pypi", python_interpreter_target = interpreter, requirements = "//:requirements_lock_" + TF_PYTHON_VERSION.replace(".", "_") + ".txt", ) load("@pypi//:requirements.bzl", "install_deps")
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Apr 05 22:27:48 GMT 2024 - 1.9K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
// https://github.com/googleapis/google-cloud-cpp/issues/4482 is done. GCSFile::GCSFile(google::cloud::storage::Client&& gcs_client) : gcs_client(gcs_client), block_cache_lock() { const char* append_mode = std::getenv(kAppendMode); compose = (append_mode != nullptr) && (!strcmp(kAppendMode, append_mode)); uint64_t value; block_size = kDefaultBlockSize;
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) -
tensorflow/c/eager/c_api_unified_experimental_graph.cc
TF_RETURN_IF_ERROR(tensorflow::TensorShapeUtils::MakeShape(dims, shape)); return absl::OkStatus(); } tensorflow::FullTypeDef FullType() const override { const FullTypeDef* ft; mutex_lock l(graph_->mu); graph_->graph.NodeType(output_.oper->node.name(), &ft); if (ft == nullptr) { return FullTypeDef(); } else { return *ft; } } TF_Output output_;
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 12 20:00:09 GMT 2024 - 15.4K bytes - Viewed (1) -
tensorflow/c/eager/parallel_device/parallel_device_lib.cc
std::unique_ptr<Thread> thread_; }; DeviceThread::~DeviceThread() { { tensorflow::mutex_lock l(execution_mutex_); execution_state_ = ExecutionState::kShuttingDown; } start_execute_.notify_one(); } void DeviceThread::AsyncWait(TF_Status* status) { tensorflow::mutex_lock l(execution_mutex_); TFE_ExecutorWaitForAllPendingNodes(executor_.get(), status);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Feb 09 07:47:20 GMT 2024 - 25.4K bytes - Viewed (1)