code: def __init__(self, scale_factor=2):
      super(LayerTest, self).__init__()
      self.up = nn.UpsamplingNearest2d(scale_factor=scale_factor)
  
file_path: pytorch2keras/tests/layers/upsamplings/upsampling_nearest.py
imports: import numpy
  import torch
  import torch.nn
  from torch.autograd import Variable
  from pytorch2keras.converter import pytorch_to_keras
label_desc: Use image node_id 1 to create a new LayerTest object from inherited base classes: nn with example: obj = LayerTest(scale_factor)