Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_OperationGetAttrIntList (0.15 sec)

  1. tensorflow/c/c_api.h

    // `values` must point to an array of length at least `max_values` (ideally set
    // TF_AttrMetadata.list_size from TF_OperationGetAttrMetadata(oper,
    // attr_name)).
    TF_CAPI_EXPORT extern void TF_OperationGetAttrIntList(TF_Operation* oper,
                                                          const char* attr_name,
                                                          int64_t* values,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_test.cc

      auto oper = TF_FinishOperation(desc, s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
      int64_t values[list_size];
      EXPECT_TF_META("v", list_size, TF_ATTR_INT, -1);
      TF_OperationGetAttrIntList(oper, "v", values, list_size, s_);
      EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      EXPECT_TRUE(std::equal(std::begin(list), std::end(list), std::begin(values)));
    }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top