Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for CreateFingerprintDefCpb (0.34 sec)

  1. tensorflow/cc/saved_model/fingerprinting_utils.h

    uint64_t HashCheckpointIndexFile(absl::string_view model_dir);
    
    // Creates a FingerprintDef proto from a chunked SavedModel and the checkpoint
    // meta file (.index) in `export_dir`.
    absl::StatusOr<FingerprintDef> CreateFingerprintDefCpb(
        absl::string_view export_dir, std::string cpb_file);
    
    }  // namespace tensorflow::saved_model::fingerprinting
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 20 22:19:55 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. tensorflow/cc/saved_model/fingerprinting.cc

                          tools::proto_splitter::OnlyContainsPb(prefix));
      if (only_contains_pb) {
        return CreateFingerprintDefPb(export_dir, absl::StrCat(prefix, ".pb"));
      }
    
      return CreateFingerprintDefCpb(export_dir, absl::StrCat(prefix, ".cpb"));
    #else
      return CreateFingerprintDefPb(export_dir, absl::StrCat(prefix, ".pb"));
    #endif
    }
    
    absl::StatusOr<FingerprintDef> ReadSavedModelFingerprint(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 26 00:24:44 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. tensorflow/cc/saved_model/fingerprinting_utils.cc

          ReadFileToString(Env::Default(), meta_filename, &data);
      if (read_status.ok()) {
        return tensorflow::Fingerprint64(data);
      } else {
        return 0;
      }
    }
    
    absl::StatusOr<FingerprintDef> CreateFingerprintDefCpb(
        absl::string_view export_dir, std::string cpb_file) {
      // Version of the code that produced the fingerprint.
      const int kFingerprintProducer = 2;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 20 22:19:55 UTC 2024
    - 20.2K bytes
    - Viewed (0)
Back to top