Skip to content

Commit

Permalink
Added 'expand_dims' to transform external calls
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Bause committed Nov 13, 2023
1 parent 2b598a9 commit c30fbe8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rust/tvm/src/ir/relay/transform.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,7 @@ external! {

#[name("relay.op._make.strided_slice")]
pub fn strided_slice(data: Expr, begin: Array<PrimExpr>, end: Array<PrimExpr>, strides: Array<PrimExpr>, slice_mode: TVMString, axes: Array<PrimExpr>) -> Expr;

#[name("relay.op._make.expand_dims")]
pub fn expand_dims(data: Expr, axis: i32, num_newaxis: i32) -> Expr;
}

0 comments on commit c30fbe8

Please sign in to comment.