This commit is for renaming existing Pad class in exo-tflite.
Related: #7357
Signed-off-by: seongwoo <sw4670.chae@samsung.com>
return idx;
}
-tflite::Padding getOpPadding(const loco::Pad<2> *pad)
+tflite::Padding getOpPadding(const loco::Padding2D *pad)
{
// VALID padding
if (pad->top() == 0 && pad->bottom() == 0 && pad->left() == 0 && pad->right() == 0)
perm->axis(loco::FilterAxis::Width) == 2 && perm->axis(loco::FilterAxis::Depth) == 3;
}
-tflite::Padding getOpPadding(const loco::Pad<2> *pad);
+tflite::Padding getOpPadding(const loco::Padding2D *pad);
/// @brief Register graph input and output names to SerializedModelData
void registerGraphIOName(loco::Graph *graph, SerializedModelData &gd);
return os;
}
-std::ostream &operator<<(std::ostream &os, const loco::Pad<2> &pad)
+std::ostream &operator<<(std::ostream &os, const loco::Padding2D &pad)
{
os << "[TLBR " << pad.top() << "," << pad.left() << "," << pad.bottom() << "," << pad.right()
<< "]";
std::ostream &operator<<(std::ostream &os, const loco::TensorShape &tensor_shape);
/**
- * @brief dump Pad<2> values to stream
+ * @brief dump Padding2D values to stream
*/
-std::ostream &operator<<(std::ostream &os, const loco::Pad<2> &pad);
+std::ostream &operator<<(std::ostream &os, const loco::Padding2D &pad);
} // namespace loco