Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_DeleteTensor (0.08 sec)

  1. tensorflow/c/c_api_test.cc

                     1, nullptr, 0, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
      EXPECT_EQ(3, *(static_cast<int32*>(TF_TensorData(fetchValues1[0]))));
      TF_DeleteTensor(feedValues1[0]);
      TF_DeleteTensor(fetchValues1[0]);
    
      // Feed B and fetch (A + 2) + B.
      TF_Output feeds2[] = {TF_Output{b, 0}};
      TF_Output fetches2[] = {TF_Output{plusB, 0}};
      TF_Tensor* feedValues2[] = {Int32Tensor(4)};
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Dec 27 12:18:10 UTC 2024
    - 97K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.h

        int max_values, TF_Status* status);
    
    // Gets the TF_Tensor valued attribute of `attr_name` of `oper`.
    //
    // Allocates a new TF_Tensor which the caller is expected to take
    // ownership of (and can deallocate using TF_DeleteTensor).
    TF_CAPI_EXPORT extern void TF_OperationGetAttrTensor(TF_Operation* oper,
                                                         const char* attr_name,
                                                         TF_Tensor** value,
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
Back to top