(self, points)
return tf.reduce_sum(quadratic, axis=1, keepdims=True)
Like evaluate, but returns a tensorflow tensor instead.
Like evaluate, but returns a tensorflow tensor instead.
Like evaluate but returns a tensorflow tensor instead .
def build_evaluation(self, points):
        """Like evaluate, but returns a tensorflow tensor instead."""
        linear_form = tf.matmul(points, self.matrix)
        quadratic = linear_form * points
        return tf.reduce_sum(quadratic, axis=1, keepdims=True)
def build_evaluation ( self , points ) : linear_form = tf . matmul ( points , self . matrix ) quadratic = linear_form * points return tf . reduce_sum ( quadratic , axis = 1 , keepdims = True )