[RELAY] Fix get_int_tuple for shape like '(1001,)' (#2691)
tshape.strip('()[]').split(',') will make a list ['1001',''] but the empty one isn't needed.
Showing
Please
register
or
sign in
to comment
tshape.strip('()[]').split(',') will make a list ['1001',''] but the empty one isn't needed.