def save(self, path, name, save_meta=True):
        '''Saves model as a sequence of files in the format:
            {path}/{name}_{'dec', 'disc', 'dec_opt',
            'disc_opt', 'meta'}.h5

        Parameters
        ----------
        path : str
            The directory of the file you wish to save the model to.
        name : str
            The name prefix of the model and optimizer files you wish
            to save.
        save_meta [optional] : bool
            Flag that controls whether to save the class metadata along with
            the generator, discriminator, and respective optimizer states.
        '''
        _save_model(self.dec, str(path), "%s_dec" % str(name))
        _save_model(self.disc, str(path), "%s_disc" % str(name))
        _save_model(self.dec_opt, str(path), "%s_dec_opt" % str(name))
        _save_model(self.disc_opt, str(path), "%s_disc_opt" % str(name))
        if save_meta:
            self._save_meta(os.path.join(path, "%s_meta" % str(name)))
Saves model as a sequence of files in the format:
            {path}/{name}_{'dec', 'disc', 'dec_opt',
            'disc_opt', 'meta'}.h5

        Parameters
        ----------
        path : str
            The directory of the file you wish to save the model to.
        name : str
            The name prefix of the model and optimizer files you wish
            to save.
        save_meta [optional] : bool
            Flag that controls whether to save the class metadata along with
            the generator, discriminator, and respective optimizer states.