I'm reading pytorch
's C++ source code, and I notice that it declears struct or class like this:
struct CAFFE2_API SparseTensorImpl : public TensorImpl {
...
};
The code is in pytorch/aten/src/ATen/SparseTensorImpl.h
In fact , I've never seen such code before. What I've seen were all struct A
or class A
. Although it may not matter, I'm still confusing what CAFFE2_API
means here.