- qspec.cast ( * args , dtype )[source]
Cast the arguments
argsto the specifieddtype.- Parameters:
-
- argsAny
The arguments.
- dtypeCallable[[Any], T]
The type of the cast arguments.
- Returns:
-
- args_casttuple[T, ...]
The cast arguments.
Cast the arguments args to the specified dtype.
The arguments.
The type of the cast arguments.
The cast arguments.