Caffe2 - C++ API
A deep learning, cross platform ML framework
collate.h
1 #pragma once
2 
3 #include <torch/data/example.h>
4 #include <torch/data/transforms/lambda.h>
5 
6 #include <vector>
7 
8 namespace torch {
9 namespace data {
10 namespace transforms {
11 
15 template <typename T, typename BatchType = std::vector<T>>
16 using Collation = BatchTransform<BatchType, T>;
17 
31 template <typename T, typename BatchType = std::vector<T>>
32 using Collate = BatchLambda<BatchType, T>;
33 } // namespace transforms
34 } // namespace data
35 } // namespace torch
Definition: jit_type.h:17