Caffe2 - C++ API
A deep learning, cross platform ML framework
Related Pages
Modules
Data Structures
Files
C++ API
Python API
GitHub
File List
Globals
torch
csrc
api
include
torch
data
samplers
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
torch
Definition:
jit_type.h:17
torch::data::samplers::CustomBatchRequest
A base class for custom index types.
Definition:
custom_batch_request.h:10
Generated on Thu Mar 21 2019 13:06:22 for Caffe2 - C++ API by
1.8.11