code: def get_initial_state(self):
      # TODO: (sven): Get rid of `get_initial_state` once Trajectory
      #  View API is supported across all of RLlib.
      # Place hidden states on same device as model.
      h = [
          self.fc1.weight.new(1, self.lstm_state_size)
          .zero_()
          .squeeze(0),
          self.fc1.weight.new(1, self.lstm_state_size)
          .zero_()
          .squeeze(0),
      ]
      return h
  
file_path: ray/python/ray/rllib/examples/models/rnn_model.py
imports: import numpy
  from ray.rllib.models.modelv2 import ModelV2
  from ray.rllib.models.preprocessors import get_preprocessor
  from ray.rllib.models.tf.recurrent_net import RecurrentNetwork
  from ray.rllib.models.torch.recurrent_net import RecurrentNetwork
  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 2 for calling the TorchRNNModel obj's underlying member method code with example usage: obj.get_initial_state() and returns: h