dlinear
0.0.1
Delta-complete SMT solver for linear programming
Loading...
Searching...
No Matches
NodeOpType.h
1
7
#pragma once
8
9
#include <istream>
10
#include <string>
11
12
namespace
dlinear::onnx
{
13
15
enum class
NodeOpType
{
16
Abs
,
17
Add
,
18
AveragePool
,
19
BatchNormalization
,
20
Concat
,
21
Constant
,
22
Conv
,
23
Dropout
,
24
Flatten
,
25
Gather
,
26
Gemm
,
27
GlobalAveragePool
,
28
Identity
,
29
LeakyRelu
,
30
LRN
,
31
MatMul
,
32
MaxPool
,
33
Mul
,
34
Relu
,
35
Reshape
,
36
Sigmoid
,
37
Sign
,
38
Slice
,
39
Softmax
,
40
Squeeze
,
41
Sub
,
42
Transpose
,
43
Unsqueeze
,
44
};
45
46
std::ostream& operator<<(std::ostream& os,
const
NodeOpType
& op_type);
52
NodeOpType
parseNodeOpType
(
const
std::string& op_type);
53
54
}
// namespace dlinear::onnx
dlinear::onnx
Namespace for the ONNX parser of the dlinear library.
Definition
Driver.cpp:20
dlinear::onnx::NodeOpType
NodeOpType
Type of node operation.
Definition
NodeOpType.h:15
dlinear::onnx::NodeOpType::Unsqueeze
@ Unsqueeze
Unsqueeze.
dlinear::onnx::NodeOpType::Dropout
@ Dropout
Dropout.
dlinear::onnx::NodeOpType::Abs
@ Abs
Absolute value.
dlinear::onnx::NodeOpType::Sigmoid
@ Sigmoid
Sigmoid.
dlinear::onnx::NodeOpType::Sign
@ Sign
Sign.
dlinear::onnx::NodeOpType::Softmax
@ Softmax
Softmax.
dlinear::onnx::NodeOpType::Squeeze
@ Squeeze
Squeeze.
dlinear::onnx::NodeOpType::Flatten
@ Flatten
Flatten.
dlinear::onnx::NodeOpType::MaxPool
@ MaxPool
Max pooling.
dlinear::onnx::NodeOpType::MatMul
@ MatMul
Matrix multiplication.
dlinear::onnx::NodeOpType::Mul
@ Mul
Multiplication.
dlinear::onnx::NodeOpType::Gemm
@ Gemm
General matrix multiplication.
dlinear::onnx::NodeOpType::Relu
@ Relu
ReLU.
dlinear::onnx::NodeOpType::LeakyRelu
@ LeakyRelu
Leaky ReLU.
dlinear::onnx::NodeOpType::GlobalAveragePool
@ GlobalAveragePool
Global average pooling.
dlinear::onnx::NodeOpType::Reshape
@ Reshape
Reshape.
dlinear::onnx::NodeOpType::Gather
@ Gather
Gather.
dlinear::onnx::NodeOpType::Transpose
@ Transpose
Transpose.
dlinear::onnx::NodeOpType::Identity
@ Identity
Identity.
dlinear::onnx::NodeOpType::Constant
@ Constant
Constant.
dlinear::onnx::NodeOpType::Conv
@ Conv
Convolution.
dlinear::onnx::NodeOpType::Slice
@ Slice
Slice.
dlinear::onnx::NodeOpType::Concat
@ Concat
Concatenation.
dlinear::onnx::NodeOpType::BatchNormalization
@ BatchNormalization
Batch normalization.
dlinear::onnx::NodeOpType::Sub
@ Sub
Subtraction.
dlinear::onnx::NodeOpType::Add
@ Add
Addition.
dlinear::onnx::NodeOpType::AveragePool
@ AveragePool
Average pooling.
dlinear::onnx::NodeOpType::LRN
@ LRN
Local response normalization.
dlinear::onnx::parseNodeOpType
NodeOpType parseNodeOpType(const std::string &op_type)
Parse a string to a node operation type.
Definition
NodeOpType.cpp:109
dlinear
parser
onnx
NodeOpType.h
Generated by
1.11.0