Force borderType to be set to `ZEROFILLED` in pooling operator creation
Fix check for gtest availability( previosly was `getst` instead of `gtest` )
Add status message instead silent fail if tests cannot be build
Signed-off-by: Vladimir Plazun <v.plazun@partner.samsung.com>
nncc_find_package(FlatBuffers QUIET)
if (NOT FlatBuffers_FOUND)
+ message(STATUS "FlatBuffers_FOUND is not set")
return()
endif()
-if (NOT TARGET getst)
- # we can't built this target properly if unit tests is disabled
+if (NOT TARGET gtest)
+ message(STATUS "gtest is not available, we can't build this target properly if unit tests are disabled")
return()
endif()
static INode::Ref createPool(std::unique_ptr<Graph>& g, const opinfo::OperatorInfo* opInfo)
{
return g->create<ops::PoolOp>("y", getShapeParam(opInfo, 0), getShapeParam(opInfo, 1),
- getPoolingType(opInfo), getPaddingType(opInfo));
+ getPoolingType(opInfo), getPaddingType(opInfo), ops::PoolOp::BorderType::ZEROFILLED);
}
static INode::Ref createConcatenation(std::unique_ptr<Graph>& g, const opinfo::OperatorInfo* opInfo)