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

    const { target_shape = [] } = attrs
    this.targetShape = target_shape

    this.description = `target shape: ${JSON.stringify(this.targetShape)}`

    // GPU setup
    if (this.gpu) {
      this.mapInputProgram = webgl2.compileProgram(mapInputProgramSource)
    }
  }
Creates a Reshape layer

@param {Object} [attrs] - layer config attributes
@param {number[]} [attrs.target_shape]