mirror of
https://github.com/vale981/ray
synced 2025-03-09 04:46:38 -04:00
![]() * Changed '_update_model_view_requirements_from_init_state()' to adopt the 'shift' in view_requirements from a user-defined policy that inherits directly from Policy. * Added slightly modifed version of Sven's suggestion. Like this any user-defined attributes of the ViewRequirement of the state get conserved. * I saw that the code in _update_model_view_requirements_from_init_state() had changed and is not identical to my locally installed version. In the new version view_requirements from the model and the policy get united and therefore a loop runs through this unified list. Code should run now in the present version * Apply suggestions from code review |
||
---|---|---|
.. | ||
tests | ||
__init__.py | ||
dynamic_tf_policy.py | ||
eager_tf_policy.py | ||
policy.py | ||
policy_map.py | ||
policy_template.py | ||
rnn_sequencing.py | ||
sample_batch.py | ||
tf_policy.py | ||
tf_policy_template.py | ||
torch_policy.py | ||
torch_policy_template.py | ||
view_requirement.py |