UnfoldCopyΒΆ

Extracts sliding local blocks from a batched input tensor. Copy variant.

Abstract Signature:

UnfoldCopy(x: Tensor, dimension: int, size: int, step: int)

PyTorch

API: torch.unfold_copy
Strategy: Direct Mapping

JAX (Core)

API: β€”
Strategy: Plugin (unfold_op)

NumPy

API: β€”
Strategy: Plugin (unfold_op)

Keras

API: β€”
Strategy: Custom / Partial

TensorFlow

API: tf.image.extract_patches
Strategy: Direct Mapping

Apple MLX

API: β€”
Strategy: Custom / Partial

Flax NNX

API: β€”
Strategy: Plugin (unfold_op)

PaxML / Praxis

API: β€”
Strategy: Plugin (unfold_op)