T in (tensor(bool)tensor(double)tensor(float)tensor(float16)tensor(int16)tensor(int32),
tensor(int64)tensor(int8)tensor(string)tensor(uint16)tensor(uint32)tensor(uint64)tensor(uint8), tensor(complex64), tensor(complex128)) : Constrain to any tensor type. If the dtype attribute is not provided this must be a valid output type.