Three-dimensional transformer model.