'Perform element-wise binarization.
Arguments:
a (Tensor): input to be transformed.
stochastic (Bool, optional): stochastic or deterministic
out (Tensor, optional): where the result will be stored. If out is
None, only the op-tree will be returned.
Returns:
OpTreeNode: the resulting op-tree'

def binarize(self, a, stochastic=True, out=None):

    return OpTreeNode.build('binarize', a, None, stochastic=stochastic, out=out)
