Bug in DmlOperatorResize.cpp with m_inputDimensions (#9456)

This commit is contained in:
Ginés Hidalgo 2021-10-27 05:50:54 -04:00 committed by GitHub
parent 9639eded4b
commit 12f216aab5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -213,7 +213,7 @@ public:
// Find any useless dimensions of size 1 that occur in both input and output.
for (size_t i = 0, rank = m_outputDimensions.size(); i < rank; ++i)
{
if (m_inputDimensions[i] = 1 && m_outputDimensions[i] == 1)
if (m_inputDimensions[i] == 1 && m_outputDimensions[i] == 1)
{
squeezableDimensionIndices.push_back(gsl::narrow_cast<uint32_t>(i));
}