Skip to content

Commit

Permalink
clip
Browse files Browse the repository at this point in the history
  • Loading branch information
kali committed Oct 17, 2023
1 parent a248dd3 commit 03f97a4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pulse-opl/src/mask.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ fn deser(builder: &mut ModelBuilder, invocation: &ResolvedInvocation) -> TractRe
let axis = invocation.named_arg_as(builder, "axis")?;
let begin = invocation.named_arg_as(builder, "begin")?;
let value: Tensor = tensor0(invocation.named_arg_as::<f32>(builder, "value")?);
let end = builder.allowing_new_symbols(|builder| {
TractResult::Ok(invocation.named_arg_as(builder, "end")?)
})?;
let end = builder.allowing_new_symbols(|builder| invocation.named_arg_as(builder, "end"))?;
let op = PulseMask { axis, begin, end, value };
builder.wire(op, &[wire])
}
Expand Down

0 comments on commit 03f97a4

Please sign in to comment.