class_docstr: Torch version of FastModel (tf).
class_docstr_tok: ["Torch","version","of","FastModel","(","tf",")","."]
code: def __init__(
      self, obs_space, action_space, num_outputs, model_config, name
  ):
      TorchModelV2.__init__(
          self, obs_space, action_space, num_outputs, model_config, name
      )
      nn.Module.__init__(self)
  
      self.bias = nn.Parameter(
          torch.tensor([0.0], dtype=torch.float32, requires_grad=True)
      )
  
      # Only needed to give some params to the optimizer (even though,
      # they are never used anywhere).
      self.dummy_layer = SlimFC(1, 1)
      self._output = None
  
file_path: ray/rllib/examples/models/fast_model.py
imports: from ray.rllib.models.modelv2 import ModelV2
  from ray.rllib.models.tf.tf_modelv2 import TFModelV2
  from ray.rllib.models.torch.misc import SlimFC
  from ray.rllib.models.torch.torch_modelv2 import TorchModelV2
  from ray.rllib.utils.annotations import override
  from ray.rllib.utils.framework import try_import_tf, try_import_torch
label_desc: Use image node_id 1 to create a new TorchFastModel object from inherited base classes: TorchModelV2, nn with example: obj = TorchFastModel(obs_space, action_space, num_outputs, model_config, name)