constructor(attrs = {}) {
    super(attrs)
    this.layerClass = 'ThresholdedReLU'

    const { theta = 1 } = attrs

    this.description = `theta: ${theta}`

    this.theta = theta

    // GPU setup
    if (this.gpu) {
      this.program = webgl2.compileProgram(programSource)
    }
  }
Creates a ThresholdedReLU activation layer

@param {Object} [attrs] - layer config attributes
@param {number} [attrs.theta] - float >= 0. Threshold location of activation.