def empty_tensor(input, shape):
    if paddle.in_dynamic_mode():
        return input.reshape(shape)
    raise ValueError('only support x is nonempty tensor in static mode')
def empty_tensor(input, shape):
    if paddle.in_dynamic_mode():
        return input.reshape(shape)
    raise ValueError('only support x is nonempty tensor in static mode')