Tensorflow——實現簡單的線性迴歸

                                                         實現步驟  引入庫 import tensorflow as tf import numpy as np 數據的隨機生成 #使用numpy生成100個隨機點 x_data = np.random.rand(100) y_data = x_data*0.1 + 0.2 構造一個線性模型
相關文章
相關標籤/搜索