Lines Matching defs:dim1
50 /// Given the n-D transpose pattern 'transp', return true if 'dim0' and 'dim1'
54 /// Example 1: dim0 = 0, dim1 = 2, transp = [2, 1, 0]
55 /// Return true: dim0 and dim1 are transposed within the context of their 2D
58 /// Example 2: dim0 = 0, dim1 = 1, transp = [2, 1, 0]
59 /// Return true: dim0 and dim1 are transposed within the context of their 2D
60 /// transposition slice ([1, 0]). Paradoxically, note how dim1 (1) is *not*
63 /// Example 3: dim0 = 0, dim1 = 1, transp = [2, 0, 1]
64 /// Return false: dim0 and dim1 are *not* transposed within the context of
66 /// and dim1 (1) are transposed within the full context of the of the
68 static bool areDimsTransposedIn2DSlice(int64_t dim0, int64_t dim1,
71 // dim0 is found first, dim0 and dim1 are not transposed within the context of
72 // their 2D slice. Otherwise, 'dim1' is found first and they are transposed.
76 if (permDim == dim1)