softqlearning/softqlearning/algorithms/sql.py
def _get_feed_dict(self, batch):
        """Construct a TensorFlow feed dictionary from a sample batch."""

        feeds = {
            self._observations_ph: batch['observations'],
            self._actions_pl: batch['actions'],
            self._next_observations_ph: batch['next_observations'],
            self._rewards_pl: batch['rewards'],
            self._terminals_pl: batch['terminals'],
        }

        return feeds
Construct a TensorFlow feed dictionary from a sample batch.
Construct a TensorFlow feed dictionary from a sample batch.
Construct a TensorFlow feed dictionary from a sample batch .
def _get_feed_dict(self, batch):
        feeds = {
            self._observations_ph: batch['observations'],
            self._actions_pl: batch['actions'],
            self._next_observations_ph: batch['next_observations'],
            self._rewards_pl: batch['rewards'],
            self._terminals_pl: batch['terminals'],
        }
        return feeds
def _get_feed_dict ( self , batch ) : feeds = { self . _observations_ph : batch [ 'observations' ] , self . _actions_pl : batch [ 'actions' ] , self . _next_observations_ph : batch [ 'next_observations' ] , self . _rewards_pl : batch [ 'rewards' ] , self . _terminals_pl : batch [ 'terminals' ] , } return feeds
Construct a TensorFlow feed dictionary from a sample batch.
Construct a TensorFlow feed dictionary from a sample batch .
"""Construct a TensorFlow feed dictionary from a sample batch."""
self
batch