Crate caffe2op_negative
source ·Structs
- | NegagteGradient operator in forward | pass simply copies input to the output, | and in backward pass, flips the sign | of the output gradient |
- | Computes the element-wise negative | of the input. | | Github Links: | | - https://github.com/pytorch/pytorch/blob/master/caffe2/operators/negative_op.cc |