class_docstr: Represent a batch of latents/scenes
docstr: Return the batch size, B
docstr_tok: ["Return","the","batch","size",",","B"]
code: def batch_size(self):
      """Return the batch size, B"""
      return self.tensor.shape[0]
  
imports: from typing import List, NamedTuple, Optional, Union
  import torch
  from torch import Tensor
label_desc: Use image node_id 2 for calling the Scenes obj's underlying member method code with example usage: obj.batch_size() and returns: self