Skip to main content

dynamic_update_slice

Function dynamic_update_slice 

Source
pub fn dynamic_update_slice<B: Backend, T: Element, I: Int>(
    x: &Array<B, T>,
    update: &Array<B, T>,
    starts: &[Scalar<B, I>],
) -> Array<B, T>
Expand description

x with update written at run-time start indices (negative indices count from the end; indices are clamped to keep update in bounds).