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
12namespace dlinear::onnx {
13
15enum class NodeOpType {
16 Abs,
17 Add,
20 Concat,
21 Constant,
22 Conv,
23 Dropout,
24 Flatten,
25 Gather,
26 Gemm,
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
46std::ostream& operator<<(std::ostream& os, const NodeOpType& op_type);
52NodeOpType parseNodeOpType(const std::string& op_type);
53
54} // namespace dlinear::onnx
Namespace for the ONNX parser of the dlinear library.
Definition Driver.cpp:20
NodeOpType
Type of node operation.
Definition NodeOpType.h:15
@ Abs
Absolute value.
@ MatMul
Matrix multiplication.
@ Mul
Multiplication.
@ Gemm
General matrix multiplication.
@ GlobalAveragePool
Global average pooling.
@ Concat
Concatenation.
@ BatchNormalization
Batch normalization.
@ AveragePool
Average pooling.
@ LRN
Local response normalization.
NodeOpType parseNodeOpType(const std::string &op_type)
Parse a string to a node operation type.