constructor

MNIST.constructor(canvas)

ソース

constructor(canvas) {
    this.canvas = canvas;
    this.ctx = this.canvas.getContext('2d');
}