Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for TF_ImportGraphDefOptionsSetPrefix (0.16 seconds)

  1. tensorflow/c/c_api_test.cc

      // Import it, with a prefix, in a fresh graph.
      TF_DeleteGraph(graph);
      graph = TF_NewGraph();
      TF_ImportGraphDefOptions* opts = TF_NewImportGraphDefOptions();
      TF_ImportGraphDefOptionsSetPrefix(opts, "imported");
      TF_GraphImportGraphDef(graph, graph_def, opts, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      TF_Operation* scalar = TF_GraphOperationByName(graph, "imported/scalar");
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 97.3K bytes
    - Click Count (0)
  2. tensorflow/c/c_api.h

    // Set the prefix to be prepended to the names of nodes in `graph_def` that will
    // be imported into `graph`. `prefix` is copied and has no lifetime
    // requirements.
    TF_CAPI_EXPORT extern void TF_ImportGraphDefOptionsSetPrefix(
        TF_ImportGraphDefOptions* opts, const char* prefix);
    
    // Set the execution device for nodes in `graph_def`.
    // Only applies to nodes where a device was not already explicitly specified.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Click Count (0)
  3. tensorflow/c/c_api.cc

    TF_ImportGraphDefOptions* TF_NewImportGraphDefOptions() {
      return new TF_ImportGraphDefOptions;
    }
    void TF_DeleteImportGraphDefOptions(TF_ImportGraphDefOptions* opts) {
      delete opts;
    }
    void TF_ImportGraphDefOptionsSetPrefix(TF_ImportGraphDefOptions* opts,
                                           const char* prefix) {
      opts->opts.prefix = prefix;
    }
    void TF_ImportGraphDefOptionsSetDefaultDevice(TF_ImportGraphDefOptions* opts,
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 04 05:55:32 GMT 2025
    - 102.4K bytes
    - Click Count (0)
  4. tensorflow/c/c_api_internal.h

    A. Unique TensorFlower <******@****.***> 1767759921 -0800
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  5. tensorflow/c/c_api_experimental.h

    Haibo Huang <******@****.***> 1682629340 -0700
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Click Count (0)
  6. tensorflow/c/c_api_experimental.cc

    A. Unique TensorFlower <******@****.***> 1759556012 -0700
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 04 05:55:32 GMT 2025
    - 29.4K bytes
    - Click Count (0)
Back to Top