postproc_ops.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2023, NVIDIA CORPORATION.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 #pragma once
17 namespace ML {
18 namespace experimental {
19 namespace fil {
20 
22 enum struct row_op : unsigned char {
23  disable = 0b00100000,
24  softmax = 0b01000000,
25  max_index = 0b10000000
26 };
27 
29 enum struct element_op : unsigned char {
30  disable = 0b00000000,
31  signed_square = 0b00000001,
32  hinge = 0b00000010,
33  sigmoid = 0b00000100,
34  exponential = 0b00001000,
35  logarithm_one_plus_exp = 0b00010000
36 };
37 
38 } // namespace fil
39 } // namespace experimental
40 } // namespace ML
element_op
Definition: postproc_ops.hpp:29
row_op
Definition: postproc_ops.hpp:22
Definition: dbscan.hpp:30