(self, data_instances, half_g, encrypted_half_g, batch_index,
                                       current_suffix, offset=None)
return self.host_forwards
gradient = (1/N)*sum(wx - y) * x
        Define wx -y  as guest_forward and wx as host_forward
gradient = (1/N)*sum(wx - y) * x
        Define wx -y  as guest_forward and wx as host_forward
gradient = ( 1 / N ) * sum ( wx - y ) * x Define wx - y as guest_forward and wx as host_forward
def compute_and_aggregate_forwards(self, data_instances, half_g, encrypted_half_g, batch_index,
                                       current_suffix, offset=None):
        """
        gradient = (1/N)*sum(wx - y) * x
        Define wx -y  as guest_forward and wx as host_forward
        """
        self.host_forwards = self.get_host_forward(suffix=current_suffix)
        return self.host_forwards
def compute_and_aggregate_forwards ( self , data_instances , half_g , encrypted_half_g , batch_index , current_suffix , offset = None ) : self . host_forwards = self . get_host_forward ( suffix = current_suffix ) return self . host_forwards