- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for TFE_OpGetAttrType (0.09 seconds)
-
tensorflow/c/eager/c_api.cc
TF_AttrType ret; TFE_Op* op = TFE_NewOp(ctx, op_or_function_name, status); if (status->status.ok()) { ret = TFE_OpGetAttrType(op, attr_name, is_list, status); } else { ret = TF_ATTR_INT; // Same dummy return as TFE_OpGetAttrType. } TFE_DeleteOp(op); return ret; } void TFE_OpSetAttrString(TFE_Op* op, const char* attr_name, const void* value,
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Nov 07 05:55:21 GMT 2025 - 43.9K bytes - Click Count (0) -
tensorflow/c/eager/c_api_test.cc
TFE_OpAddAttrs(copy_op, attributes); unsigned char is_list = 0; ASSERT_EQ(TF_ATTR_TYPE, TFE_OpGetAttrType(copy_op, "dtype", &is_list, status)); CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); ASSERT_EQ(TF_ATTR_SHAPE, TFE_OpGetAttrType(copy_op, "shape", &is_list, status)); CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 09 05:56:18 GMT 2025 - 94.6K bytes - Click Count (0)