projects
/
platform
/
core
/
ml
/
nntrainer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac528d1
)
[layer] Bug fix for permute layer
author
Parichay Kapoor
<pk.kapoor@samsung.com>
Fri, 19 Nov 2021 10:07:02 +0000
(19:07 +0900)
committer
Jijoong Moon
<jijoong.moon@samsung.com>
Mon, 29 Nov 2021 07:09:44 +0000
(16:09 +0900)
Permute layer backward bug in the calculation of the reverse
direction of the permute is fixed.
Signed-off-by: Parichay Kapoor <pk.kapoor@samsung.com>
nntrainer/layers/permute_layer.cpp
patch
|
blob
|
history
diff --git
a/nntrainer/layers/permute_layer.cpp
b/nntrainer/layers/permute_layer.cpp
index
9c53cc2
..
068d3dd
100644
(file)
--- a/
nntrainer/layers/permute_layer.cpp
+++ b/
nntrainer/layers/permute_layer.cpp
@@
-59,7
+59,7
@@
void PermuteLayer::finalize(InitLayerContext &context) {
/*** @todo deprecate this */
direction_str = buildTrasposeString(direction);
- rdirection_str = buildTrasposeString(direction);
+ rdirection_str = buildTrasposeString(
reverse_
direction);
};
initiate_direction();