sponge.function.get_integer
===============================

.. image:: https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/website-images/r2.2/resource/_static/logo_source.svg
    :target: https://gitee.com/mindspore/mindscience/blob/r0.5/MindSPONGE/docs/api/api_python/function/sponge.function.get_integer.rst
    :alt: 查看源文件


.. py:function:: sponge.function.get_integer(value: Union[int, Tensor, Parameter, ndarray])

    获取输入的整数类型。

    参数:
        - **value** (Union[int, Tensor, Parameter, ndarray]) - 输入的值。

    返回:
        int。输入value的整型类型。