Skip to main content

execute_tensor_unary_op

Function execute_tensor_unary_op 

Source
pub fn execute_tensor_unary_op(
    cx: &mut Cx,
    operator: Symbol,
    tensor: &Tensor,
) -> Result<Tensor>
Expand description

Runs a unary tensor operation through the active executor, or CPU when no executor is bound in the environment.