This project implements reverse mode automatic differentiation with continuation passing style (CPS). Tensors and scalars are both supported with number type of float64, float32, or complex128. Gradient was inspired by Lantern as described by this paper.