oneflow.Tensor.byte

Tensor.byte()

self.byte() is equivalent to self.to(oneflow.uint8). See oneflow.Tensor.to()