Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 265 Bytes

File metadata and controls

11 lines (8 loc) · 265 Bytes

Sample Operation Usage

forward

The script_module module allows for a forward call, that recieves two tensors and returns a Promise as a result.

const a = torch.rand(1, 5);
const b = torch.rand(1, 5);
const res = await script_module.forward(a, b);