Then you should set up Miniconda and understand how knime and python work together
Then you could take a look at these examples and try if this does work for you. Please note knime and Keras will need very specific versions to work together - the environment propagation should take care of that: