diff options
author | Chunseok Lee <chunseok.lee@samsung.com> | 2021-04-20 18:01:41 +0900 |
---|---|---|
committer | Chunseok Lee <chunseok.lee@samsung.com> | 2021-04-20 18:01:41 +0900 |
commit | 589bb1db6db6784efe21b3fbbfbfdb79aaa5f14e (patch) | |
tree | 47a2b23ce4220e3a4150c8b12ed941555272fb0c /runtime/onert/backend/cpu/ops/TileLayer.cc | |
parent | 62529acabbafce7730601ed01d5709d7bc0d378a (diff) | |
download | nnfw-589bb1db6db6784efe21b3fbbfbfdb79aaa5f14e.tar.gz nnfw-589bb1db6db6784efe21b3fbbfbfdb79aaa5f14e.tar.bz2 nnfw-589bb1db6db6784efe21b3fbbfbfdb79aaa5f14e.zip |
Imported Upstream version 1.15.0upstream/1.15.0submit/tizen/20210427.093759submit/tizen/20210423.055448submit/tizen/20210422.015846submit/tizen/20210421.062230accepted/tizen/unified/20210428.040443
Diffstat (limited to 'runtime/onert/backend/cpu/ops/TileLayer.cc')
-rw-r--r-- | runtime/onert/backend/cpu/ops/TileLayer.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/onert/backend/cpu/ops/TileLayer.cc b/runtime/onert/backend/cpu/ops/TileLayer.cc index bfc371972..1f018db93 100644 --- a/runtime/onert/backend/cpu/ops/TileLayer.cc +++ b/runtime/onert/backend/cpu/ops/TileLayer.cc @@ -36,9 +36,8 @@ TileLayer::TileLayer() : _input(nullptr), _multipliers(nullptr), _output(nullptr void TileLayer::tileFloat32() { - TileOneDimension(getTensorShape(_input), reinterpret_cast<const float *>(_input->buffer()), - reinterpret_cast<const int *>(_multipliers->buffer()), - reinterpret_cast<float *>(_output->buffer()), 0); + TileOneDimension(getShape(_input), getBuffer<float>(_input), getBuffer<int>(_multipliers), + getBuffer<float>(_output), 0); } void TileLayer::tileQuant8() |