Skip to content

Commit

Permalink
Fix lib.rs code block type (#13)
Browse files Browse the repository at this point in the history
* Fix lib.rs code block type

* Version 0.1.0
  • Loading branch information
barakugav committed Aug 3, 2024
1 parent e4377ed commit fe4b01b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ members = [

[package]
name = "executorch"
version = "0.1.0-rc.2"
version = "0.1.0"
authors = ["Barak Ugav <barakugav@gmail.com>"]
edition = "2021"
description = "Rust bindings for ExecuTorch - On-device AI across mobile, embedded and edge for PyTorch"
Expand All @@ -34,7 +34,7 @@ include = ["Cargo.toml", "src/", "README.md", "LICENSE"]
features = ["data-loader", "module"]

[dependencies]
executorch-sys = { path = "executorch-sys", version = "0.1.0-rc.2" }
executorch-sys = { path = "executorch-sys", version = "0.1.0" }
ndarray = "0.15.6"
log = "0.4.22"

Expand Down
2 changes: 1 addition & 1 deletion executorch-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "executorch-sys"
version = "0.1.0-rc.2"
version = "0.1.0"
authors = ["Barak Ugav <barakugav@gmail.com>"]
edition = "2021"
description = "Unsafe Rust bindings for ExecuTorch - On-device AI across mobile, embedded and edge for PyTorch"
Expand Down
5 changes: 3 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
//! The following example create a simple model in Python, exports it, and then executes it in Rust:
//!
//! Create a model in `Python` and export it:
//! ```python
//! ```
//! import torch
//! from executorch.exir import to_edge
//! from torch.export import export
Expand All @@ -32,7 +32,8 @@
//! ```
//!
//! Execute the model in Rust:
//! ```rustuse executorch::evalue::{EValue, Tag};
//! ```rust
//! rustuse executorch::evalue::{EValue, Tag};
//! use executorch::module::Module;
//! use executorch::tensor::{Tensor, TensorImpl};
//! use ndarray::array;
Expand Down

0 comments on commit fe4b01b

Please sign in to comment.