MCPcopy Create free account
hub / github.com/pytorch/pytorch / add_eval_ops

Method add_eval_ops

caffe2/python/layers/layers.py:459–462  ·  view source on GitHub ↗
(self, net)

Source from the content-addressed store, hash-verified

457 raise NotImplementedError
458
459 def add_eval_ops(self, net):
460 # Default eval layer implementation is completely matching
461 # predict layer implementation.
462 self.add_ops(net)
463
464 def add_train_ops(self, net):
465 # Default train layer implementation is completely matching

Callers 3

add_operatorsMethod · 0.95
add_train_opsMethod · 0.95

Calls 1

add_opsMethod · 0.95

Tested by

no test coverage detected