Let's now look at different mathematical computations using tensors:
Let's define two scalars and try to add and multiply them using TensorFlow:
We can add and multiply them and display the results:
We can also create a new scalar tensor by adding the two tensors:
We can also perform complex tensor functions: