예제 #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)
예제 #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)