ray.rllib.models.torch.torch_modelv2.TorchModelV2.context#

TorchModelV2.context() AbstractContextManager#

Returns a contextmanager for the current forward pass.