Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TF_NewImportGraphDefOptions (0.2 sec)

  1. tensorflow/c/c_api_test.cc

      TF_ImportGraphDefOptions* opts = TF_NewImportGraphDefOptions();
      TF_GraphImportGraphDef(graph, graph_def, opts, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      TF_Operation* scalar = TF_GraphOperationByName(graph, "scalar");
    
      // Import it in a fresh graph with an unused input mapping.
      TF_DeleteImportGraphDefOptions(opts);
      opts = TF_NewImportGraphDefOptions();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.cc

      {
        mutex_lock l(graph->mu);
        versions = graph->graph.versions();
      }
      status->status = MessageToBuffer(versions, output_version_def);
    }
    
    TF_ImportGraphDefOptions* TF_NewImportGraphDefOptions() {
      return new TF_ImportGraphDefOptions;
    }
    void TF_DeleteImportGraphDefOptions(TF_ImportGraphDefOptions* opts) {
      delete opts;
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.h

    // TF_ImportGraphDefOptions holds options that can be passed to
    // TF_GraphImportGraphDef.
    typedef struct TF_ImportGraphDefOptions TF_ImportGraphDefOptions;
    
    TF_CAPI_EXPORT extern TF_ImportGraphDefOptions* TF_NewImportGraphDefOptions(
        void);
    TF_CAPI_EXPORT extern void TF_DeleteImportGraphDefOptions(
        TF_ImportGraphDefOptions* opts);
    
    // Set the prefix to be prepended to the names of nodes in `graph_def` that will
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
Back to top