Functions like tf.reduce_mean and tf.reduce_prod perform element wise operations to reduce a tensor along an axis. I have a tensor R with shape (1000, 3, 3), a list of 3x3 matrices. What I'd like to do is matrix multiply them so I remain with a single 3x3 matrix. If this was numpy I could use
np.linalg.multi_dot(R)
How can I do this in tensorflow?