in maddpg/common/distributions.py [0:0]
def __init__(self, low, high, flat):
self.flat = flat
self.low = tf.constant(low, dtype=tf.float32)
self.categoricals = list(map(SoftCategoricalPd, tf.split(flat, high - low + 1, axis=len(flat.get_shape()) - 1)))