Say we got a tensor like thisx = [[[1,2],[3,4]],[[5,6],[7,8]]]. I want a tensorflow operation such that it returns adding 1 to every element of first nested tensor. i.e. the result the operation will return [[[2,3],[3,4]],[[6,7],[7,8]]].
I know the tf.map_fn operation, but I don't find a way to implement using this operation. How to solve this problem?