class_docstr: Parallel block class. 
class_docstr_tok: ["Parallel","block","class","."]
docstr: Feature map up-sampling. 
docstr_tok: ["Feature","map","up-sampling","."]
code: def upsample(self, x, factor: float, size: Tuple[int, int]):
      """Feature map up-sampling."""
      return self.interpolate(x, scale_factor=factor, size=size)
  
imports: from functools import partial
  from typing import Tuple, List, Union
  import torch
  import torch.nn
  import torch.nn.functional
  from timm.data import IMAGENET_DEFAULT_MEAN, IMAGENET_DEFAULT_STD
  from timm.layers import PatchEmbed, Mlp, DropPath, to_2tuple, trunc_normal_, _assert, LayerNorm
  from ._builder import build_model_with_cfg
  from ._registry import register_model, generate_default_cfgs
label_desc: Use image node_id 2 for calling the ParallelBlock obj's underlying member method code with example usage: obj.upsample(x, factor, size) and returns: self