import tensorflow as tf import numpy as np x_data = np.float32(np.random.rand(2,100)) print(x_data) y_data = np.dot([0.100,0.200],x_data) + 0.300 print(y_data) b = tf.Variable(tf.zeros([1])) W = tf.Variable(tf.random_uniform([1,2],-1.0,1.0)) y = tf.m…