oneflow.Tensor.half

Tensor.half()

self.half() is equivalent to self.to(dtype=oneflow.float16).

See oneflow.Tensor.to()