T in (tensor(float)tensor(float16)) : Constrain input and output types to float tensors.

G in (tensor(int32)) : Constrain to integer types.