(self, Xcand)
return acq, tf.gradients(acq, [Xcand], name="acquisition_gradient")[0]
AutoFlow method to compute the acquisition scores for candidates, also returns the gradients.
        
        :return: acquisition scores, size N x 1
            the gradients of the acquisition scores, size N x D
AutoFlow method to compute the acquisition scores for candidates, also returns the gradients.
        
        :return: acquisition scores, size N x 1
            the gradients of the acquisition scores, size N x D
AutoFlow method to compute the acquisition scores for candidates also returns the gradients . : return : acquisition scores size N x 1 the gradients of the acquisition scores size N x D
def evaluate_with_gradients(self, Xcand):
        """
        AutoFlow method to compute the acquisition scores for candidates, also returns the gradients.
        
        :return: acquisition scores, size N x 1
            the gradients of the acquisition scores, size N x D 
        """
        acq = self.build_acquisition(Xcand)
        return acq, tf.gradients(acq, [Xcand], name="acquisition_gradient")[0]
def evaluate_with_gradients ( self , Xcand ) : acq = self . build_acquisition ( Xcand ) return acq , tf . gradients ( acq , [ Xcand ] , name = "acquisition_gradient" ) [ 0 ]