Search
Preparing search index...
The search index is not available
gym.js
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
Space
Interface Space
A simple spatial interface to extend.
Hierarchy
Space
Implemented by
Discrete
DiscreteTuple
Index
Properties
shape
type
Methods
get
sample
seed
set
Properties
shape
shape
:
number
[]
type
type
:
any
Methods
get
get
(
)
:
tf.Tensor
Returns
tf.Tensor
sample
sample
(
)
:
number
|
number
[]
Returns
number
|
number
[]
seed
seed
(
seed
:
number
)
:
void
Parameters
seed:
number
Returns
void
set
set
(
space
:
tf.Tensor
)
:
void
Parameters
space:
tf.Tensor
Returns
void
Globals
Algorithmic
Env
Copy
Discrete
Discrete
Tuple
Frozen
Lake
Grid
Algorithmic
Env
Reverse
Snake
Tape
Algorithmic
Env
Wrapper
Env
Space
shape
type
get
sample
seed
set
action
Space
decode
Action
randint
range
to
Array
Like
to
Num
Like
Generated using
TypeDoc
A simple spatial interface to extend.