Skip to content

Commit

Permalink
update inline comment
Browse files Browse the repository at this point in the history
Summary: as desc

Reviewed By: kennyhorror

Differential Revision: D5930526

fbshipit-source-id: 510388fd66b487410ff748a9e6f546a8ce27bc1d
  • Loading branch information
Xiaolong Wang authored and facebook-github-bot committed Sep 28, 2017
1 parent 2f381bf commit 642dea4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions caffe2/python/layers/layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 642dea4

Please sign in to comment.