Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for GetInitOp (0.35 sec)

  1. tensorflow/cc/saved_model/loader_util.h

    // A SavedModel may store the name of the initialization op to run in the
    // in the SignatureDef (v2) or a collection (v1). If an init_op collection
    // exists, then the collection must contain exactly one op.
    Status GetInitOp(const string& export_dir, const MetaGraphDef& meta_graph_def,
                     string* init_op_name);
    
    Status GetAssetFileDefs(const MetaGraphDef& meta_graph_def,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 12 20:05:11 UTC 2020
    - 1.5K bytes
    - Viewed (0)
  2. tensorflow/cc/saved_model/loader_util.cc

    // A SavedModel may store the name of the initialization op to run in the
    // in the SignatureDef (v2) or a collection (v1). If an init_op collection
    // exists, then the collection must contain exactly one op.
    Status GetInitOp(const string& export_dir, const MetaGraphDef& meta_graph_def,
                     string* init_op_name) {
      const auto& sig_def_map = meta_graph_def.signature_def();
      const auto& init_op_sig_it =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 10 10:25:28 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. tensorflow/cc/saved_model/loader.cc

          GetLatencyMicroseconds(read_start_microseconds);
    
      const uint64 graph_init_start_microseconds = Env::Default()->NowMicros();
      string init_op_name;
      TF_RETURN_IF_ERROR(
          internal::GetInitOp(export_dir, meta_graph, &init_op_name));
      TF_RETURN_IF_ERROR(RunInitOp(run_options, export_dir, meta_graph,
                                   asset_file_defs, session->get(), init_op_name));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 02 04:36:00 UTC 2024
    - 23K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

            meta_graph_def().saver_def().restore_op_name() == name)
          return true;
    
        // If it is the init graph name, it is valid.
        std::string init_op_name;
        if (internal::GetInitOp("", meta_graph_def(), &init_op_name).ok()) {
          if (init_op_name == name) return true;
        }
    
        return false;
      }
    
      // `graph_` contains the entire graph in the original MetaGraphDef.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  5. RELEASE.md

    *   Fixes an integer overflow in `OpLevelCostEstimator::CalculateOutputSize`
        ([CVE-2022-23576](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23576))
    *   Fixes a null dereference in `GetInitOp`
        ([CVE-2022-23577](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23577))
    *   Fixes a memory leak when a graph node is invalid
        ([CVE-2022-23578](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23578))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
Back to top