- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for mock (0.15 sec)
-
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 23 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 23 12:39:09 GMT 2024 - Last Modified: Fri Apr 05 22:27:48 GMT 2024 - 1.9K 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 23 12:39:09 GMT 2024 - Last Modified: Thu Aug 31 18:17:57 GMT 2023 - 1.9K 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 23 12:39:09 GMT 2024 - Last Modified: Tue Jan 23 02:14:00 GMT 2024 - 3.9K bytes - Viewed (0) -
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 Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Apr 05 22:27:48 GMT 2024 - 3K bytes - Viewed (2) -
requirements_lock_3_11.txt
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1712896733 +0000
Plain Text - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Apr 12 04:38:53 GMT 2024 - 43.8K 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 23 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 15:05:45 GMT 2024 - 1.3K 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 23 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 23 12:39:09 GMT 2024 - Last Modified: Tue Mar 12 20:00:09 GMT 2024 - 15.4K bytes - Viewed (1) -
tensorflow/c/c_api_function_test.cc
ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); TF_DeleteFunction(grad_func); const StackTracesMap* func_stack_traces; const StackTracesMap* grad_stack_traces; { mutex_lock l(host_graph_->mu); auto flib_def = host_graph_->graph.flib_def(); func_stack_traces = flib_def.GetStackTraces(func_name_); grad_stack_traces = flib_def.GetStackTraces("MyGrad"); }
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 20 22:08:54 GMT 2023 - 63.6K bytes - Viewed (6)