class_docstr: Rotary position embedding w/ concatenatd sin & cos
  
  The following impl/resources were referenced for this impl:
  * https://github.com/lucidrains/vit-pytorch/blob/6f3a5fcf0bca1c5ec33a35ef48d97213709df4ba/vit_pytorch/rvt.py
  * https://blog.eleuther.ai/rotary-embeddings/
code: def get_embed(self, shape: Optional[List[int]] = None):
      if self.bands is not None and shape is not None:
          # rebuild embeddings every call, use if target shape changes
          embeds = build_rotary_pos_embed(
              shape,
              self.bands,
              in_pixels=self.in_pixels,
              ref_feat_shape=self.ref_feat_shape,
          )
          return torch.cat(embeds, -1)
      elif self.pos_embed is not None:
          return self.pos_embed
      else:
          assert (
              False
          ), "get_embed() requires pre-computed pos_embed or valid shape w/ pre-computed bands"
  
imports: import math
  from typing import List, Tuple, Optional, Union
  import torch
  from torch import nn
  from .trace_utils import _assert
label_desc: Use image node_id 2 for calling the RotaryEmbeddingCat obj's underlying member method code with example usage: obj.get_embed(shape) and returns: torch, self