code: def create_training_network(
      self, device: torch.device
  ) -> LSTMTrainingNetwork:
      return LSTMTrainingNetwork(
          prediction_length=self.prediction_length,
          context_length=self.context_length,
          input_size=self.input_size,
          hidden_layer_size=self.hidden_layer_size,
      ).to(device)
  
file_path: gluonts/src/gluonts/nursery/SCott/model/lstm/lstm_estimator.py
imports: from typing import List, Optional
  import torch
  import torch.nn
  from pts import Trainer
  from pts.dataset import FieldName
  from pts.model import PTSEstimator, PTSPredictor, copy_parameters
  from pts.modules import DistributionOutput, StudentTOutput
  from pts.transform import Transformation, Chain, InstanceSplitter, ExpectedNumInstanceSampler
  from pts.transform.sampler import CustomUniformSampler
  from .lstm_network import LSTMTrainingNetwork, LSTMPredictionNetwork
label_desc: Use image node_id 3 for calling the LSTMEstimator obj's underlying member method code with example usage: obj.create_training_network(device) and returns: LSTMTrainingNetwork