Build error int to bool

This commit is contained in:
Dwayne Robinson 2022-02-21 22:00:48 -08:00
parent 6db6ee5710
commit 7de86d39d3

View file

@ -1142,7 +1142,7 @@ namespace OperatorHelper
std::vector<uint32_t> inputShape = shapeInformation.GetInputTensorShape(0);
HandleNegativeAxes(/*inout*/ m_axes, gsl::narrow_cast<uint32_t>(inputShape.size()));
HandleEmptyAxes(/*inout*/ m_axes, inputShape, m_noopWithEmptyAxes);
HandleEmptyAxes(/*inout*/ m_axes, inputShape, bool(m_noopWithEmptyAxes));
}
std::vector<EdgeShapes> ReduceHelperBase::GetOutputShapes(const MLShapeInferenceContext& shapeInfo) const