Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_OperationNumInputs (0.43 sec)

  1. tensorflow/c/c_api_test.cc

      ASSERT_TRUE(scalar != nullptr);
      ASSERT_TRUE(feed != nullptr);
      ASSERT_TRUE(neg != nullptr);
    
      // Test basic structure of the imported graph.
      EXPECT_EQ(0, TF_OperationNumInputs(scalar));
      EXPECT_EQ(0, TF_OperationNumInputs(feed));
      ASSERT_EQ(1, TF_OperationNumInputs(neg));
      TF_Output neg_input = TF_OperationInput({neg, 0});
      EXPECT_EQ(scalar, neg_input.oper);
      EXPECT_EQ(0, neg_input.index);
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  2. tensorflow/c/c_api.h

                                                           const char* arg_name,
                                                           TF_Status* status);
    
    TF_CAPI_EXPORT extern int TF_OperationNumInputs(TF_Operation* oper);
    TF_CAPI_EXPORT extern TF_DataType TF_OperationInputType(TF_Input oper_in);
    TF_CAPI_EXPORT extern int TF_OperationInputListLength(TF_Operation* oper,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
Back to top