Caffe2 - C++ API
A deep learning, cross platform ML framework
elementwise_sub_op.cc
1 
17 #include "caffe2/operators/elementwise_op.h"
18 
19 namespace caffe2 {
20 
21 // See the operations supported here:
22 // https://eigen.tuxfamily.org/dox-devel/group__QuickRefPage.html
23 #define EIGEN_SUB(x, y) ((x) - (y))
24 EIGEN_FUNCTOR(Sub, EIGEN_SUB, NumericTypes, SameTypeAsInput);
25 #undef EIGEN_SUB
26 }
Copyright (c) 2016-present, Facebook, Inc.