# 导入数值计算模块 import numpy as np import tensorflow as tf # 创建计算会话 sess = tf.Session() # 生成数据,创建占位符和变量A x_vales = np.random.normal(, ) y_vals = np.repeat(., ) x_data = tf.placeholder(shape=[], dtype=tf.float32) y_target = tf.placeholder(shape=[], dtype=t…