See Federal Rules of Criminal Procedure

Jury trial, waiver, twelve jurors or less by written stipulation, trial by court on general or special findings, Rule 23.