Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for TF_DeleteTensor (0.07 seconds)

  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_t*>(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)};
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 97.3K bytes
    - Click Count (0)
  2. tensorflow/c/c_api_experimental_test.cc

                        /*expected_shape*/ make_shape({1, 1, 6}));
      TFE_DeleteOp(fill_op);
      fill_op = nullptr;
    
      TFE_DeleteTensorHandle(scalar);
      TF_DeleteTensor(scalarTensor);
      TF_DeleteTensor(tensor_1X1X6);
      TF_DeleteTensor(tensor_1X6);
    }
    
    TEST(CAPI_EXPERIMENTAL, LibraryPluggableDeviceLoadFunctions) {
      // TODO(penpornk): Enable this test on Windows.
    #if !defined(PLATFORM_WINDOWS)
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  3. tensorflow/c/c_api_function_test.cc

                      "`inputs` must have a single output. Node split3 has "
                      "3 outputs. Encountered while creating function 'MyFunc'"),
          std::string(TF_Message(s_)));
    
      TF_DeleteTensor(tensor_123);
    }
    
    TEST_F(CApiFunctionTest, FunctionWithWhileLoop) {
      // Inputs to the while loop and the function as a whole
      TF_Operation* feed1 = Placeholder(func_graph_, s_, "feed1");
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 63.9K bytes
    - Click Count (1)
Back to Top