+
    úäûjo  ã                   ó(   € ^ RI Ht  ! R R]4      tR# )é    )ÚRigidAffineAugmentationBase3Dc                   ó   € ] tR t^tRtRtR# )ÚGeometricAugmentationBase3Daù  Build a 3D coordinate transform, applied per sample with probability ``p`` (default 0.5).

``output = MyAugmentation(...)(input)`` warps volumes of shape ``(B, C, D, H, W)`` once a subclass implements
``compute_transformation`` and ``apply_transform``. The 3D base does not support image inversion.
Use :class:`IntensityAugmentationBase3D` for an operation that changes voxel values without moving coordinates.

See the Convention block on :class:`~kornia.augmentation.AugmentationBase3D`.

Args:
    p: probability for applying an augmentation. This param controls the augmentation probabilities
      element-wise for a batch.
    p_batch: probability for applying an augmentation to a batch. This param controls the augmentation
      probabilities batch-wise.
    same_on_batch: apply the same transformation across the batch.
    keepdim: whether to keep the output shape the same as input ``True`` or broadcast it to the batch
      form ``False``.

Convention:
    - subclasses record a source-to-destination ``(B, 4, 4)`` voxel-coordinate matrix. Coordinates are
      ordered ``(x, y, z)``, while volume tensor axes are ``(D, H, W)``. The source frame is the original
      input, including for crops with pre-padding. Resampling follows the matrix at ``align_corners=True``; at
      ``align_corners=False`` normalization can make the applied warp differ from the recorded matrix
      (`#4503 <https://github.com/kornia/kornia/issues/4503>`_).
      Matrices use the input dtype, so integer voxel translations are rounded when that dtype cannot represent
      them exactly.
    - a zero-parameter :class:`RandomAffine3D` or :class:`RandomRotation3D` warp reproduces its input up to
      roundoff in every floating dtype: a ``float16``/``bfloat16`` warp builds its grid and samples in
      ``float32`` on every device (`#5751 <https://github.com/kornia/kornia/issues/5751>`_,
      `#5814 <https://github.com/kornia/kornia/issues/5814>`_).

See Also:
    - :class:`AugmentationBase3D`: base class for general 3D augmentations.

© N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú__static_attributes__r   ó    ÚbC:\Ai_Coding\apps\studio\ComfyUI\.venv\Lib\site-packages\kornia\augmentation\_3d\geometric\base.pyr   r      s   † õ!r   r   N)Úkornia.augmentation._3d.baser   r   r   r   r   Ú<module>r      s   ðõ$ Gô"Ð"?ö "r   