code: def _get_test_model(self, in_dim, out_dim, temp):
      class Model(nn.Module):
          def __init__(self, in_dim, out_dim, temp):
              super().__init__()
  
              self.mlp = MLPDecoder.from_config(
                  MLPDecoder.Config(bias=False, temperature=temp),
                  in_dim,
                  out_dim,
              )
  
          def forward(self, tensor):
              return self.mlp(tensor)
  
      return Model(in_dim, out_dim, temp)
  
file_path: pytext/pytext/models/test/mlp_decoder_test.py
imports: import unittest
  import torch
  import torch.nn
  from pytext.models.decoders.mlp_decoder import MLPDecoder
label_desc: Use image node_id 1 for calling the MLPDecoderTest obj's underlying member method code with example usage: obj._get_test_model(in_dim, out_dim, temp) and returns: Model, self