class_docstr: Video Text Dual Transformer model as defined in CLIP4CLIP.
class_docstr_tok: ["Video","Text","Dual","Transformer","model","as","defined","in","CLIP4CLIP","."]
code: def build_flax_model(self) -> nn.Module:
      clip_vision_config = utils.get_vit_clip_config(
          self.config.model.clip_version
      )
      clip_text_config = utils.get_text_clip_config(
          self.config.model.clip_version
      )
      return VideoAndTextModule(
          clip_vision_config=clip_vision_config,
          clip_text_config=clip_text_config,
          temporal_agg=self.config.model.temporal_agg,
      )
  
imports: from typing import Any, Optional
  import flax.linen
  import jax
  import jax.numpy
  import ml_collections
  from scenic.model_lib.base_models import base_model
  from scenic.projects.baselines.clip import layers
  from scenic.projects.baselines.clip import model
  from scenic.projects.verbs_in_action import losses
  from scenic.projects.verbs_in_action import utils
label_desc: Use image node_id 1 for calling the VideoAndTextModel obj's underlying member method code with example usage: obj.build_flax_model() and returns: VideoAndTextModule