Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TF_ImportGraphDefResultsReturnOperations (0.18 sec)

  1. tensorflow/c/c_api.h

    // operations is returned in `num_opers`. The array of return operations is
    // returned in `opers`. `*opers` is owned by and has the lifetime of `results`.
    TF_CAPI_EXPORT extern void TF_ImportGraphDefResultsReturnOperations(
        TF_ImportGraphDefResults* results, int* num_opers, TF_Operation*** opers);
    
    // Fetches any input mappings requested via
    // TF_ImportGraphDefOptionsAddInputMapping() that didn't appear in the GraphDef
    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.cc

                                               TF_Output** outputs) {
      *num_outputs = results->return_tensors.size();
      *outputs = results->return_tensors.data();
    }
    
    void TF_ImportGraphDefResultsReturnOperations(TF_ImportGraphDefResults* results,
                                                  int* num_opers,
                                                  TF_Operation*** opers) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_test.cc

      EXPECT_EQ(scalar, return_outputs[1].oper);  // remapped
      EXPECT_EQ(0, return_outputs[1].index);
    
      // Check return operation
      TF_Operation** return_opers;
      int num_return_opers;
      TF_ImportGraphDefResultsReturnOperations(results, &num_return_opers,
                                               &return_opers);
      ASSERT_EQ(1, num_return_opers);
      EXPECT_EQ(scalar2, return_opers[0]);  // not remapped
    
    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