invoke

operator fun <T : DType, V> Module<T, V>.invoke(input: Tensor<T, V>, ctx: ExecutionContext): Tensor<T, V>(source)

Convenience operator to call a Module with an explicit ExecutionContext. This does not re-introduce the legacy context-less invoke; callers must pass ctx.