argmax now uses inference annotation