Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I15eeda7d63d134194faa9fa09ff6a23d928b208b
slot->GetNumConnections() == 1 &&
canUseSubTensorOnXorY) //(5)
{
+ ARMNN_NO_DEPRECATE_WARN_BEGIN
return factory.CreateSubTensorHandle(*parentTensor,
info.GetShape(),
currentLayer->m_Param.GetViewOrigin(i));
+ ARMNN_NO_DEPRECATE_WARN_END
}
return std::unique_ptr<ITensorHandle>();
};
GetOutputSlot(i).GetConnection(0)->GetOwningLayer().GetType() != LayerType::Input && //(3)
canUseSubTensorOnXorY) //(4)
{
+ ARMNN_NO_DEPRECATE_WARN_BEGIN
return factory.CreateSubTensorHandle(*inputData,
info.GetShape(),
this->m_Param.GetViewOrigin(i));
+ ARMNN_NO_DEPRECATE_WARN_END
}
return std::unique_ptr<ITensorHandle>();
};