postproc_ops.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2023-2025, 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 fil {
19 
21 enum struct row_op : unsigned char {
22  disable = 0b00100000,
23  softmax = 0b01000000,
24  max_index = 0b10000000
25 };
26 
28 enum struct element_op : unsigned char {
29  disable = 0b00000000,
30  signed_square = 0b00000001,
31  hinge = 0b00000010,
32  sigmoid = 0b00000100,
33  exponential = 0b00001000,
34  logarithm_one_plus_exp = 0b00010000
35 };
36 
37 } // namespace fil
38 } // namespace ML
row_op
Definition: postproc_ops.hpp:21
element_op
Definition: postproc_ops.hpp:28
Definition: dbscan.hpp:29