3 #include <torch/data/example.h> 4 #include <torch/data/transforms/lambda.h> 10 namespace transforms {
15 template <
typename T,
typename BatchType = std::vector<T>>
16 using Collation = BatchTransform<BatchType, T>;
31 template <
typename T,
typename BatchType = std::vector<T>>
32 using Collate = BatchLambda<BatchType, T>;