T in (tensor(bool)) : Constrain input to boolean tensor.

T1 in (tensor(bool)) : Constrain output to boolean tensor.