Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for RestoreSession (0.47 sec)

  1. tensorflow/cc/saved_model/loader.cc

          ReadSavedModelDebugInfoIfPresent(export_dir, &bundle->debug_info));
      TF_RETURN_IF_ERROR(LoadMetagraphIntoSession(
          session_options, bundle->meta_graph_def, &bundle->session));
      TF_RETURN_IF_ERROR(RestoreSession(run_options, bundle->meta_graph_def,
                                        export_dir, &bundle->session));
      return absl::OkStatus();
    }
    
    namespace {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 02 04:36:00 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. tensorflow/cc/saved_model/loader.h

    // indicated metagraph.
    // The recommended way to load a saved model is to call LoadSavedModel,
    // which provides an already initialized Metagraph, Session, and DebugInfo.
    Status RestoreSession(const RunOptions& run_options,
                          const MetaGraphDef& meta_graph, const string& export_dir,
                          std::unique_ptr<Session>* session);
    
    // Initialize a session which wraps this metagraph.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 05 18:28:37 UTC 2023
    - 6K bytes
    - Viewed (0)
Back to top