Skip to main content

pointwise_operand

Function pointwise_operand 

pub(crate) fn pointwise_operand(node: &NativeNode) -> bool
Expand description

Whether node reads samples point-wise, so that one partitioned execution is one answer.

A node’s output type is not checked here: [NativeNode::validate] already refuses a selection, a map or a binary operation whose operands are not evaluated vectors, so every branch below is one that produces values rather than raw samples.