Remove code duplication (#15880)
authorSebastian Messmer <messmer@fb.com>
Tue, 15 Jan 2019 01:55:13 +0000 (17:55 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 15 Jan 2019 01:59:37 +0000 (17:59 -0800)
commit4ed9de8680864a6a77b0861d1a74ba4faaeaa041
treea6f85e80231b34a30a162c0ba0a905de5f66521a
parentddece5a7936d04282eea3a3fb4b42d29ce899dd2
Remove code duplication (#15880)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/15880

The layer_norm reference was implemented twice. Removing one of them.

Reviewed By: dzhulgakov

Differential Revision: D13611232

fbshipit-source-id: cee96c78d3255c3a4e34300693bf9260cf096615
caffe2/python/operator_test/layer_norm_op_test.py