FREMONT -- A Fremont woman was recovering on Tuesday after being attacked with a hammer outside her home by two men, police said.

Officers were dispatched about 9:10 a.m. Monday to a home in the 43700 block of Greenhills Way just off Pine Street, east of Interstate 680, for a report of a deadly weapon, said police spokeswoman Geneva Bosques.

A woman told police she was getting into her car, parked in her driveway on Greenhills Way, when she was assaulted.

The men approached her from behind, told her not to say anything, then began to attack her for an unknown reason, Bosques said. One of the suspects, who held what appeared to be a plastic hammer or rubber mallet, struck the woman in the face several times.

The other suspect punched the woman in the back of her head, Bosques said.

Both men then ran off, Bosques said.

"The victim stated that it didn't appear they were trying to take the vehicle or kidnap her, that they were just there to hurt her," Bosques said.

The woman was taken to a hospital for treatment of severe face and head injuries and was later released.

A motive for the attack was not known on Tuesday and no arrests had been made. Detailed descriptions of the men were not available.

Anyone who witnessed the armed robbery or who has information about the crime is asked to call 510-790-6800 or the anonymous tip line at 510-494-4856.

Contact Natalie Neysa Alund at 510-293-2469. Follow her at Twitter.com/nataliealund.