code: def sequence_length(
      self, n_channels=3, frames=8, height=224, width=224
  ):
      return self.forward(
          torch.zeros((1, n_channels, frames, height, width))
      ).shape[1]
  
imports: import torch
  from torch import nn, einsum
  import torch.nn.functional
  from einops import rearrange, repeat
label_desc: Use image node_id 2 for calling the Tokenizer obj's underlying member method code with example usage: obj.sequence_length(n_channels, frames, height, width) and returns: self