You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to point out that in bigbird/core/utils.py at line 58, there is an unconditional assert False:
assert False, "Static shape not available for {}".format(tensor)
However, there is code after the assert statment. If I'm not mistaken, that means it is dead code:
assert False, "Static shape not available for {}".format(tensor)
dyn_shape = tf.shape(tensor)
for index in non_static_indexes:
shape[index] = dyn_shape[index]
return shape
The text was updated successfully, but these errors were encountered:
michaelmherrera
changed the title
Unconditional assert False
Unconditional assert False in bigbird/core/utils.py
Feb 20, 2021
Hi,
I wanted to point out that in
bigbird/core/utils.py
at line 58, there is an unconditional assert False:However, there is code after the assert statment. If I'm not mistaken, that means it is dead code:
The text was updated successfully, but these errors were encountered: