code: def __init__(self, in_features, out_features):
      super().__init__()
      layers = [
          nn.Dropout(p=0.5),
          nn.Linear(in_features=in_features, out_features=out_features),
          nn.ReLU(),
      ]
      self.encoder = nn.Sequential(*layers)
  
imports: from functools import partial
  from typing import List, Tuple
  import numpy
  import torch
  import torch.nn
  import torch.nn.functional
label_desc: Use image node_id 1 to create a new StaticFeaturesEncoder object from inherited base classes: nn with example: obj = StaticFeaturesEncoder(in_features, out_features)