docstr: Test builder `create_acoustic_resnet` with callable inputs.
code: def test_create_acoustic_resnet_with_callable(self):
      """
      Test builder `create_acoustic_resnet` with callable inputs.
      """
      _input_channel = 1
      for norm, activation in itertools.product(
          (nn.BatchNorm3d, None), (nn.ReLU, nn.Sigmoid, None)
      ):
          model = create_acoustic_resnet(
              input_channel=_input_channel,
              stem_conv_kernel_size=(3, 3, 3),
              model_depth=50,
              model_num_class=400,
              dropout_rate=0,
              norm=norm,
              activation=activation,
              stem_dim_out=8,
              stem_pool=None,
              stem_pool_kernel_size=(1, 3, 3),
              stem_pool_stride=(1, 2, 2),
              stage_conv_a_kernel_size=(3, 1, 1),
              stage_conv_b_kernel_size=(1, 3, 3),
              stage_spatial_h_stride=(2, 1, 1, 1),
              stage_spatial_w_stride=(2, 1, 1, 1),
              stage_temporal_stride=(2, 1, 1, 1),
              head_pool=nn.AvgPool3d,
              head_output_size=(1, 1, 1),
              head_activation=nn.Softmax,
          )
  
          # Test forwarding.
          for tensor in TestResNet._get_acoustic_inputs(
              _input_channel, 8, 56
          ):
              with torch.no_grad():
                  if tensor.shape[1] != _input_channel:
                      with self.assertRaises(RuntimeError):
                          model(tensor)
                      continue
                  model(tensor)
  
imports: import itertools
  import os
  import unittest
  import numpy
  import torch
  from pytorchvideo.models.head import ResNetBasicHead
  from pytorchvideo.models.net import Net
  from pytorchvideo.models.resnet import BottleneckBlock, create_acoustic_bottleneck_block, create_acoustic_resnet, create_bottleneck_block, create_res_block, create_res_stage, create_resnet, create_resnet_with_roi_head, ResBlock, ResStage, SeparableBottleneckBlock
  from pytorchvideo.models.stem import ResNetBasicStem
  from torch import nn
label_desc: Use image node_id 5 for calling the TestResNet obj's underlying member method code with example usage: obj.test_create_acoustic_resnet_with_callable() without return types