- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 48 for ENV (0.14 sec)
-
tensorflow/c/env.h
#ifndef TENSORFLOW_C_ENV_H_ #define TENSORFLOW_C_ENV_H_ #include <stdbool.h> #include <stddef.h> #include <stdint.h> #include "tensorflow/c/c_api_macros.h" #include "tensorflow/c/tf_file_statistics.h" #include "tensorflow/c/tf_status.h" // -------------------------------------------------------------------------- // C API for tensorflow::Env. #ifdef __cplusplus extern "C" { #endif
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/env.cc
return ::tensorflow::Env::Default()->NowNanos(); } // Returns the number of microseconds since the Unix epoch. TF_CAPI_EXPORT extern uint64_t TF_NowMicros(void) { return ::tensorflow::Env::Default()->NowMicros(); } // Returns the number of seconds since the Unix epoch. TF_CAPI_EXPORT extern uint64_t TF_NowSeconds(void) { return ::tensorflow::Env::Default()->NowSeconds(); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 11 01:20:50 GMT 2021 - 7K bytes - Viewed (0) -
tensorflow/c/env_test.cc
See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ #include "tensorflow/c/env.h" #include "tensorflow/c/c_api.h" #include "tensorflow/core/lib/io/path.h" #include "tensorflow/core/platform/mutex.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/platform/types.h"
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Dec 10 20:52:48 GMT 2018 - 4.2K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache_test.cc
#include "tensorflow/core/platform/cloud/now_seconds_env.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace { TEST(ExpiringLRUCacheTest, MaxAge) { const string key = "a"; std::unique_ptr<NowSecondsEnv> env(new NowSecondsEnv); tf_gcs_filesystem::ExpiringLRUCache<int> cache( 1, 0, [&env]() { return env->NowSeconds(); }); env->SetNowSeconds(1);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 09 19:31:22 GMT 2020 - 7.1K bytes - Viewed (0) -
ci/official/bisect.sh
# TF_BISECT_SCRIPT: The build script path relative to the TF root dir, e.g. # ci/official/wheel.sh # TFCI: The env config path, relative to the TF root dir, e.g. # ci/official/envs/an_env_config # # Note that you can combine bisect.sh with any.sh to bisect a single test: # # export TFCI=... # export TF_BISECT_SCRIPT=ci/official/any.sh
Shell Script - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Thu Feb 01 03:21:19 GMT 2024 - 1.8K bytes - Viewed (0) -
configure
#!/usr/bin/env bash set -e set -o pipefail if [ -z "$PYTHON_BIN_PATH" ]; then PYTHON_BIN_PATH=$(which python3 || which python || true) fi # Set all env variables CONFIGURE_DIR=$(dirname "$0") "$PYTHON_BIN_PATH" "${CONFIGURE_DIR}/configure.py" "$@"
Shell Script - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sun Apr 12 14:04:24 GMT 2020 - 285 bytes - Viewed (1) -
ci/official/containers/linux_arm64/devel.usertools/aarch64.bazelrc
# the CACHEBUSTER to the PR number. build --action_env=CACHEBUSTER=20220325 # Use Python 3.X as installed in container image build --action_env PYTHON_BIN_PATH="/usr/local/bin/python3" build --python_path="/usr/local/bin/python3" # Build TensorFlow v2 build --define=tf_api_version=2 --action_env=TF2_BEHAVIOR=1 # Prevent double-compilation of some TF code, ref. b/183279666 (internal)
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Tue Nov 21 12:25:39 GMT 2023 - 5.8K bytes - Viewed (0) -
ci/official/envs/linux_x86_cuda
# ============================================================================== source ci/official/envs/linux_x86 TFCI_BAZEL_COMMON_ARGS="--repo_env=TF_PYTHON_VERSION=$TFCI_PYTHON_VERSION --config release_gpu_linux" TFCI_BAZEL_TARGET_SELECTING_CONFIG_PREFIX=linux_cuda TFCI_BUILD_PIP_PACKAGE_ARGS="--repo_env=WHEEL_NAME=tensorflow" TFCI_DOCKER_ARGS="--gpus all" TFCI_LIB_SUFFIX="-gpu-linux-x86_64"
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Jan 19 00:24:30 GMT 2024 - 1K bytes - Viewed (0) -
ci/official/envs/rbe
# TFCI_BAZEL_TARGET_SELECTING_CONFIG_PREFIX. "Available" means there is # an entry in tensorflow/.bazelrc for build:rbe_TFCI_BAZEL_TARGET... # ^^^^ # This env is only valid when RBE is available on the selected platform, since # it enables a derived --config setting. If RBE is not available (i.e. there # is no --config setting), bazel would fail and quit. This script does a quick
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jan 10 19:39:41 GMT 2024 - 2K bytes - Viewed (0) -
tensorflow/c/checkpoint_reader.cc
// Depending on whether this is a V2 ckpt, initializes "reader_" or // "v2_reader_". std::vector<string> v2_path; if (Env::Default()->GetMatchingPaths(MetaFilename(filename), &v2_path).ok() && !v2_path.empty()) { v2_reader_.reset( new BundleReader(Env::Default(), filename /* prefix to a V2 ckpt */)); if (!v2_reader_->status().ok()) { tsl::Set_TF_Status_from_Status(status, v2_reader_->status());
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Aug 25 21:29:12 GMT 2023 - 5.5K bytes - Viewed (0)