import tensorflow as tf

        
        # set some important options
        if self._gpu == -1:
            sess_config = tf.ConfigProto(device_count = {'GPU': 0},
                                         allow_soft_placement=True)
        else:
