This code sample shows how using the dual version of an intuitive model can yield expressivity and performance benefits.