Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Swap (0.2 sec)

  1. tensorflow/c/checkpoint_reader.cc

        if (!v2_reader_->status().ok()) {
          tsl::Set_TF_Status_from_Status(status, v2_reader_->status());
          return;
        }
        auto result = BuildV2VarMaps();
        var_to_shape_map_.swap(result.first);
        var_to_data_type_map_.swap(result.second);
      } else {
        reader_.reset(new TensorSliceReader(filename));
        if (!reader_->status().ok()) {
          tsl::Set_TF_Status_from_Status(status, reader_->status());
          return;
    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/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

              block->data.resize(bytes_transferred, 0);
              // Shrink the data capacity to the actual size used.
              // NOLINTNEXTLINE: shrink_to_fit() may not shrink the capacity.
              std::vector<char>(block->data).swap(block->data);
              downloaded_block = true;
              block->state = FetchState::FINISHED;
            } else {
              block->state = FetchState::ERROR;
            }
            block->cond_var.SignalAll();
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
  3. ci/official/envs/ci_default

    TFCI_MACOS_INSTALL_BAZELISK_URL=
    TFCI_MACOS_PYENV_INSTALL_ENABLE=
    TFCI_MACOS_TWINE_INSTALL_ENABLE=
    TFCI_MACOS_UPGRADE_PYENV_ENABLE=
    TFCI_NIGHTLY_UPDATE_VERSION_ENABLE=
    TFCI_NVIDIA_SMI_ENABLE=
    TFCI_OUTPUT_DIR=
    TFCI_PYCPP_SWAP_TO_BUILD_ENABLE=
    TFCI_PYTHON_VERIFY_PIP_INSTALL_ARGS=
    TFCI_PYTHON_VERSION=
    TFCI_WHL_AUDIT_ENABLE=
    TFCI_WHL_AUDIT_PLAT=
    TFCI_WHL_BAZEL_TEST_ENABLE=
    TFCI_WHL_IMPORT_TEST_ENABLE=1
    TFCI_WHL_SIZE_LIMIT=
    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)
  4. ci/official/envs/enable_pycpp_build

    #
    # Changes the behavior in pycpp.sh from "run all tests" to "verify that all
    # tests can compile." Used in some CI jobs (macOS and Linux Arm64) where test
    # execution is too expensive.
    TFCI_PYCPP_SWAP_TO_BUILD_ENABLE=1
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 02 21:57:40 GMT 2024
    - 976 bytes
    - Viewed (0)
  5. ci/official/pycpp.sh

    # limitations under the License.
    # ==============================================================================
    source "${BASH_SOURCE%/*}/utilities/setup.sh"
    
    if [[ $TFCI_PYCPP_SWAP_TO_BUILD_ENABLE == 1 ]]; then
       tfrun bazel build $TFCI_BAZEL_COMMON_ARGS --profile "$TFCI_OUTPUT_DIR/profile.json.gz" --config="${TFCI_BAZEL_TARGET_SELECTING_CONFIG_PREFIX}_pycpp_test"
    else
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 06 17:29:44 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_unified_experimental.h

    // setting functional attributes of other composite ops e.g. control flow.
    typedef struct TF_AbstractFunction TF_AbstractFunction;
    
    // This allows the client to swap the implementation of the tracing engine.
    // Any future call to TF_CreateFunction will use the implementation defined
    // here.
    void TF_SetTracingImplementation(const char* name, TF_Status*);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:00 GMT 2021
    - 7K bytes
    - Viewed (0)
Back to top