code: def test_get_gate_active_probs_1d_input(self) -> None:
      dim = 3
      gstg = GaussianStochasticGates(dim).to(self.testing_device)
      input_tensor = torch.tensor(
          [
              [0.0, 0.1, 0.2],
              [0.3, 0.4, 0.5],
          ]
      ).to(self.testing_device)
  
      gstg(input_tensor)
      gate_active_probs = gstg.get_gate_active_probs()
  
      expected_gate_active_probs = [0.8416, 0.8433, 0.8364]
      assertTensorAlmostEqual(
          self,
          gate_active_probs,
          expected_gate_active_probs,
          mode="max",
      )
  
imports: import unittest
  import torch
  from captum.module.gaussian_stochastic_gates import GaussianStochasticGates
  from parameterized import parameterized_class
  from tests.helpers.basic import assertTensorAlmostEqual, BaseTest
label_desc: Use image node_id 15 for calling the TestGaussianStochasticGates obj's underlying member method code with example usage: obj.test_get_gate_active_probs_1d_input() without return types