Hi,
You can check shape of the input which causes the error (see error message carefully, kernel size == 4 but input size == 3, makes input size < kernel size). You can see it simply by print(input_hoge_hoge). Or, it implies more elements in input or less kernel size.
And you can use word of “python” at beginning of three quotations of “`” to insert your code between quotations makes python code readable with indent.