def __init__(self, name: str='test', vec_dims=[], vis_dims=[], vector_net_kwargs: dict={}, visual_net_kwargs: dict={}, encoder_net_kwargs: dict={}, memory_net_kwargs: dict={}):
    super().__init__(name)
    self.vector_net = MultiVectorNetwork(vec_dims, **vector_net_kwargs)
    logger.debug('initialize vector network successfully.')
    self.visual_net = MultiVisualNetwork(vis_dims, **visual_net_kwargs)
    logger.debug('initialize visual network successfully.')
    encoder_dim = (self.vector_net.h_dim + self.visual_net.h_dim)
    self.encoder_net = EncoderNetwork(encoder_dim, **encoder_net_kwargs)
    logger.debug('initialize encoder network successfully.')
    memory_dim = self.encoder_net.h_dim
    self.memory_net = MemoryNetwork(memory_dim, **memory_net_kwargs)
    logger.debug('initialize memory network successfully.')
    self.h_dim = self.memory_net.h_dim
def __init__(self, name: str='test', vec_dims=[], vis_dims=[], vector_net_kwargs: dict={}, visual_net_kwargs: dict={}, encoder_net_kwargs: dict={}, memory_net_kwargs: dict={}):
    super().__init__(name)
    self.vector_net = MultiVectorNetwork(vec_dims, **vector_net_kwargs)
    logger.debug('initialize vector network successfully.')
    self.visual_net = MultiVisualNetwork(vis_dims, **visual_net_kwargs)
    logger.debug('initialize visual network successfully.')
    encoder_dim = (self.vector_net.h_dim + self.visual_net.h_dim)
    self.encoder_net = EncoderNetwork(encoder_dim, **encoder_net_kwargs)
    logger.debug('initialize encoder network successfully.')
    memory_dim = self.encoder_net.h_dim
    self.memory_net = MemoryNetwork(memory_dim, **memory_net_kwargs)
    logger.debug('initialize memory network successfully.')
    self.h_dim = self.memory_net.h_dim