Caffe2 - C++ API
A deep learning, cross platform ML framework
custom_batch_request.h
1 #pragma once
2 
3 #include <cstddef>
4 #include <torch/csrc/WindowsTorchApiMacro.h>
5 
6 namespace torch {
7 namespace data {
8 namespace samplers {
10 struct TORCH_API CustomBatchRequest {
11  virtual ~CustomBatchRequest() = default;
12 
14  virtual size_t size() const = 0;
15 };
16 } // namespace samplers
17 } // namespace data
18 } // namespace torch
Definition: jit_type.h:17
A base class for custom index types.