(self)
return len(self.eval_data['y'])
Number of test samples for this client.

        Return:
            int: Number of test samples for this client
Number of test samples for this client.
Number of test samples for this client .
def num_test_samples(self):
        """Number of test samples for this client.

        Return:
            int: Number of test samples for this client
        """
        if self.eval_data is None:
            return 0
        return len(self.eval_data['y'])
def num_test_samples ( self ) : if self . eval_data is None : return 0 return len ( self . eval_data [ 'y' ] )