ekalda commented on code in PR #16612:
URL: https://github.com/apache/tvm/pull/16612#discussion_r1502820316
##########
include/tvm/runtime/data_type.h:
##########
@@ -110,7 +111,7 @@ class DataType {
return -lanes_as_int;
}
/*! \return whether type is a scalar type. */
- bool is_scalar() const { return lanes() == 1; }
+ bool is_scalar() const { return !is_scalable_vector() && lanes() == 1; }
Review Comment:
Ok yes, thinking about it, this probably is the most solid way to do it,
even though it reads a bit awkward 👍
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]