Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_GraphImportGraphDef (0.16 sec)

  1. tensorflow/c/c_api_test.cc

      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");
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.cc

      DCHECK_EQ(results.return_tensors.size(), num_return_outputs);
      memcpy(return_outputs, results.return_tensors.data(),
             num_return_outputs * sizeof(TF_Output));
    }
    
    void TF_GraphImportGraphDef(TF_Graph* graph, const TF_Buffer* graph_def,
                                const TF_ImportGraphDefOptions* options,
                                TF_Status* status) {
      TF_ImportGraphDefResults* results =
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
Back to top