# L1b- Program test instalare si functionare corecta # Tensorflow pe Rpi 5 import tensorflow as tf print("TensorFlow version:", tf.__version__) print("Eager execution:", tf.executing_eagerly()) # Creează un tensor a = tf.constant([[1, 2], [3, 4]]) b = tf.constant([[5, 6], [7, 8]]) # Operație inmultire c = tf.matmul(a, b) print("a =\n", a.numpy()) print("b =\n", b.numpy()) print("a × b =\n", c.numpy())