TP_DIM selects the spatial dimension of each point P and Q and must be in the range [1, 4]. All of 1D (TP_DIM = 1), 2D, 3D, and 4D are supported on AIE, AIE-ML, and AIE-MLv2.
Regardless of TP_DIM, each point still occupies a fixed four-element group in memory (see Input Data below); only the first TP_DIM elements of each group are used in the calculation, and the remaining 4 - TP_DIM elements are ignored.