def METHOD_NAME(self, f0):
    """Calculate V/UV binary sequences.
    Args:
        f0 (Tensor): F0 tensor (B, 1, T // hop_size).
    Returns:
        Tensor: V/UV binary sequences (B, 1, T).
    """
    _, _, T = f0.size()
    uv = interpolate((f0 > 0) * torch.ones_like(f0), T * self.hop_size)
    return uv