{
protected:
// TODO Deprecate this method
- coco::FeatureObject *allocate(const feature::Shape &shape)
+ coco::FeatureObject *allocate(const coco::FeatureShape &shape)
{
auto o = new coco::FeatureObject{};
o->layout(coco::FeatureLayouts::Generic::create(shape));
TEST_F(FeatureObjectTest, ctor)
{
- const nncc::core::ADT::feature::Shape shape{1, 3, 3};
+ const coco::FeatureShape shape{1, 3, 3};
auto o = allocate(shape);
const uint32_t H = 3;
const uint32_t W = 3;
- const nncc::core::ADT::feature::Shape shape{C, H, W};
+ const coco::FeatureShape shape{C, H, W};
auto o = allocate(shape);
TEST_F(FeatureObjectTest, asFeature)
{
- const nncc::core::ADT::feature::Shape shape{1, 3, 3};
+ const coco::FeatureShape shape{1, 3, 3};
auto o = allocate(shape);