Skip to main content

run_with_xla

Function run_with_xla 

Source
pub fn run_with_xla(
    client: &Client,
    f: &Function,
    args: &[HostArray],
) -> Result<Vec<HostArray>, String>
Expand description

Compiles a function with XLA, runs it on args, and returns its outputs.

ยงErrors

Returns a description of the failure, including the StableHLO module if it does not compile.