Libtorch,torch::sigmoid() function return value can changle channel of tensor

libtorch:I use torch::sigmoid() function with [1,1,h,w] shape parameter,it return [1,3,h,w]?why??

This shouldn’t be the case.
Could you post a code snippet to reproduce this issue, please?