constructor(attrs = {}) {
    this.layerClass = 'Layer'
    this.name = attrs.name
    this.description = ''
    this.gpu = webgl2.isSupported && attrs.gpu

    this.params = []
    this.weights = {}

    this.inbound = []
    this.outbound = []
  }
Creates a layer

@param {Object} [attrs] - layer attributes