Layer.output constructor

Layer.output({
  1. required List<Neuron> neurons,
})

Implementation

factory Layer.output({required List<Neuron> neurons}) {
  return Layer._(
    layerType: LayerType.output,
    neurons: neurons,
    previousLayer: null,
    nextLayer: null,
  );
}