call method

Lc0Output call(
  1. Tensor input
)

Implementation

Lc0Output call(Tensor input) {
  if (input.shape.length != 4 ||
      input.shape[0] != 1 ||
      input.shape[1] != 112 ||
      input.shape[2] != 8 ||
      input.shape[3] != 8) {
    throw ArgumentError(
      'Lc0Net: expected input [1, 112, 8, 8]; got ${input.shape}',
    );
  }
  return callBatch([input])[0];
}