constructor

InputLayer.constructor(channel_size, rows, cols)
引数:
  • channel_size (int) – チャネル数
  • rows (int) – 行数
  • cols (int) – 列数

ソース

constructor(channel_size, rows, cols) {
    super();

    this.numChannels = channel_size;
    this.numRows = rows;
    this.numCols = cols;
    this.unitSize = rows * cols;
}