def get_reconstructed_input(model,hidden): return deep.get_sigmoid(hidden,model.W_prime,model.b_prime)
def get_hidden_values(model, x): return deep.get_sigmoid(x,model.W,model.b)