code: def __init__(self, cond_length, target_dim):
      super().__init__()
      self.linear1 = nn.Linear(cond_length, target_dim // 2)
      self.linear2 = nn.Linear(target_dim // 2, target_dim)
  
imports: import math
  import torch
  from torch import nn
  import torch.nn.functional
label_desc: Use image node_id 1 to create a new CondUpsampler object from inherited base classes: nn with example: obj = CondUpsampler(cond_length, target_dim)