Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for BundleReader (0.1 sec)

  1. tensorflow/c/checkpoint_reader.h

    #include "tensorflow/core/util/tensor_bundle/tensor_bundle.h"
    #include "tensorflow/core/util/tensor_slice_reader.h"
    
    namespace tensorflow {
    namespace checkpoint {
    
    class TensorSliceReader;
    
    // A wrapper around BundleReader (for V2 checkpoints) and
    // checkpoint::TensorSliceReader (for V1), that is more easily SWIG wrapped for
    // other languages.
    //
    // The class currently only interacts with single-slice (i.e., non-partitioned)
    // variables.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 12 08:49:52 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. tensorflow/c/checkpoint_reader.cc

      // "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());
          return;
        }
        auto result = BuildV2VarMaps();
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top