sofxmax专题

sofxmax sigmod

import tensorflow as tf#此时,权值构成了一个矩阵,而非向量,每个“特征权值列"对应一个输出类别W = tf.Variable(tf.zeros([4, 3]), name = "Weights")#每个偏置也是如此,每个偏置对应一个输出类b = tf.Variable(tf.zeros([3]), name = "bias")def inference(X):retu