Interaction with the environment happens in a serialized manner. Thread-pool) is used to interact with the environment, but also that Using isolation ensures not only that a dedicated thread (or Like step are called from multiple threads created by the TensorFlowĮngine calls to step the environment are guaranteed to be sequential,īut not from the same thread. The environment will occur within whatever thread the methods of the If this value is False (default), interactions with Whether should check batch dimensions of actions in step. Thread_isolation is provided, the callable is executed in the Or a callable that returnsĪn environment of this form. This class currently cast rewards and discount to float32.Įnvironment to interact with, implementing Tf.nest.flatten and tf.nest.pack_structure_as calls. Since tf.py_func deals in lists of tensors, this class has some additional Reflected in the in-graph environment's observation and action structure. Observations and accept nests of arrays as actions. This class supports Python environments that return nests of arrays as
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |