code: def test_compare_with_layer_conductance_attr_to_inputs(self) -> None:
      # Note that Layer Conductance and Layer Integrated Gradients (IG) aren't
      # exactly the same. Layer IG computes partial derivative of the output
      # with respect to the layer and sums along the straight line. While Layer
      # Conductance also computes the same partial derivatives it doesn't use
      # the straight line but a path defined by F(i) - F(i - 1).
      # However, in some cases when that path becomes close to a straight line,
      # Layer IG and Layer Conductance become numerically very close.
      model = BasicModel_MultiLayer()
      input = torch.tensor([[50.0, 50.0, 50.0]], requires_grad=True)
      self._assert_compare_with_layer_conductance(model, input, True)
  
imports: from typing import Any, cast, List, Tuple, Union
  import torch
  from captum.attr._core.integrated_gradients import IntegratedGradients
  from captum.attr._core.layer.layer_activation import LayerActivation
  from captum.attr._core.layer.layer_conductance import LayerConductance
  from captum.attr._core.layer.layer_integrated_gradients import LayerIntegratedGradients
  from captum.attr._models.base import configure_interpretable_embedding_layer, remove_interpretable_embedding_layer
  from tests.helpers.basic import assertTensorAlmostEqual, assertTensorTuplesAlmostEqual, BaseTest
  from tests.helpers.basic_models import BasicEmbeddingModel, BasicModel_MultiLayer, BasicModel_MultiLayer_TrueMultiInput
  from torch import Tensor
  from torch.nn import Module
label_desc: Use image node_id 5 for calling the Test obj's underlying member method code with example usage: obj.test_compare_with_layer_conductance_attr_to_inputs() without return types