in maddpg/common/distributions.py [0:0]
def shape_el(v, i): maybe = v.get_shape()[i] if maybe is not None: return maybe else: return tf.shape(v)[i]