Revert D25607505: Add formulas and basic tests
Test Plan: revert-hammer
Differential Revision:
D25607505 (https://github.com/pytorch/pytorch/commit/70f59055654b22982b26f48f37718ca9af6c7f9f)
Original commit changeset: fe2315d58768
fbshipit-source-id: 519d7426a6f32f0db51c4f360e5d5a79dbaac99d