[mir2loco] Rename existing Pad class (#7386)
author채성우/On-Device Lab(SR)/Engineer/삼성전자 <sw4670.chae@samsung.com>
Wed, 11 Sep 2019 07:51:16 +0000 (16:51 +0900)
committerAlexander Efimov/AI Tools Lab/./Samsung Electronics <a.efimov@samsung.com>
Wed, 11 Sep 2019 07:51:16 +0000 (10:51 +0300)
This commit is for renaming existing Pad class in mir2loco.

Signed-off-by: seongwoo <sw4670.chae@samsung.com>
compiler/mir2loco/src/mir2loco.cpp

index 06586a0..288bcf9 100644 (file)
@@ -55,7 +55,7 @@ std::unique_ptr<loco::TensorShape> make_tensor_shape(const mir::Shape &shape)
 }
 
 void setupPad(const std::vector<std::int32_t> &padding_before,
-              const std::vector<std::int32_t> &padding_after, loco::Pad<2> *pad)
+              const std::vector<std::int32_t> &padding_after, loco::Padding2D *pad)
 {
   assert(padding_before.size() == 2 && padding_after.size() == 2);
   pad->left(padding_before.at(0));