Signature.normalized#

Signature.normalized(func=None)#

Return a copy of Signature object where all signatures are normalized to Type instances using the current target device information.

Parameters:

func ({None, callable}) – Python function that annotations are attached to signature.

Returns:

signature

Return type:

Signature