execute

fun <T : DType, V> execute(inputs: Map<String, Tensor<T, V>>): Map<String, Tensor<T, V>>(source)

Execute the graph with the given external inputs.

Return

Map of output node ID → result tensor

Parameters

inputs

Map of input node ID (or tensor name) → tensor value