TF Ops (Part 1)
Learn about common arithmetic and string operations performed on tensors in the TF framework.
We'll cover the following
The TF framework provides us with a variety of ops. Here, we discuss commonly used arithmetic and string ops.
Arithmetic ops
Some commonly used arithmetic ops supported by the TF framework include:
tf.add()
for additiontf.subtract()
for subtractiontf.multiply()
for multiplicationtf.divide()
for divisiontf.pow()
for taking the powertf.square()
for taking the squaretf.exp()
for exponentiation
We implement these operations in the following code example:
Get hands-on with 1400+ tech skills courses.