code: def test_dynamo(self, device, dtype, torch_optimizer):
      src1, src2, alpha, beta, gamma = self.get_input(
          device, dtype, size=3
      )
      inputs = (src1, alpha, src2, beta, gamma)
  
      op = TestAddWeighted.fcn
      op_optimized = torch_optimizer(op)
  
      assert_close(
          op(*inputs), op_optimized(*inputs), atol=1e-4, rtol=1e-4
      )
  
file_path: kornia/test/enhance/test_core.py
imports: import random
  import pytest
  import torch
  from torch.autograd import gradcheck
  import kornia
  import kornia.testing
  from kornia.core import Tensor
  from kornia.testing import assert_close
label_desc: Use image node_id 5 for calling the TestAddWeighted obj's underlying member method code with example usage: obj.test_dynamo(device, dtype, torch_optimizer) without return types