- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for TF_OperationGetAttrName (0.14 seconds)
-
tensorflow/c/c_api.h
int i); // Get the name of the ith attribute. output should have the size of // TF_OperationGetAttrNameLength(oper, i). TF_CAPI_EXPORT extern void TF_OperationGetAttrName(TF_Operation* oper, int i, char* output, TF_Status* status);
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Click Count (0) -
tensorflow/c/c_api.cc
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 04 05:55:32 GMT 2025 - 102.4K bytes - Click Count (0) -
tensorflow/c/c_api_test.cc
ASSERT_EQ(1, TF_OperationGetNumAttrs(oper)); ASSERT_EQ(1, TF_OperationGetAttrNameLength(oper, 0)); std::unique_ptr<char[]> value(new char[1]); TF_OperationGetAttrName(oper, 0, value.get(), s_); EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); EXPECT_EQ("v", std::string(static_cast<const char*>(value.get()), 1)); } TEST_F(CApiAttributesTest, Errors) {
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)