"His brothers and sisters are all still alive. He just was the weaker one and was separated when the water went in the garage."

"It's very lucky we found him in time. It's like a miracle he's alive now. I'll look after him and feed him to get his strength back," he told the Daily Mail.

And in a very happy final twist, the soldier adopted the pup, whom he's named Champion.

Then, miraculously, the tiny animal gasps and whimpers. Sukudom brought the dog back to life.

Thai soldier Weeraphon Sukudom gives CPR and heart massages to a tiny puppy caught in a flooded garage, saving his life. Credit:Facebook

Thailand has been inundated by flooding last month, thanks to a particularly nasty typhoon season. Across the country, people living near swollen rivers have been evacuated.

On the popular tourist island of Phuket, roads are submerged and planes are grounded. In Bangkok, low-lying areas were inundated by water. Schools and businesses have been shut down, and government officials passed out drinking water, food and medicine.

This year has brought record rainfall. In August, a storm turned 10 of Thailand's 77 provinces into disaster zones. Rice fields were decimated. (The country is the world's second-biggest rice exporter.)

Experts say at least $US300 million in damage has been done. And scores of people have died because of flooding.

Thailand's ruling junta has proposed a 10-year water management plan, but it's still under review.