class_docstr: Model isn't used in composing due to same performance with GRU. Saved for further experiments
class_docstr_tok: ["Model","is","n't","used","in","composing","due","to","same","performance","with","GRU",".","Saved","for","further","experiments"]
code: def init_hidden(self, batch_size, device):
      kwargs = dict()
      if self.seed is not None:
          g = torch.Generator()
          g.manual_seed(self.seed)
          kwargs["generator"] = g
      self.hidden_cell = (
          torch.randn(1, batch_size, self.hidden_size, **kwargs).to(
              device
          ),
          torch.randn(1, batch_size, self.hidden_size, **kwargs).to(
              device
          ),
      )
  
imports: import numpy
  from golem.utilities.requirements_notificator import warn_requirement
  from fedot.core.data.data import InputData
  from fedot.core.operations.evaluation.operation_implementations.implementation_interfaces import ModelImplementation
  from fedot.core.operations.operation_parameters import OperationParameters
  from fedot.core.repository.dataset_types import DataTypesEnum
label_desc: Use image node_id 3 for calling the CLSTMNetwork obj's underlying member method code with example usage: obj.init_hidden(batch_size, device) without return types