Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 82 for patch (0.14 sec)

  1. SECURITY.md

    variables from your model are also going to be untrusted. That means that if
    your code interacts with the filesystem, network, etc. and uses checkpointed
    variables as part of those interactions (ex: using a string variable to build a
    filesystem path), a maliciously created checkpoint might be able to change the
    targets of those operations, which could result in arbitrary
    read/write/executions.
    
    ### Running a TensorFlow server
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Sun Oct 01 06:06:35 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_experimental.cc

    #include "tensorflow/c/eager/c_api_experimental.h"
    
    #include <cstdint>
    #include <memory>
    #include <utility>
    #include <vector>
    
    #include "absl/container/flat_hash_map.h"
    #include "absl/strings/match.h"
    #include "absl/time/time.h"
    #include "tensorflow/c/c_api.h"
    #include "tensorflow/c/eager/c_api_internal.h"
    #include "tensorflow/c/eager/tfe_context_internal.h"
    #include "tensorflow/c/eager/tfe_op_internal.h"
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  3. tensorflow/c/eager/tape.h

          bool use_batch)
          : vspace_(vspace), use_batch_(use_batch) {
        call_state_.emplace(nullptr, false);
      }
    
      virtual ~ForwardAccumulator() {
        for (auto accumulated : accumulated_gradients_) {
          vspace_.DeleteGradient(accumulated.second);
        }
      }
    
      // Tell the forward accumulator to watch tensor_id, with a Tensor tangent
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  4. configure.py

        environ_cp['PYTHON_BIN_PATH'] = ''
    
      # Convert python path to Windows style before checking lib and version
      if is_windows() or is_cygwin():
        python_bin_path = cygpath(python_bin_path)
    
      # Get PYTHON_LIB_PATH
      python_lib_path = environ_cp.get('PYTHON_LIB_PATH')
      if not python_lib_path:
        python_lib_paths = get_python_path(environ_cp, python_bin_path)
        if environ_cp.get('USE_DEFAULT_PYTHON_LIB_PATH') == '1':
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
  5. .bazelrc

    build:cuda_clang_official --action_env=TF_CUDNN_VERSION="8"
    build:cuda_clang_official --action_env=CUDA_TOOLKIT_PATH="/usr/local/cuda-12.3"
    build:cuda_clang_official --action_env=GCC_HOST_COMPILER_PATH="/dt9/usr/bin/gcc"
    build:cuda_clang_official --action_env=CLANG_CUDA_COMPILER_PATH="/usr/lib/llvm-17/bin/clang"
    build:cuda_clang_official --action_env=LD_LIBRARY_PATH="/usr/local/cuda/lib64:/usr/local/cuda/extras/CUPTI/lib64"
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu May 02 19:34:20 GMT 2024
    - 52.8K bytes
    - Viewed (2)
  6. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

      TF_SetStatus(status, TF_OK, "");
    }
    
    static void NewAppendableFile(const TF_Filesystem* filesystem, const char* path,
                                  TF_WritableFile* file, TF_Status* status) {
      FILE* f = fopen(path, "a");
      if (f == nullptr) {
        TF_SetStatusFromIOError(status, errno, path);
        return;
      }
    
      file->plugin_file = new tf_writable_file::PosixFile({strdup(path), f});
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/gradients/custom_gradient_test.cc

                                  absl::Span<AbstractTensorHandle* const> inputs,
                                  absl::Span<AbstractTensorHandle*> outputs) {
      Tape tape(/*persistent=*/false);
      tape.Watch(inputs[0]);  // Watch x.
      AbstractTensorHandle* exp_output;
      TF_RETURN_IF_ERROR(ops::Exp(ctx, inputs[0], &exp_output, "Exp"));
      std::unique_ptr<GradientFunction> gradient_function(
          new PassThroughGradientFunction);
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  8. ci/official/wheel_test/test_import_api_packages.py

      def setUp(self):
        def _get_api_packages_v2():
          api_packages_path = pkg_resources.resource_filename(
              "tensorflow", "_api/v2/api_packages.txt"
          )
    
          logging.info("Load api packages file: %s", api_packages_path)
          with open(api_packages_path) as file:
            return set(file.read().splitlines())
    
        super().setUp()
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 13 15:52:07 GMT 2023
    - 3.3K bytes
    - Viewed (1)
  9. ci/official/utilities/repack_libtensorflow.sh

    # into a srcjar directly under the root. There doesn't appear to be a
    # simple way to parameterize this from bazel, hence this helper to
    # "normalize" the srcjar layout.
    #
    # Arguments:
    #   src_jar - path to the original srcjar
    #   dest_jar - path to the destination
    # Returns:
    #   None
    function cp_normalized_srcjar() {
      src_jar="$1"
      dest_jar="$2"
      tmp_dir=$(mktemp -d)
      cp "${src_jar}" "${tmp_dir}/orig.jar"
      pushd "${tmp_dir}"
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jul 12 19:47:53 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  10. ci/official/envs/macos_arm64

    TFCI_BAZEL_TARGET_SELECTING_CONFIG_PREFIX=macos_arm64
    TFCI_BUILD_PIP_PACKAGE_ARGS="--repo_env=WHEEL_NAME=tensorflow"
    TFCI_INDEX_HTML_ENABLE=1
    TFCI_LIB_SUFFIX="-cpu-darwin-arm64"
    TFCI_MACOS_BAZEL_TEST_DIR_ENABLE=1
    TFCI_MACOS_BAZEL_TEST_DIR_PATH="/Volumes/BuildData/bazel_output"
    TFCI_OUTPUT_DIR=build_output
    TFCI_WHL_BAZEL_TEST_ENABLE=1
    TFCI_WHL_SIZE_LIMIT=240M
    TFCI_WHL_SIZE_LIMIT_ENABLE=1
    
    # 3.11 is the system python on our images
    case $TFCI_PYTHON_VERSION in
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Jan 19 00:24:30 GMT 2024
    - 1.3K bytes
    - Viewed (0)
Back to top