Creating Tensors
import tensorflow as tf
Create a Function
x = tf.constant([[1., 2., 3.]]) # Create a 1x3 tensor
print(x) # Prints [[1., 2., 3.]]
Learn TensorFlow with hands-on training courses and specialization programs
kanger dev
Basic TensorFlow Tutorial
Learn TensorFlow with hands-on training courses and specialization programs