in support/gym_remote/bridge.py [0:0]
def __init__(self, folds, dtype=np.int8):
super(IntFoldChannel, self).__init__()
self.folds = np.multiply.accumulate([1] + list(folds)[:-1], dtype=int)
self.ranges = np.array(folds, dtype=int)
self.dtype = dtype
self.SHAPE = str(folds) + ','