How to Add, Subtract, Multiply and Divide Tensors in TensorFlow
Adding two tensors in TensorFlow adds them value by value: the first to the first, the second to the second, and so on. The same goes for subtracting, multiplying and dividing. This guide does all four on two small tensors in TensorFlow 2.22.0, and shows the one result whose type surprises people.
