Skip to content

Commit

Permalink
Add TupleGetItemAttrs Rust bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
gussmith23 committed Oct 19, 2020
1 parent 14a786d commit fa49f9c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions rust/tvm/src/ir/relay/attrs/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,15 @@

pub mod nn;
pub mod transform;

use crate::ir::attrs::BaseAttrsNode;
use tvm_macros::Object;

#[repr(C)]
#[derive(Object)]
#[ref_name = "TupleGetItemAttrs"]
#[type_key = "relay.attrs.TupleGetItemAttrs"]
pub struct TupleGetItemAttrsNode {
pub base: BaseAttrsNode,
pub index: i32,
}

0 comments on commit fa49f9c

Please sign in to comment.