标签: c++
我正在阅读pytorch的C ++源代码,并且我注意到它清除了这样的struct或class:
pytorch
struct CAFFE2_API SparseTensorImpl : public TensorImpl { ... };
代码在pytorch/aten/src/ATen/SparseTensorImpl.h
pytorch/aten/src/ATen/SparseTensorImpl.h
事实上,我从未见过这样的代码。我所见的都是struct A或class A。尽管可能并不重要,但我仍然混淆CAFFE2_API在这里的含义。
struct A
class A
CAFFE2_API