コード例 #1
0
ファイル: base.py プロジェクト: saadmahboob/polyaxon
    def _build_exploration(self):
        """Creates the exploration op.

        TODO: Think about whether we should pass the episode number here or internally by
        changing the optimize_loss function????
        """
        if self.exploration_config:
            return getters.get_exploration(self.exploration_config.IDENTIFIER,
                                           **self.exploration_config.to_dict())
        return None
コード例 #2
0
ファイル: base.py プロジェクト: AlexMikhalev/polyaxon
    def _build_exploration(self):
        """Creates the exploration op.

        TODO: Think about whether we should pass the episode number here or internally by
        changing the optimize_loss function????
        """
        if self.exploration_config:
            return getters.get_exploration(self.exploration_config.module,
                                           **self.exploration_config.params)
        return None