Fix numeric limits in `Tensor`
authorJihoon Lee <jhoon.it.lee@samsung.com>
Fri, 12 Jun 2020 06:04:55 +0000 (15:04 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Fri, 12 Jun 2020 07:55:50 +0000 (16:55 +0900)
commit11c669a8f69fbd80321012e1b0d8dbc186a578e6
tree6ea0668da1be909cd9f0d5d6d65acefd54b0f375
parentf01bbce29756d97db58e28ab9f33ac6f8732eb11
Fix numeric limits in `Tensor`

**Changes proposed in this PR:**
- Add `static constexpr min / max` to Tensor
- Change normalization to use predefined method for accelaration

Resolves #141

**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>
nntrainer/include/tensor.h
nntrainer/src/tensor.cpp