tensorflow:添加隐藏层 搭建神经网络
# coding:UTF-8import osimport tensorflow as tfimport numpy as npimport matplotlib.pyplot as pltos.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' # 忽略不必要的警告# 添加隐藏层def add_layer(inputs, in_size, out_s...