From 642dea487d385a789c929ad302f84fedab24850c Mon Sep 17 00:00:00 2001 From: Xiaolong Wang Date: Thu, 28 Sep 2017 10:07:28 -0700 Subject: [PATCH] update inline comment Summary: as desc Reviewed By: kennyhorror Differential Revision: D5930526 fbshipit-source-id: 510388fd66b487410ff748a9e6f546a8ce27bc1d --- caffe2/python/layers/layers.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/caffe2/python/layers/layers.py b/caffe2/python/layers/layers.py index a603ac97f9c8b..77ac5518dda02 100644 --- a/caffe2/python/layers/layers.py +++ b/caffe2/python/layers/layers.py @@ -338,16 +338,17 @@ def add_operators(self, net, init_net=None, self.add_ops(net) def add_ops(self, net): + # Predict layer implementation. raise NotImplementedError def add_eval_ops(self, net): - # Default train layer implementation is completely matching predict - # layer implementation. + # Default eval layer implementation is completely matching + # predict layer implementation. self.add_ops(net) def add_train_ops(self, net): - # Default eval layer implementation is completely matching eval - # layer implementation. + # Default train layer implementation is completely matching + # eval layer implementation. self.add_eval_ops(net) def add_ops_to_accumulate_pred(self, net):