code: def setUp(self):
      self.input_layer = layers.Input(batch_shape=(None, 4))
      self.w1 = [1.0, 2.0, 3.0, 4.0]
      self.w2 = [-1.0, -2.0, -3.0, -4.0]
      W = np.array([self.w1, self.w2]).T
      b = np.array([-1.0, 1.0])
      self.dense_layer = layers.Dense(
          kernel=W, bias=b, dense_mxts_mode=DenseMxtsMode.Linear
      )
      self.dense_layer.set_inputs(self.input_layer)
      self.dense_layer.build_fwd_pass_vars()
      self.dense_layer.set_scoring_mode(layers.ScoringMode.OneAndZeros)
      self.dense_layer.set_active()
      self.input_layer.update_mxts()
      self.inp = [[1.0, 1.0, 1.0, 1.0], [2.0, 2.0, 2.0, 2.0]]
  
file_path: deeplift/tests/layers/test_dense.py
imports: from __future__ import division
  from __future__ import print_function
  from __future__ import absolute_import
  import unittest
  from unittest import skip
  import sys
  import os
  import numpy
  import deeplift
  import deeplift.layers
  from deeplift.layers import DenseMxtsMode
  from deeplift.util import compile_func
label_desc: Use image node_id 1 for calling the TestDense obj's underlying member method code with example usage: obj.setUp() without return types