close method

void close()

Implementation

void close() {
  if (!ownsBuffers) {
    return;
  }
  for (final hidden in hiddenLayers) {
    hidden.close();
  }
  for (final cell in cellLayers) {
    cell.close();
  }
}