(self, package_class=PackingCipherTensorPackage, sync_para=True)
Parameters
        ----------
        package_class type of compressed packages
Parameters
        ----------
        package_class type of compressed packages
Parameters ---------- package_class type of compressed packages
def __init__(self, package_class=PackingCipherTensorPackage, sync_para=True):

        """
        Parameters
        ----------
        package_class type of compressed packages
        """

        self._package_class = package_class
        self._padding_length, self._capacity = None, None
        if sync_para:
            self.transfer_var = CipherCompressorTransferVariable()
            # received from host
            self._padding_length, self._capacity = self.transfer_var.compress_para.get(idx=0)
            LOGGER.debug("received parameter from guest is {} {}".format(self._padding_length, self._capacity))
def __init__ ( self , package_class = PackingCipherTensorPackage , sync_para = True ) : self . _package_class = package_class self . _padding_length , self . _capacity = None , None if sync_para : self . transfer_var = CipherCompressorTransferVariable ( ) # received from host self . _padding_length , self . _capacity = self . transfer_var . compress_para . get ( idx = 0 ) LOGGER . debug ( "received parameter from guest is {} {}" . format ( self . _padding_length , self . _capacity ) )