Update modeling_super_linear.py
Browse files535 unmodified lines536537538539540541542535 unmodified lines# ------------------------------------------------------------------def upsample_dim1(self, x, target_len: int = 512, mode: str = "linear"):# -------- bring the dim-1 axis to the PyTorch 1-D “length” position --------orig_shape = x.shapendim = x.ndim535 unmodified lines536537538539540541542535 unmodified lines# ------------------------------------------------------------------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.shapendim = x.ndim
modeling_super_linear.py+1-1