Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for renamer (0.19 sec)

  1. tensorflow/c/checkpoint_reader.cc

      v2_reader_->Seek(kHeaderEntryKey);
      for (v2_reader_->Next(); v2_reader_->Valid(); v2_reader_->Next()) {
        if (filtered_keys.count(string(v2_reader_->key())) > 0) continue;
        CHECK(entry.ParseFromArray(v2_reader_->value().data(),
                                   v2_reader_->value().size()))
            << entry.InitializationErrorString();
        string key(v2_reader_->key());
    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)
  2. tensorflow/c/checkpoint_reader.h

     private:
      // Uses "v2_reader_" to build "var name -> shape" and "var name -> data type"
      // maps; both owned by caller.
      // REQUIRES: "v2_reader_ != nullptr && v2_reader_.status().ok()".
      std::pair<std::unique_ptr<TensorSliceReader::VarToShapeMap>,
                std::unique_ptr<TensorSliceReader::VarToDataTypeMap> >
      BuildV2VarMaps();
    
      // Invariant: exactly one of "reader_" and "v2_reader_" is non-null.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  3. ci/official/utilities/code_check_changed_files.bats

        # Note that you could generate a list of all the affected targets with e.g.:
        # bazel query $(paste -sd "+" $BATS_FILE_TMPDIR/changed_files) --keep_going
        # Only shows Added, Changed, Modified, Renamed, and Type-changed files
        if [[ "$(git rev-parse --abbrev-ref HEAD)" == "pull_branch" ]]; then
            # TF's CI runs 'git fetch origin "pull/PR#/merge:pull_branch"'
            # To get the as-merged branch during the CI tests
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 10 19:39:41 GMT 2024
    - 4K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/modular_filesystem.cc

      if (ops_->rename_file == nullptr) {
        Status status = CopyFile(src, target);
        if (status.ok()) status = DeleteFile(src);
        return status;
      }
    
      UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus);
      std::string translated_src = TranslateName(src);
      std::string translated_target = TranslateName(target);
      ops_->rename_file(filesystem_.get(), translated_src.c_str(),
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
  5. ci/official/containers/linux_arm64/devel.usertools/rename_and_verify_wheels.sh

    # Check and rename wheels with auditwheel. Inserts the platform tags like
    # "manylinux_xyz" into the wheel filename.
    set -euxo pipefail
    
    for wheel in /tf/pkg/*.whl; do
      echo "Checking and renaming $wheel..."
      time python3 -m auditwheel repair --plat manylinux2014_aarch64 "$wheel" --wheel-dir /tf/pkg 2>&1 | tee check.txt
    
      # We don't need the original wheel if it was renamed
    Shell Script
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 19:00:37 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  6. ci/official/utilities/rename_and_verify_wheels.sh

    # limitations under the License.
    # ==============================================================================
    #
    # Usage: rename_and_verify_wheels.sh
    # This script is aware of TFCI_ variables, so it doesn't need any arguments.
    # Puts new wheel through auditwheel to rename and verify it, deletes the old
    # one, checks the filesize, and then ensures the new wheel is installable.
    set -euxo pipefail
    
    cd "$TFCI_OUTPUT_DIR"
    
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 21:16:27 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  7. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

                echo "Broken links found:"
                cat errors.txt
                rm errors.txt
                false
            fi
        done
    }
    
    @test "No duplicate files on Windows" {
        cat <<EOF
    Please rename files so there are no repeats. For example, README.md and
    Readme.md would be the same file on Windows. In this test, you would get a
    warning for "readme.md" because it makes everything lowercase. There are
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  8. tensorflow/c/BUILD

            "@local_tsl//tsl/platform:test",
            "@local_tsl//tsl/platform:test_main",
        ],
    )
    
    tf_cuda_library(
        name = "checkpoint_reader",
        srcs = ["checkpoint_reader.cc"],
        hdrs = ["checkpoint_reader.h"],
        visibility = ["//visibility:public"],
        deps = [
            ":tf_status",
            ":tf_status_helper",
            "//tensorflow/core:framework",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 30.3K bytes
    - Viewed (0)
  9. ci/official/wheel.sh

    tfrun bazel build $TFCI_BAZEL_COMMON_ARGS //tensorflow/tools/pip_package:wheel $TFCI_BUILD_PIP_PACKAGE_ARGS
    tfrun find ./bazel-bin/tensorflow/tools/pip_package -iname "*.whl" -exec cp {} $TFCI_OUTPUT_DIR \;
    tfrun ./ci/official/utilities/rename_and_verify_wheels.sh
    
    if [[ "$TFCI_ARTIFACT_STAGING_GCS_ENABLE" == 1 ]]; then
      # Note: -n disables overwriting previously created files.
      gsutil cp -n "$TFCI_OUTPUT_DIR"/*.whl "$TFCI_ARTIFACT_STAGING_GCS_URI"
    fi
    
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 06 21:54:13 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  10. tensorflow/c/eager/BUILD

    )
    
    filegroup(
        name = "pywrap_headers_monitoring_reader",
        srcs = [
            "c_api_experimental_reader.h",
            "tfe_monitoring_reader_internal.h",
        ],
        visibility = ["//tensorflow:__subpackages__"],
    )
    
    filegroup(
        name = "headers_monitoring_reader",
        srcs = [
            "c_api_experimental_reader.h",
        ],
        visibility = ["//tensorflow:__subpackages__"],
    )
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 33.3K bytes
    - Viewed (0)
Back to top