In the function inputDimensions(self) in the Environment class, we fix a bug when the shape of a scalar is explicitly given.
For example, returning [(5,1)] was not allowed because [(5,)] is expected. This is fixed, which allows to return [(5,1)] or [(5,)].
Therefore, returning [(5, n)] will work for n == 1 and for n> 1.
In the function inputDimensions(self) in the Environment class, we fix a bug when the shape of a scalar is explicitly given. For example, returning [(5,1)] was not allowed because [(5,)] is expected. This is fixed, which allows to return [(5,1)] or [(5,)]. Therefore, returning [(5, n)] will work for n == 1 and for n> 1.