[SimpleShot] add centroid nearest neighbor layer
authorJihoon Lee <jhoon.it.lee@samsung.com>
Sat, 9 Jan 2021 12:58:34 +0000 (21:58 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Tue, 2 Mar 2021 01:29:05 +0000 (10:29 +0900)
commit295283dff41f2247a139b56ec88e72857fe02773
treec1e64ccf45314edc82d4dcfba88a778a22bb3bdf
parentde545a87ca4e15ebd1a3914527f60d17921b556d
[SimpleShot] add centroid nearest neighbor layer

Add centroid nearest neighbor layer with validation

v2: renamed to centroid_knn for brevity

**Self evaluation:**
1. Build test: [X]Passed [ ]Failed [ ]Skipped
2. Run test: [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Jihoon Lee <jhoon.it.lee@samsung.com>
Applications/SimpleShot/layers/centroid_knn.cpp [new file with mode: 0644]
Applications/SimpleShot/layers/centroid_knn.h [new file with mode: 0644]
Applications/SimpleShot/meson.build
Applications/SimpleShot/test/meson.build
Applications/SimpleShot/test/simpleshot_centroid_knn.cpp [new file with mode: 0644]
nntrainer/layers/layer.cpp
nntrainer/layers/layer_internal.h
nntrainer/models/neuralnet.cpp