Exemplo n.º 1
0
def preprocess_input(x, data_format=None):
    return _preprocess(x, data_format, mode='torch', backend=K)
Exemplo n.º 2
0
 def preprocess_input(self, x, data_format='channel_last'):
     return _preprocess(x, data_format, mode='torch')
def preprocess_input(x, data_format=None):
    return _preprocess(x, data_format, mode="torch")