def _pad(converter, node: Any, inputs: List[str]) -> Any:
    x_in = converter.outputs[inputs[0]]
    p = converter.outputs[inputs[1]]
    paddings_t = p.attr['value'].tensor
    paddings_arr = list(array.array('I', paddings_t.tensor_content))
    paddings_lst = [paddings_arr[i:(i + 2)] for i in range(0, len(paddings_arr), 2)]
    return converter.protocol.pad(x_in, paddings_lst)
def _pad(converter, node: Any, inputs: List[str]) -> Any:
    x_in = converter.outputs[inputs[0]]
    p = converter.outputs[inputs[1]]
    paddings_t = p.attr['value'].tensor
    paddings_arr = list(array.array('I', paddings_t.tensor_content))
    paddings_lst = [paddings_arr[i:(i + 2)] for i in range(0, len(paddings_arr), 2)]
    return converter.protocol.pad(x_in, paddings_lst)