miniBatchSizeChanged ======================================== .. js:function:: FullyConnectedLayer.miniBatchSizeChanged() ミニバッチのサイズが変わった時の処理 ソース ^^^^^^ .. code-block:: js miniBatchSizeChanged(){ super.miniBatchSizeChanged(); this.outZero = new Float32Array(miniBatchSize * this.unitSize); this.z_ = new ArrayView(miniBatchSize, this.unitSize); this.y_ = new ArrayView(miniBatchSize, this.unitSize); this.deltaX = new ArrayView(miniBatchSize, this.prevLayer.unitSize); this.deltaZ = new ArrayView(miniBatchSize, this.unitSize); if(!this.nextLayer){ // 最後の場合 this.deltaY = new ArrayView(miniBatchSize, this.unitSize); } }