@templatedoc()
def polygon_box_transform(input, name=None):
    "\n    ${comment}\n\n    Args:\n        input(Variable): The input with shape [batch_size, geometry_channels, height, width].\n                         A Tensor with type float32, float64.\n        name(str, Optional): For details, please refer to :ref:`api_guide_Name`.\n                        Generally, no setting is required. Default: None.\n\n    Returns:\n        Variable: The output with the same shape as input. A Tensor with type float32, float64.\n\n    Examples:\n        .. code-block:: python\n            \n            import paddle.fluid as fluid\n            input = fluid.data(name='input', shape=[4, 10, 5, 5], dtype='float32')\n            out = fluid.layers.polygon_box_transform(input)\n    "
    check_variable_and_dtype(input, 'input', ['float32', 'float64'], 'polygon_box_transform')
    helper = LayerHelper('polygon_box_transform', **locals())
    output = helper.create_variable_for_type_inference(dtype=input.dtype)
    helper.append_op(type='polygon_box_transform', inputs={'Input': input}, attrs={}, outputs={'Output': output})
    return output
${comment}

Args:
    input(Variable): The input with shape [batch_size, geometry_channels, height, width].
                     A Tensor with type float32, float64.
    name(str, Optional): For details, please refer to :ref:`api_guide_Name`.
                    Generally, no setting is required. Default: None.

Returns:
    Variable: The output with the same shape as input. A Tensor with type float32, float64.

Examples:
    .. code-block:: python
        
        import paddle.fluid as fluid
        input = fluid.data(name='input', shape=[4, 10, 5, 5], dtype='float32')
        out = fluid.layers.polygon_box_transform(input)
@templatedoc()
def polygon_box_transform(input, name=None):
    "\n    ${comment}\n\n    Args:\n        input(Variable): The input with shape [batch_size, geometry_channels, height, width].\n                         A Tensor with type float32, float64.\n        name(str, Optional): For details, please refer to :ref:`api_guide_Name`.\n                        Generally, no setting is required. Default: None.\n\n    Returns:\n        Variable: The output with the same shape as input. A Tensor with type float32, float64.\n\n    Examples:\n        .. code-block:: python\n            \n            import paddle.fluid as fluid\n            input = fluid.data(name='input', shape=[4, 10, 5, 5], dtype='float32')\n            out = fluid.layers.polygon_box_transform(input)\n    "
    check_variable_and_dtype(input, 'input', ['float32', 'float64'], 'polygon_box_transform')
    helper = LayerHelper('polygon_box_transform', **locals())
    output = helper.create_variable_for_type_inference(dtype=input.dtype)
    helper.append_op(type='polygon_box_transform', inputs={'Input': input}, attrs={}, outputs={'Output': output})
    return output