{struct A_API B {}`是什么意思?

时间:2019-12-30 11:56:48

标签: c++

我正在阅读pytorch的C ++源代码,并且我注意到它清除了这样的struct或class:

struct CAFFE2_API SparseTensorImpl : public TensorImpl {
...
};

代码在pytorch/aten/src/ATen/SparseTensorImpl.h

事实上,我从未见过这样的代码。我所见的都是struct Aclass A。尽管可能并不重要,但我仍然混淆CAFFE2_API在这里的含义。

0 个答案:

没有答案