12 : m_DimData(outShape.GetNumDimensions())
16 unsigned int sIn0 = 1;
17 unsigned int sIn1 = 1;
18 unsigned int sOut = 1;
20 for (
unsigned int j = numDims - 1, k = 0; k < numDims ; k++, j--)
22 m_DimData[j].m_DimSize = outShape[j];
23 m_DimData[j].m_Stride1 = (inShape0[j] > 1) ? sIn0 : 0;
24 m_DimData[j].m_Stride2 = (inShape1[j] > 1) ? sIn1 : 0;
25 m_DimData[j].m_StrideOut = sOut;
34 : m_DimData(outShape.GetNumDimensions())
39 unsigned int sOut = 1;
41 for (
unsigned int j = numDims - 1, k = 0; k < numDims ; k++, j--)
43 m_DimData[j].m_DimSize = outShape[j];
44 m_DimData[j].m_Stride1 = (inShape[j] > 1) ? sIn : 0;
45 m_DimData[j].m_StrideOut = sOut;