I have two large dogs ( working line German shepherd and a st bernard) both private rescues or rehomes (the shepherd was 3 months old when we got him, the St Bernard was 18 months) and both from difficult backgrounds (St Bernard was left to it in a field without shelter, German Shepherd proved too much for his first owner to handle). My toddler was under 1.
Me and my partner both worked in rescue for over 20 years between us. We have seen it all from aggression, to nervousness, to loving bombproof dogs, to pure mentally unstable animals that shouldn't be near people.
Strangely enough we had more problems with small lapdog and terrier breeds in terms of aggression, the amount of dogs who are treated as portable stuffed toys and not like dogs resulting in a confused animal that has no idea how to interact appropriately with either it's own species or humans is crazy. We had small dogs with do not enter signs on kennels who had to be corralled into pens before carrying out cleaning and feeding. There were large dogs with aggression issues but this was normally down to fear from lack of socialization which was easily overcome.
Spaniels with rage syndrome was something we came across 6 times and that resulted in the dogs being put to sleep, those dogs are far too dangerous to be around anybody. And it comes on with no warning or signals or reason.
I grew up around German Shepherds and found them generally to be even tempered and reliable. My grandfather rescued them and never once did we end up with a dog that couldn't be rehabilitated to the point of being safe around him, most became friendly reliable dogs around children.
My own boys are gentle, good with the child. Friendly with visitors, don't jump up and respond to commands instantly. They will halt on the spot even at a distance when commanded to do so. It took a lot of work.
I still would not leave my child with them alone, I doubt they would ever attack and they are very careful with their paws but they are animals with teeth and health issues and injuries can occur in dogs. Even the most placid dog will react to pain and a warning snap at a child can cause damage even when it was not intended by the dog to do so. It doesnt matter whether that dog is large or small life changing injuries can occur and a bite from a small dog can cause death when aimed at the neck.
Don't leave any dog unattended around children and don't allow children to interact with a dog until you have owned it for a few months and know it's temperament in all situations.
As for those saying labs don't kill, or seriously maim, yes they do
www.irishtimes.com/news/ireland/irish-news/garda%C3%AD-to-prepare-inquest-file-after-infant-girl-attacked-by-family-pet-dog-1.4587926
www.dailymail.co.uk/news/article-2003849/Boy-3-left-horrific-facial-injuries-Labrador-savages-Poole-Harbour.html
www.mirror.co.uk/news/uk-news/mum-takes-down-mirrors-home-20333269
www.news24.com/you/archive/little-boy-killed-by-family-labrador-in-horror-attack-20170728
www.nydailynews.com/news/national/dog-killed-2-month-old-baby-ripped-child-legs-father-slept-room-police-article-1.1065711
www.sunshinecoastdaily.com.au/news/scd-familys-shock-as-pet-labrador-attacks-baby-son/319679/
Just a few cases and that was a 5 minute search