set net to "test" mode (disable dropout)