code: def forward(self, x: torch.Tensor) -> torch.Tensor:
      w = self.w if self.w.dtype == x.dtype else self.w.to(x.dtype)
      b = (
          self.bias_filter_fn(
              self.b if self.b.dtype == x.dtype else self.b.to(x.dtype)
          )
          if self.use_bias
          else None
      )
      return F.linear(x, w, b)
  
file_path: glide-text2im/glide_text2im/clip/utils.py
imports: import math
  from typing import Callable, Optional
  import attr
  import torch
  import torch.nn
  import torch.nn.functional
label_desc: Use image node_id 2 for calling the Affine obj's underlying member method code with example usage: obj.forward(x) and returns: F