@@ -419,19 +419,30 @@ SparseTensor<SparseIndexType>::SparseTensor(const Tensor& tensor)
419419// ----------------------------------------------------------------------
420420// Instantiate templates
421421
422- #define INSTANTIATE_SPARSE_TENSOR (IndexType ) \
423- template class ARROW_TEMPLATE_EXPORT SparseTensor<IndexType>; \
424- template ARROW_EXPORT SparseTensor<IndexType>::SparseTensor(const NumericTensor<UInt8Type>&); \
425- template ARROW_EXPORT SparseTensor<IndexType>::SparseTensor(const NumericTensor<UInt16Type>&); \
426- template ARROW_EXPORT SparseTensor<IndexType>::SparseTensor(const NumericTensor<UInt32Type>&); \
427- template ARROW_EXPORT SparseTensor<IndexType>::SparseTensor(const NumericTensor<UInt64Type>&); \
428- template ARROW_EXPORT SparseTensor<IndexType>::SparseTensor(const NumericTensor<Int8Type>&); \
429- template ARROW_EXPORT SparseTensor<IndexType>::SparseTensor(const NumericTensor<Int16Type>&); \
430- template ARROW_EXPORT SparseTensor<IndexType>::SparseTensor(const NumericTensor<Int32Type>&); \
431- template ARROW_EXPORT SparseTensor<IndexType>::SparseTensor(const NumericTensor<Int64Type>&); \
432- template ARROW_EXPORT SparseTensor<IndexType>::SparseTensor(const NumericTensor<HalfFloatType>&); \
433- template ARROW_EXPORT SparseTensor<IndexType>::SparseTensor(const NumericTensor<FloatType>&); \
434- template ARROW_EXPORT SparseTensor<IndexType>::SparseTensor(const NumericTensor<DoubleType>&)
422+ #define INSTANTIATE_SPARSE_TENSOR (IndexType ) \
423+ template class ARROW_TEMPLATE_EXPORT SparseTensor<IndexType>; \
424+ template ARROW_EXPORT SparseTensor<IndexType>::SparseTensor( \
425+ const NumericTensor<UInt8Type>&); \
426+ template ARROW_EXPORT SparseTensor<IndexType>::SparseTensor( \
427+ const NumericTensor<UInt16Type>&); \
428+ template ARROW_EXPORT SparseTensor<IndexType>::SparseTensor( \
429+ const NumericTensor<UInt32Type>&); \
430+ template ARROW_EXPORT SparseTensor<IndexType>::SparseTensor( \
431+ const NumericTensor<UInt64Type>&); \
432+ template ARROW_EXPORT SparseTensor<IndexType>::SparseTensor( \
433+ const NumericTensor<Int8Type>&); \
434+ template ARROW_EXPORT SparseTensor<IndexType>::SparseTensor( \
435+ const NumericTensor<Int16Type>&); \
436+ template ARROW_EXPORT SparseTensor<IndexType>::SparseTensor( \
437+ const NumericTensor<Int32Type>&); \
438+ template ARROW_EXPORT SparseTensor<IndexType>::SparseTensor( \
439+ const NumericTensor<Int64Type>&); \
440+ template ARROW_EXPORT SparseTensor<IndexType>::SparseTensor( \
441+ const NumericTensor<HalfFloatType>&); \
442+ template ARROW_EXPORT SparseTensor<IndexType>::SparseTensor( \
443+ const NumericTensor<FloatType>&); \
444+ template ARROW_EXPORT SparseTensor<IndexType>::SparseTensor( \
445+ const NumericTensor<DoubleType>&)
435446
436447INSTANTIATE_SPARSE_TENSOR (SparseCOOIndex);
437448INSTANTIATE_SPARSE_TENSOR (SparseCSRIndex);
0 commit comments