class_docstr: NestedTensor
class_docstr_tok: ["NestedTensor"]
code: def __init__(self, tensors, mask: Optional[Tensor]):
      self.tensors = tensors
      self.mask = mask
  
file_path: towhee/towhee/models/coformer/utils.py
imports: import torch
  from torch import Tensor
  import torch.distributed
  from typing import Optional, List
label_desc: Use image node_id 1 to create a new NestedTensor object from inherited base classes: object with example: obj = NestedTensor(tensors, mask)