docstr: This performs the tests of https://github.com/google-research/jax-influence/blob/74bd321156b5445bb35b9594568e4eaaec1a76a3/jax_influence/arnoldi_test.py#L96 # noqa: E501
  See `_test_parameter_arnoldi_and_distill` documentation for 'arnoldi'
  mode for details.
docstr_tok: ["This","performs","the","tests","of","https",":","\/\/github.com\/google-research\/jax-influence\/blob\/74bd321156b5445bb35b9594568e4eaaec1a76a3\/jax_influence\/arnoldi_test.py","#","L96","#","noqa",":","E501","See","`","_test_parameter_arnoldi_and_distill","`","documentation","for","'arnoldi'","mode","for","details","."]
code: def test_parameter_arnoldi(
      self,
      symmetric: bool,
      eigenvalues: Tensor,
      k: int,
      arnoldi_dim: int,
      params_shapes: List[Tuple],
  ):
      """
      This performs the tests of https://github.com/google-research/jax-influence/blob/74bd321156b5445bb35b9594568e4eaaec1a76a3/jax_influence/arnoldi_test.py#L96 # noqa: E501
      See `_test_parameter_arnoldi_and_distill` documentation for 'arnoldi'
      mode for details.
      """
      self._test_parameter_arnoldi_and_distill(
          "arnoldi",
          symmetric,
          eigenvalues,
          k,
          arnoldi_dim,
          params_shapes,
      )
  
imports: import tempfile
  from typing import Callable, List, Tuple, Union
  import torch
  import torch.nn
  from captum.influence._core.arnoldi_influence_function import _parameter_arnoldi, _parameter_distill, ArnoldiInfluenceFunction
  from captum.influence._core.influence_function import NaiveInfluenceFunction
  from captum.influence._utils.common import _eig_helper, _flatten_params, _top_eigen, _unflatten_params_factory
  from parameterized import parameterized
  from tests.helpers.basic import assertTensorAlmostEqual, BaseTest
  from tests.influence._utils.common import _format_batch_into_tuple, build_test_name_func, DataInfluenceConstructor, ExplicitDataset, generate_assymetric_matrix_given_eigenvalues, generate_symmetric_matrix_given_eigenvalues, get_random_model_and_data, UnpackDataset, USE_GPU_LIST
  from torch import Tensor
  from torch.utils.data import DataLoader
label_desc: Use image node_id 2 for calling the TestArnoldiInfluence obj's underlying member method code with example usage: obj.test_parameter_arnoldi(symmetric, eigenvalues, k, arnoldi_dim, params_shapes) without return types