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