Perpectron model keras