You need to enable JavaScript to run this app.Session - GammaCV
GammaCV Logo

Class Session


This is a runtime which allows you to run computational graphs on different backends


init (node) => void

Intialize operations for session

nodeOperationoperation chain to be used in session

runOp (op, ctx, output?) => void

Run Operation

opOperationoperation to run
ctx*context of a run, passing the same context twice in a raw
will use cached result
output?Tensor | HTMLCanvasElementif passed, the output is put into it.

destroy () => void

Destroy all initialized operations, textures and other data connected to this session.