keras/src/layers/reshaping/up_sampling1d.py/UpSampling1D/compute_output_shape
class UpSampling1D:    def compute_output_shape(self, input_shape):
        size = (
            self.size * input_shape[1] if input_shape[1] is not None else None
        )
        return [input_shape[0], size, input_shape[2]]