Update modeling_super_linear.py
Browse files535 unmodified lines536537538539539540541542535 unmodified lines # ------------------------------------------------------------------
def upsample_dim1(self, x, target_len: int = 512, mode: str = "linear"): def upsample_dim1(self, x, target_len: int = 512, mode: str = "bicubic"): # -------- bring the dim-1 axis to the PyTorch 1-D “length” position -------- orig_shape = x.shape ndim = x.ndimmodeling_super_linear.py+1-1