mirror of
https://github.com/vale981/ray
synced 2025-03-06 02:21:39 -05:00
simplexfix (#26122)
This commit is contained in:
parent
3d8ca6cf0f
commit
64a0eae758
1 changed files with 0 additions and 1 deletions
|
@ -23,7 +23,6 @@ class Simplex(gym.Space):
|
|||
|
||||
def __init__(self, shape, concentration=None, dtype=np.float32):
|
||||
assert type(shape) in [tuple, list]
|
||||
assert len(shape) == 2, ""
|
||||
|
||||
super().__init__(shape, dtype)
|
||||
self.dim = self.shape[-1]
|
||||
|
|
Loading…
Add table
Reference in a new issue