T1 in (tensor(double)tensor(float), tensor(float16)) : Constrain types to float tensors.

T2 in (tensor(int32)) : Constrain types to int tensors.