class_docstr: Core layer of IRV classifier, architecture described in:
  https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2750043/
class_docstr_tok: ["Core","layer","of","IRV","classifier",",","architecture","described","in",":","https",":","\/\/www.ncbi.nlm.nih.gov\/pmc\/articles\/PMC2750043\/"]
code: def build(self, input_shape):
      self.V = tf.Variable(
          tf.constant([0.01, 1.0]), name="vote", dtype=tf.float32
      )
      self.W = tf.Variable(
          tf.constant([1.0, 1.0]), name="w", dtype=tf.float32
      )
      self.b = tf.Variable(
          tf.constant([0.01]), name="b", dtype=tf.float32
      )
      self.b2 = tf.Variable(
          tf.constant([0.01]), name="b2", dtype=tf.float32
      )
  
imports: import numpy
  import tensorflow
  from deepchem.models import KerasModel, layers
  from deepchem.models.losses import SigmoidCrossEntropy
  from tensorflow.keras.layers import Input, Layer, Activation, Concatenate, Lambda
  import warnings
label_desc: Use image node_id 2 for calling the IRVLayer obj's underlying member method code with example usage: obj.build(input_shape) without return types