import tensorflow as tf

                                                               minimize(loss, global_step=global_step)     
            else:
                raise NotImplementedError('activation not recognized')   
            # init op
            init_op = tf.global_variables_initializer()
        
        # Save into class members
        self.X = X
