candle-graph 0.9.5

TensorFlow Profiler-style execution graphs for candle-rs (trace-only)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Cargo subcommand entrypoint: `cargo candle-graph …`.
//!
//! Installed as `cargo-candle-graph` so Cargo discovers it as `cargo candle-graph`.
//! Cargo forwards the subcommand name through argv, so the shared [`Cli`]
//! parser strips a leading `candle-graph` element before parsing.

use anyhow::Result;

use candle_graph::cli::args::Cli;

fn main() -> Result<()> {
    Cli::parse_as_cargo_subcommand().run()
}