Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TF_OperationInputListLength (0.2 sec)

  1. tensorflow/c/c_api.h

    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,
                                                          const char* arg_name,
                                                          TF_Status* status);
    
    // In this code:
    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)
  2. tensorflow/c/c_api_test.cc

      EXPECT_EQ(1, TF_OperationOutputListLength(add, "sum", s));
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
      EXPECT_EQ(2, TF_OperationNumInputs(add));
      EXPECT_EQ(2, TF_OperationInputListLength(add, "inputs", s));
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
      EXPECT_EQ(TF_INT32, TF_OperationInputType(TF_Input{add, 0}));
      EXPECT_EQ(TF_INT32, TF_OperationInputType(TF_Input{add, 1}));
    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)
  3. tensorflow/c/c_api.cc

      return oper->node.num_inputs();
    }
    
    TF_DataType TF_OperationInputType(TF_Input oper_in) {
      return static_cast<TF_DataType>(oper_in.oper->node.input_type(oper_in.index));
    }
    
    int TF_OperationInputListLength(TF_Operation* oper, const char* arg_name,
                                    TF_Status* status) {
      NameRangeMap name_ranges;
      status->status =
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
Back to top