docstr: Test builder `create_audio_visual_slowfast` with callable inputs.
docstr_tok: ["Test","builder","`","create_audio_visual_slowfast","`","with","callable","inputs","."]
code: def test_create_avslowfast_with_callable(self):
      """
      Test builder `create_audio_visual_slowfast` with callable inputs.
      """
      for norm, activation in itertools.product(
          (nn.BatchNorm3d, None), (nn.ReLU, nn.Sigmoid, None)
      ):
          input_channel = 3
  
          model = create_audio_visual_slowfast(
              input_channels=(input_channel, input_channel, 1),
              model_depth=18,
              norm=norm,
              activation=activation,
          )
  
          # Test forwarding.
          for tensor in TestAVSlowFast._get_inputs(input_channel):
              with torch.no_grad():
                  if tensor[0].shape[1] != input_channel:
                      with self.assertRaises(RuntimeError):
                          model(tensor)
                      continue
  
                  model(tensor)
  
file_path: pytorchvideo/tests/test_models_audio_visual_slowfast.py
imports: import itertools
  import unittest
  from typing import Tuple
  import torch
  from pytorchvideo.models.audio_visual_slowfast import create_audio_visual_slowfast
  from pytorchvideo.transforms.functional import uniform_temporal_subsample_repeated
  from torch import nn
label_desc: Use image node_id 2 for calling the TestAVSlowFast obj's underlying member method code with example usage: obj.test_create_avslowfast_with_callable() without return types