+++ /dev/null
-#ifndef __NNCC_CORE_ADT_PAD_INFO_H__
-#define __NNCC_CORE_ADT_PAD_INFO_H__
-
-#include <cstdint>
-
-namespace nncc
-{
-namespace core
-{
-namespace ADT
-{
-
-class PadInfo
-{
-public:
- PadInfo(uint32_t top, uint32_t bottom, uint32_t left, uint32_t right)
- : _top{top}, _bottom{bottom}, _left{left}, _right{right}
- {
- // DO NOTHING
- }
-
-public:
- uint32_t top(void) const { return _top; }
- uint32_t bottom(void) const { return _bottom; }
- uint32_t left(void) const { return _left; }
- uint32_t right(void) const { return _right; }
-
-private:
- uint32_t _top;
- uint32_t _bottom;
- uint32_t _left;
- uint32_t _right;
-};
-
-} // namespace ADT
-} // namespace core
-} // namespace nncc
-
-#endif // __NNCC_CORE_ADT_PAD_INFO_H__
+++ /dev/null
-#ifndef __NNCC_CORE_ADT_STRIDE_INFO_H__
-#define __NNCC_CORE_ADT_STRIDE_INFO_H__
-
-#include <cstdint>
-
-namespace nncc
-{
-namespace core
-{
-namespace ADT
-{
-
-class StrideInfo
-{
-public:
- StrideInfo(uint32_t vertical, uint32_t horizontal) : _vertical{vertical}, _horizontal{horizontal}
- {
- // DO NOTHING
- }
-
-public:
- uint32_t vertical(void) const { return _vertical; }
- uint32_t horizontal(void) const { return _horizontal; }
-
-private:
- uint32_t _horizontal;
- uint32_t _vertical;
-};
-
-} // namespace ADT
-} // namepsace core
-} // namespace nncc
-
-#endif // __NNCC_CORE_ADT_STRIDE_INFO_H__
+++ /dev/null
-#include <nncc/core/ADT/PadInfo.h>
-
-#include <gtest/gtest.h>
-
-TEST(ADT_PAD_INFO, ctor)
-{
- const uint32_t top = 3;
- const uint32_t bottom = 4;
- const uint32_t left = 5;
- const uint32_t right = 6;
-
- nncc::core::ADT::PadInfo pad_info{top, bottom, left, right};
-
- ASSERT_EQ(pad_info.top(), top);
- ASSERT_EQ(pad_info.bottom(), bottom);
- ASSERT_EQ(pad_info.left(), left);
- ASSERT_EQ(pad_info.right(), right);
-}
+++ /dev/null
-#include <nncc/core/ADT/StrideInfo.h>
-
-#include <gtest/gtest.h>
-
-TEST(ADT_STRIDE_INFO, ctor)
-{
- const uint32_t vertical = 3;
- const uint32_t horizontal = 4;
-
- nncc::core::ADT::StrideInfo stride_info{vertical, horizontal};
-
- ASSERT_EQ(stride_info.vertical(), vertical);
- ASSERT_EQ(stride_info.horizontal(), horizontal);
-}