@Haroon2001 I have a longer article coming up about KNIME and Deep Learning integration. In the meantime you could check out this entry:
Or try to use these Keras and TensorFlow examples with Conda Environment propagation after you have set that up (KNIME and Python — Setting up and managing Conda environments | by Markus Lauber | Low Code for Data Science | Medium).