Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for TF_OutputListNumOutputs (0.38 seconds)

  1. tensorflow/c/eager/c_api_unified_experimental.h

    // Prepare tracing to the expected number of output for an operation.
    void TF_OutputListSetNumOutputs(TF_OutputList* o, int num_outputs, TF_Status*);
    // Return the number of outputs in the list.
    int TF_OutputListNumOutputs(TF_OutputList* o);
    // Return the `i`th output in the list.
    TF_AbstractTensor* TF_OutputListGet(TF_OutputList* o, int i);
    // Append a tensor at the end of the output list, growing its size by one.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sun Oct 24 11:27:00 GMT 2021
    - 7K bytes
    - Click Count (0)
  2. tensorflow/c/eager/c_api_unified_experimental.cc

                                    TF_Status* s) {
      unwrap(o)->expected_num_outputs = num_outputs;
      unwrap(o)->outputs.clear();
      unwrap(o)->outputs.resize(num_outputs);
    }
    int TF_OutputListNumOutputs(TF_OutputList* o) {
      return unwrap(o)->outputs.size();
    }
    TF_AbstractTensor* TF_OutputListGet(TF_OutputList* o, int i) {
      return wrap(unwrap(o)->outputs[i]);
    }
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 9K bytes
    - Click Count (0)
Back to Top