torchsig.models.model_utils.model_utils_1d.conversions_to_1d.get_1d_kernel

torchsig.models.model_utils.model_utils_1d.conversions_to_1d.get_1d_kernel(kernel2d)[source]

adjusts kernel shapes from 2d to 1d; returns 1d shape (single int)