Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for kSavedModelFilenamePb (0.37 sec)

  1. tensorflow/cc/saved_model/saved_model_fuzz.cc

      SessionOptions session_options;
      RunOptions run_options;
    
      string export_dir = "ram://";
      TF_CHECK_OK(tsl::WriteBinaryProto(tensorflow::Env::Default(),
                                        export_dir + kSavedModelFilenamePb, model));
    
      LoadSavedModel(session_options, run_options, export_dir,
                     {kSavedModelTagServe}, &bundle)
          .IgnoreError();
    }
    FUZZ_TEST(SavedModelFuzz, FuzzLoadSavedModel);
    
    }  // namespace
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 09 23:47:46 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. tensorflow/cc/saved_model/constants.h

    inline constexpr int kSavedModelSchemaVersion = 1;
    
    // SavedModel proto filename prefix.
    inline constexpr char kSavedModelFilenamePrefix[] = "saved_model";
    // SavedModel proto filename.
    inline constexpr char kSavedModelFilenamePb[] = "saved_model.pb";
    
    // SavedModel chunked proto filename.
    inline constexpr char kSavedModelFilenameCpb[] = "saved_model.cpb";
    
    // SavedModel text format proto filename.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 23:02:22 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. tensorflow/cc/experimental/libexport/load.cc

    using protobuf::RepeatedPtrField;
    
    tensorflow::StatusOr<TFPackage> TFPackage::Load(const std::string& path) {
      // Load the proto
      TFPackage tf_package;
      const string saved_model_pb_path = io::JoinPath(path, kSavedModelFilenamePb);
      const string saved_model_pbtxt_path =
          io::JoinPath(path, kSavedModelFilenamePbTxt);
      if (Env::Default()->FileExists(saved_model_pb_path).ok()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 13 15:16:07 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  4. tensorflow/cc/saved_model/reader.cc

                          SavedModel* saved_model_proto) {
      LOG(INFO) << "Reading SavedModel from: " << export_dir;
    
      if (IS_OSS) {
        const std::string saved_model_pb_path =
            io::JoinPath(export_dir, kSavedModelFilenamePb);
        TF_ASSIGN_OR_RETURN(
            bool saved_model_pb_exists,
            internal::FileExists(Env::Default(), saved_model_pb_path));
        if (saved_model_pb_exists) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 00:19:29 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. tensorflow/cc/saved_model/loader.cc

      return absl::OkStatus();
    }
    
    bool MaybeSavedModelDirectory(const string& export_dir) {
      const string saved_model_pb_path =
          io::JoinPath(export_dir, kSavedModelFilenamePb);
      const string saved_model_cpb_path =
          io::JoinPath(export_dir, kSavedModelFilenameCpb);
      const string saved_model_pbtxt_path =
          io::JoinPath(export_dir, kSavedModelFilenamePbTxt);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 02 04:36:00 UTC 2024
    - 23K bytes
    - Viewed (0)
Back to top