Raleigh police are investigating the death of a 2-year-old boy found inside a motel Wednesday afternoon as a homicide.