def __init__(self, name: str='test', representation_net: RepresentationNetwork=None, value_net_type: OutputNetworkType=None, value_net_kwargs: dict={}):
    super().__init__(name, representation_net, value_net_type, value_net_kwargs)
    if (self.representation_net is not None):
        self.value_net2 = get_output_network_from_type(value_net_type)(vector_dim=self.representation_net.h_dim, **value_net_kwargs)
    else:
        self.value_net2 = get_output_network_from_type(value_net_type)(**value_net_kwargs)
def __init__(self, name: str='test', representation_net: RepresentationNetwork=None, value_net_type: OutputNetworkType=None, value_net_kwargs: dict={}):
    super().__init__(name, representation_net, value_net_type, value_net_kwargs)
    if (self.representation_net is not None):
        self.value_net2 = get_output_network_from_type(value_net_type)(vector_dim=self.representation_net.h_dim, **value_net_kwargs)
    else:
        self.value_net2 = get_output_network_from_type(value_net_type)(**value_net_kwargs)