sponge.function.get_integer

View Source On Gitee
sponge.function.get_integer(value: Union[int, Tensor, Parameter, ndarray])[source]

get integer type of the input value

Parameters

value (Union[int, Tensor, Parameter, ndarray]) – Input value

Returns

integer (int)

Supported Platforms:

Ascend GPU CPU