Kfold method validation

good day how to apply kfold to a convolutional model in pytorch to validate it for example convolutions=6, kernel=5, epochs=100, image size=240, thank you for your kind answer.

Skorch provides a “scikit-learn compatible neural network library that wraps PyTorch” and can thus be used with the random or grid search k-fold CV in sklearn.