def __init__(self, first_token, key_to_value, prev_names = None): # Here we just list some likely combinations.. you can just add any # combinations you want to use, to this list. assert first_token in ['attention-renorm-layer', 'attention-relu-renorm-layer', 'relu-renorm-attention-layer'] XconfigLayerBase.__init__(self, first_token, key_to_value, prev_names)
def __init__(self, first_token, key_to_value, prev_names = None): # Here we just list some likely combinations.. you can just add any # combinations you want to use, to this list. assert first_token in ['attention-renorm-layer', 'attention-relu-renorm-layer', 'attention-relu-batchnorm-layer', 'relu-renorm-attention-layer'] XconfigLayerBase.__init__(self, first_token, key_to_value, prev_names)
def __init__(self, first_token, key_to_value, prev_names = None): assert first_token in [ 'tdnn-relu-layer', 'tdnn-relu-renorm-layer', 'tdnn-sigmoid-layer', 'tdnn-tanh-layer' ] XconfigLayerBase.__init__(self, first_token, key_to_value, prev_names)
def __init__(self, first_token, key_to_value, prev_names=None): assert first_token == "tdnnf-layer" XconfigLayerBase.__init__(self, first_token, key_to_value, prev_names)
def __init__(self, first_token, key_to_value, prev_names=None): XconfigLayerBase.__init__(self, first_token, key_to_value, prev_names)
def __init__(self, first_token, key_to_value, prev_names=None): assert first_token in [ 'tdnn-relu-layer', 'tdnn-relu-renorm-layer', 'tdnn-sigmoid-layer', 'tdnn-tanh-layer' ] XconfigLayerBase.__init__(self, first_token, key_to_value, prev_names)
def __init__(self, first_token, key_to_value, prev_names = None): assert first_token == "lstmpc-layer" XconfigLayerBase.__init__(self, first_token, key_to_value, prev_names)
def __init__(self, first_token, key_to_value, prev_names = None): print first_token assert first_token == "lstmp-layer" XconfigLayerBase.__init__(self, first_token, key_to_value, prev_names)
def __init__(self, first_token, key_to_value, prev_names=None): assert first_token == "channel-average-layer" XconfigLayerBase.__init__(self, first_token, key_to_value, prev_names)
def __init__(self, first_token, key_to_value, prev_names=None): assert first_token == 'res-block' XconfigLayerBase.__init__(self, first_token, key_to_value, prev_names)
def __init__(self, first_token, key_to_value, prev_names=None): for operation in first_token.split('-')[:-1]: assert operation in [ 'conv', 'renorm', 'batchnorm', 'relu', 'dropout' ] XconfigLayerBase.__init__(self, first_token, key_to_value, prev_names)
def __init__(self, first_token, key_to_value, prev_names=None): assert first_token in ['stats-layer'] XconfigLayerBase.__init__(self, first_token, key_to_value, prev_names)
def __init__(self, first_token, key_to_value, prev_names = None): assert first_token == "channel-average-layer" XconfigLayerBase.__init__(self, first_token, key_to_value, prev_names)
def __init__(self, first_token, key_to_value, prev_names = None): assert first_token == 'res-block' XconfigLayerBase.__init__(self, first_token, key_to_value, prev_names)
def __init__(self, first_token, key_to_value, prev_names = None): for operation in first_token.split('-')[:-1]: assert operation in ['conv', 'renorm', 'batchnorm', 'relu', 'dropout'] XconfigLayerBase.__init__(self, first_token, key_to_value, prev_names)