code: def get_alpha(self, bs):
      if self.merge_strategy == "fixed":
          return self.mix_factor
      elif self.merge_strategy == "learned":
          return torch.sigmoid(self.mix_factor)
      else:
          raise NotImplementedError()
  
imports: from typing import Callable, Iterable, Union
  import torch
  from einops import rearrange, repeat
  from sgm.modules.diffusionmodules.model import XFORMERS_IS_AVAILABLE, AttnBlock, Decoder, MemoryEfficientAttnBlock, ResnetBlock
  from sgm.modules.diffusionmodules.openaimodel import ResBlock, timestep_embedding
  from sgm.modules.video_attention import VideoTransformerBlock
  from sgm.util import partialclass
label_desc: Use image node_id 2 for calling the VideoResBlock obj's underlying member method code with example usage: obj.get_alpha(bs) and returns: self, torch