Ejemplo n.º 1
0
 def act(self, *, states, horizons, internals, auxiliaries, deterministic,
         independent):
     return StochasticPolicy.act(self=self,
                                 states=states,
                                 horizons=horizons,
                                 internals=internals,
                                 auxiliaries=auxiliaries,
                                 deterministic=deterministic,
                                 independent=independent)
Ejemplo n.º 2
0
 def output_signature(self, *, function):
     try:
         return StochasticPolicy.output_signature(self=self,
                                                  function=function)
     except NotImplementedError:
         return ValuePolicy.output_signature(self=self, function=function)