initialize/set backend in runKernelFunc (#4485)
initialize/set backend in runKernelFunc (#4485)

BUG

tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs