Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_GraphImportGraphDefWithReturnOutputs (0.2 sec)

  1. tensorflow/c/c_api.h

    // result of TF_ImportGraphDefOptionsNumReturnOutputs()).  If
    // `num_return_outputs` is non-zero, `return_outputs` must be of length
    // `num_return_outputs`. Otherwise it can be null.
    TF_CAPI_EXPORT extern void TF_GraphImportGraphDefWithReturnOutputs(
        TF_Graph* graph, const TF_Buffer* graph_def,
        const TF_ImportGraphDefOptions* options, TF_Output* return_outputs,
        int num_return_outputs, TF_Status* status);
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_test.cc

      TF_ImportGraphDefOptionsAddReturnOutput(opts, "scalar", 0);
      EXPECT_EQ(2, TF_ImportGraphDefOptionsNumReturnOutputs(opts));
      TF_Output return_outputs[2];
      TF_GraphImportGraphDefWithReturnOutputs(graph, graph_def, opts,
                                              return_outputs, 2, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      TF_Operation* scalar = TF_GraphOperationByName(graph, "scalar");
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top