def predict(sess, network, X, x, y_op):
 dp_dict = dict_to_one(network.all_drop)
 feed_dict = {x: X}
 feed_dict.update(dp_dict)
 return sess.run(y_op, feed_dict=feed_dict)

def predict ( sess , network , X , x , y_op ) : dp_dict = dict_to_one ( network . all_drop ) feed_dict = { x : X } feed_dict . update ( dp_dict ) return sess . run ( y_op , feed_dict = feed_dict )
get the features for a batch of data using network inputs: in_data: data batch .