class recognitionClass:
Z = self.model(X, W, b, W_prime, b_prime)
def model(X, W, b, W_prime, b_prime):
with tf.name_scope("layer2"):
Y = tf.nn.sigmoid(tf.matmul(X, W) + b)
with tf.name_scope("layer3"):
Z = tf.nn.sigmoid(tf.matmul(Y, W_prime) + b_prime)
print("Y: "+str(Y))
return Z