Пример #1
0
def max(x, axis=None, keepdims=False):
    return _KerasNode('max', tensor=plaidml_op.max(x.tensor, axis, keepdims))
Пример #2
0
def max(x, axis=None, keepdims=False):
    logger.debug('max(x: {}, axis: {}, keepdims: {})'.format(
        x, axis, keepdims))
    return _KerasNode('max', tensor=plaidml_op.max(x.tensor, axis, keepdims))