- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 49 for variable (0.16 sec)
-
ci/official/requirements_updater/updater_config_repository.bzl
''' Repository rule to set some environment variables. Can be set via build parameter "--repo_env=<VARIABLE_NAME>=<value>" e.g "--repo_env=REQUIREMENTS_FILE_NAME=requirements.in" List of variables: REQUIREMENTS_FILE_NAME ''' def _updater_config_repository_impl(repository_ctx): repository_ctx.file("BUILD", "") requirements_file_name = repository_ctx.os.environ.get("REQUIREMENTS_FILE_NAME", "requirements.in") repository_ctx.file(
Others - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 31 18:17:57 GMT 2023 - 718 bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h
// MakeCleanup(f) returns an RAII cleanup object that calls 'f' in its // destructor. The easiest way to use MakeCleanup is with a lambda argument, // capturing the return value in an 'auto' local variable. Most users will not // need more sophisticated syntax than that. // // Example: // void func() { // FILE* fp = fopen("data.txt", "r"); // if (fp == nullptr) return;
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 09 11:16:00 GMT 2020 - 3.4K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_testlib.cc
// Create a variable handle (uninitialized to start) placed on the parallel // device. std::function<void(Variable*)> variable_deleter = [&](Variable* to_delete) { to_delete->Destroy(context, status.get()); ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); delete to_delete; }; std::unique_ptr<Variable, decltype(variable_deleter)> variable(
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Jun 15 15:44:44 GMT 2021 - 12.5K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_testlib.h
namespace tensorflow { namespace parallel_device { // A helper for performing common operations on variables. A much more // restricted stand-in for tf.Variable in Python. class Variable { public: // Construct a Variable from a resource-dtype TFE_TensorHandle and an // indication of the dtype of the variable's value. // // Note that creating this resource-dtype handle can fail, so `Create` is a
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Feb 09 01:12:35 GMT 2021 - 6.9K bytes - Viewed (0) -
ci/official/utilities/setup.sh
# variables in it, OR may be left empty if the user has already exported the # relevant variables in their environment. Because of 'set -o allexport' above # (which is equivalent to "set -a"), every variable in the file is exported # for other files to use. # # Separately, if TFCI is set *and* there are also additional TFCI_ variables
Shell Script - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Jan 26 00:33:34 GMT 2024 - 5.2K bytes - Viewed (1) -
tensorflow/c/eager/c_api_test_util.h
// Create a variable handle with name `variable_name` on a device with name // `device_name`. TFE_TensorHandle* CreateVarHandle(TFE_Context* ctx, const tensorflow::string& device_name, const tensorflow::string& variable_name); // Create a variable with value `value` and name `variable_name` on a device // with name `device_name`.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Jul 17 23:43:59 GMT 2023 - 7.7K bytes - Viewed (0) -
tensorflow/c/experimental/next_pluggable_device/c_api.cc
tensorflow::Var* variable; cc_status = tensorflow::LookupResource(cc_ctx, handle, &variable); return new TF_VariableInfo(index, handle.name(), variable); } void TF_LockVariableInfos(TF_VariableInfo** vars, int num_vars, TF_Status* status) { std::vector<tensorflow::VariableInfo*> variable_ptrs; variable_ptrs.reserve(num_vars); for (int i = 0; i < num_vars; ++i) {
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Tue Jan 09 00:52:04 GMT 2024 - 13.9K bytes - Viewed (1) -
ci/official/envs/ci_default
# Note: this file gets sourced in utilities/setup.sh, which has "set -u" # (error on undefined variables). This ensures that (a) every TFCI variable # has an explicit default value, and (b) no script can accidentally use a # variable that doesn't exist. Please keep this list in alphabetical order. # # Find usage in scripts with e.g.: # cd ci/official
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Mar 27 21:16:27 GMT 2024 - 2.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api_distributed_test.cc
// other test cases. Define a static variable to switch it on and off. bool GraphErrorInjectionPass::enabled_ = false; // Test to ensure that a registered graph optimization pass is only executed // once (i.e., on the main function side) in running distributed functions. // This test creates a cluster with two workers, create a variable on the
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 23.5K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.cc
ExecutionState::kIdle; // Tells the worker thread that there is new work. tensorflow::condition_variable start_execute_; // The worker thread notifies that work has finished. tensorflow::condition_variable finished_execute_; // Notifies a StartExecute that the previous Join has finished. tensorflow::condition_variable finished_join_; // Temporary state between `StartExecute` and `Join`. //
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)