code: def test_weighted_linear_combo():
      """Test invoking WeightedLinearCombo."""
      input1 = np.random.rand(5, 10).astype(np.float32)
      input2 = np.random.rand(5, 10).astype(np.float32)
      layer = layers.WeightedLinearCombo()
      result = layer([input1, input2])
      assert len(layer.trainable_variables) == 2
      expected = (
          input1 * layer.trainable_variables[0]
          + input2 * layer.trainable_variables[1]
      )
      assert np.allclose(result, expected)
  
imports: import deepchem
  import numpy
  import pytest
  import os
label_desc: Use image node_id 17 for calling a global function with example usage: test_weighted_linear_combo() without return types