Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TF_DeleteOutputList (0.24 sec)

  1. tensorflow/c/eager/c_api_unified_experimental_test.cc

      float* result_value = static_cast<float*>(TF_TensorData(result_tensor));
      EXPECT_EQ(*result_value, 4.0);
    
      TF_DeleteTensor(result_tensor);
      TF_DeleteAbstractTensor(result);
      TF_DeleteOutputList(o);
      TF_DeleteExecutionContext(ctx);
    }
    
    // MatMul Test
    TEST_P(UnifiedCAPI, TestBasicEagerMatMul) {
      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
          TF_NewStatus(), TF_DeleteStatus);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 19 21:44:52 GMT 2023
    - 39.1K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_unified_experimental.cc

    void TF_DeleteAbstractTensor(TF_AbstractTensor* t) { unwrap(t)->Unref(); }
    
    TF_OutputList* TF_NewOutputList() { return wrap(new OutputList); }
    void TF_DeleteOutputList(TF_OutputList* o) { delete unwrap(o); }
    void TF_OutputListSetNumOutputs(TF_OutputList* o, int num_outputs,
                                    TF_Status* s) {
      unwrap(o)->expected_num_outputs = num_outputs;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_unified_experimental.h

    // outputs must be set beforehand with `TF_OutputListSetNumOutputs`.
    typedef struct TF_OutputList TF_OutputList;
    TF_OutputList* TF_NewOutputList();
    void TF_DeleteOutputList(TF_OutputList* o);
    // 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.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:00 GMT 2021
    - 7K bytes
    - Viewed (0)
Back to top