[nncc.core] Add 'Iterable' class (#189)
author박종현/동작제어Lab(SR)/Senior Engineer/삼성전자 <jh1302.park@samsung.com>
Wed, 2 May 2018 10:50:38 +0000 (19:50 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Wed, 2 May 2018 10:50:38 +0000 (19:50 +0900)
commit51cc4c5fb079c665d0698d4d7b9f80bc7d093600
tree797e8bbbf323dc6ec4b4f13b754caef571f4fb6e
parent725e05f040aa733bf427b1cab855d7126446ec32
[nncc.core] Add 'Iterable' class (#189)

This commit adds 'Iterable' class which faciliates the use of
'iterate' method based on lambda.

This commit also revises 'tensor::IndexRange' class using newly
introduced 'Iterable' class.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
libs/core/include/nncc/core/ADT/Iterable.h [new file with mode: 0644]
libs/core/include/nncc/core/ADT/tensor/IndexRange.h
libs/core/src/nncc/core/ADT/tensor/IndexRange.test.cpp