def _gather(converter, node: Any, inputs: List[str]) -> Any:
    x_in = converter.outputs[inputs[0]]
    indices = converter.outputs[inputs[1]]
    axis = converter.outputs[inputs[2]]
    if isinstance(x_in, tf.NodeDef):
        input_out = _nodef_to_private_pond(converter, x_in)
    else:
        input_out = x_in
    indices_out = list(_nodef_to_numpy_array(indices))
    axis_val = axis.attr['value'].tensor.int_val[0]
    return converter.protocol.gather(input_out, indices_out, axis_val)
def _gather(converter, node: Any, inputs: List[str]) -> Any:
    x_in = converter.outputs[inputs[0]]
    indices = converter.outputs[inputs[1]]
    axis = converter.outputs[inputs[2]]
    if isinstance(x_in, tf.NodeDef):
        input_out = _nodef_to_private_pond(converter, x_in)
    else:
        input_out = x_in
    indices_out = list(_nodef_to_numpy_array(indices))
    axis_val = axis.attr['value'].tensor.int_val[0]
    return converter.protocol.gather(input_out, indices_out, axis_val)