how to expand tensor of multi dim arrays by using Taylor series in tensorflow?
问题 I am trying to feed the pixel vector to the convolutional neural network (CNN), where the pixel vector came from image data like cifar-10 dataset. Before feeding the pixel vector to CNN, I need to expand the pixel vector with Taylor expansion. The point is, I figured out how to expand tensor with one dim, but not able to get it right for tensor with dim >2. Can anyone one give me ideas of how to apply Taylor expansion of one dim tensor to tensor dim more than 1? is there any heuristics