Skip to content

Commit

Permalink
Update mod.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-camuto committed Feb 6, 2025
1 parent f98b425 commit 7b1140b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/circuit/ops/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use std::any::Any;

use serde::{Deserialize, Serialize};
#[cfg(all(feature = "ezkl", not(target_arch = "wasm32")))]
use tract_onnx::prelude::DatumType;

use crate::{
Expand Down Expand Up @@ -156,6 +157,7 @@ impl std::str::FromStr for InputType {
}
}

#[cfg(all(feature = "ezkl", not(target_arch = "wasm32")))]
impl From<DatumType> for InputType {
fn from(datum_type: DatumType) -> Self {
match datum_type {
Expand Down

0 comments on commit 7b1140b

Please sign in to comment.