pub fn parallel_elementwise<F>( input: &Tensor, operation: F, config: Option<ParallelConfig>, ) -> Result<Tensor>where F: Fn(f32) -> f32 + Send + Sync,
Parallel element-wise operation on a single tensor