From 18a9c61f86ba3d7c6d76ae267bb658c9b7b6bde6 Mon Sep 17 00:00:00 2001 From: Mathieu Poumeyrol Date: Tue, 17 Oct 2023 18:06:36 +0200 Subject: [PATCH] missing file --- pulse/src/ops/array/mask.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pulse/src/ops/array/mask.rs diff --git a/pulse/src/ops/array/mask.rs b/pulse/src/ops/array/mask.rs new file mode 100644 index 0000000000..de44846056 --- /dev/null +++ b/pulse/src/ops/array/mask.rs @@ -0,0 +1,11 @@ +use crate::internal::*; +use tract_pulse_opl::ops::PulseMask; + +impl PulsedOp for PulseMask { + fn pulsed_output_facts(&self, inputs: &[&PulsedFact]) -> TractResult> { + Ok(inputs.iter().cloned().cloned().collect()) + } + + as_op!(); + pulsed_op_to_typed_op!(); +}