JavaScriptIO
Defining the relationship between a Tensor, and undefined JS val in the JavaScript script to be executed by Pipeline.runJavaScript.
You can define the the relationship using:
tensor into "name": which will copy the tensor's content into the JavaScriptval nameduring execution of JavaScript, but the update of the JavaScriptval namewill not be written back to thetensor.tensor outFrom "name": which will write the JavaScriptval nameafter the JavaScript execution is finished, but theval namedoes not have the originaltensor's content at initialization.tensor inToAndOutFrom "name": a combination of the above two: the tensor's content will be given to the JavaScriptval name, and the content updates to theval nameby the JavaScript codes will be reflected in thetensorafter execution.