Module for applying the sign function with straight through estimator in backward pass.
Methods
quantize
Forwards the tensor through the sign function.
Attributes
bit_width
name
x (torch.Tensor) – tensor to be forwarded.
sign of tensor x
torch.Tensor
Contents: