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
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: