pytorch-inference
layers.hpp
Go to the documentation of this file.
1
//
2
// Created by Aman LaChapelle on 5/19/17.
3
//
4
// pytorch_inference
5
// Copyright (c) 2017 Aman LaChapelle
6
// Full license at pytorch_inference/LICENSE.txt
7
//
8
9
#ifndef PYTORCH_INFERENCE_LAYERS_HPP
10
#define PYTORCH_INFERENCE_LAYERS_HPP
11
12
#include "
modules/Layer.hpp
"
13
14
#include "
modules/Activations.hpp
"
15
#include "
modules/Branch.hpp
"
16
#include "
modules/Concatenate.hpp
"
17
#include "
modules/Convolution.hpp
"
18
#include "
modules/Linear.hpp
"
19
#include "
modules/RNN.hpp
"
20
#include "
modules/Normalization.hpp
"
21
#include "
modules/Pooling.hpp
"
22
#include "
modules/Slice.hpp
"
23
#include "
modules/Sum.hpp
"
24
#include "
modules/Difference.hpp
"
25
#include "
modules/Product.hpp
"
26
#include "
modules/Divisor.hpp
"
27
28
namespace
pytorch
{
29
33
enum
dims
{
34
n
= 3,
35
k
= 2,
36
h
= 0,
37
w
= 1
38
};
39
40
}
// pytorch
41
42
43
44
#endif //PYTORCH_INFERENCE_LAYERS_HPP
pytorch::w
Definition:
layers.hpp:37
Normalization.hpp
RNN.hpp
pytorch::h
Definition:
layers.hpp:36
Divisor.hpp
pytorch::k
Definition:
layers.hpp:35
Convolution.hpp
Product.hpp
Concatenate.hpp
Difference.hpp
pytorch::n
Definition:
layers.hpp:34
Sum.hpp
Linear.hpp
Activations.hpp
pytorch
Definition:
inference_engine.hpp:21
Layer.hpp
Branch.hpp
Slice.hpp
pytorch::dims
dims
Convenience enum to use whenever you need to specify a dimension (like in Concat) ...
Definition:
layers.hpp:33
Pooling.hpp
include
layers.hpp
Generated by
1.8.13