Skip to content

Commit

Permalink
Merge pull request #434 from hotg-ai/refactor/optional-tflite
Browse files Browse the repository at this point in the history
Abstract out the different types of node in a zipped Rune
  • Loading branch information
saidinesh5 authored Jun 7, 2022
2 parents 8d672c4 + 93d939f commit 41b7bd1
Show file tree
Hide file tree
Showing 6 changed files with 1,397 additions and 1,283 deletions.
1 change: 1 addition & 0 deletions crates/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ mod tensor;
pub mod builtins;
mod outputs;

#[cfg(feature = "zune")]
pub mod zune;

pub use crate::{
Expand Down
2 changes: 1 addition & 1 deletion crates/runtime/src/models/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use crate::callbacks::{Model, ModelMetadata};
///
/// Supported formats are:
/// - TensorFlow Lite
#[cfg_attr(not(feature = "tflite"), doc("(not supported)"))]
#[cfg_attr(not(feature = "tflite"), doc = "(not supported)")]
pub fn default_model_handler(
_id: u32,
meta: &ModelMetadata<'_>,
Expand Down
Loading

0 comments on commit 41b7bd1

Please sign in to comment.