func (h *HiddenLayer) ForwardBatch(input [][]float64) [][]float64 { predicted := make([][]float64, len(input)) for i := range input { predicted[i] = nnet.Forward(input[i], h.W, h.B) } return predicted }
// Forward prop func (h *HiddenLayer) Forward(input []float64) []float64 { return nnet.Forward(input, h.W, h.B) }