code: def forward(self, x, latent):
      style = (
          self.linear(latent).unsqueeze(2).unsqueeze(3)
      )  # B, 2*c, 1, 1
      gamma, beta = style.chunk(2, 1)
      x = gamma * x + beta
      return x
  
imports: import os
  import time
  import timm
  import glob
  import numpy
  import os.path
  import torch
  import torch.distributed
  from torch import nn
  import torch.nn.functional
  from .iresnet import get_model
label_desc: Use image node_id 2 for calling the ApplyStyle obj's underlying member method code with example usage: obj.forward(x, latent) and returns: x