|
Algorithm 3 The proposed Softmax function. |
Require:
Ensure:
-
1:
for
do
-
2:
-
3:
end for
-
4:
-
5:
for
do
-
6:
-
7:
-
8:
end for
-
9:
if
then
-
10:
exit(1);
-
11:
end if
-
12:
for
do
-
13:
-
14:
-
15:
end for
-
16:
if
then
-
17:
exit(1);
-
18:
end if
-
19:
if
then
-
20:
exit(1);
-
21:
end if
|