class_docstr: BottleNeck
  Args:
      inplanes (int): number of inplanes
      planes (int): number of planes
      stride (int): number of stride
code: def forward(self, x: torch.Tensor):
      identity = x
  
      out = self.relu(self.bn1(self.conv1(x)))
      out = self.relu(self.bn2(self.conv2(out)))
      out = self.avgpool(out)
      out = self.bn3(self.conv3(out))
  
      if self.downsample is not None:
          identity = self.downsample(x)
  
      out += identity
      out = self.relu(out)
      return out
  
imports: import os
  import warnings
  from collections import OrderedDict
  from typing import Tuple, Union, Callable
  import numpy
  from PIL import Image
  import torch
  from torch import nn
  from torchvision.transforms import Compose, Resize, CenterCrop, ToTensor, Normalize
  from towhee.models.utils.download import download_from_url
  from towhee.models.clip.clip_utils import get_configs, convert_weights, patch_device, patch_float, tokenize
  from towhee.models.clip.auxilary import multi_head_attention_forward, MultiheadAttention
label_desc: Use image node_id 2 for calling the Bottleneck obj's underlying member method code with example usage: obj.forward(x) and returns: out