Importing Scripts
Your job may require third-party libraries, or you may wish to bundle parts of your code
into separate JS files. These files can be imported by specifying a list of URLs in the scripts
field of the execution
object:
execution.scripts = ["https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@latest/dist/tf.min.js"];
Note that calling importScripts
inside of job scripts is disabled and so any outside scripts should be imported this way.