Files
zeekay dda5b2a367 restore the tree
The previous commit was meant to remove .github/workflows and removed
every tracked path instead โ€” 892 files, the whole repo. This puts back
the 874 that were never in scope; the eighteen workflow files stay gone,
for the reasons that commit gives.

Content is byte-identical to 9d2aec9 outside .github/workflows.
2026-08-13 23:27:57 -07:00

1.2 KiB

Data Classes

Anomalib's dataclasses provide type-safe data containers with automatic validation. They support both PyTorch and NumPy backends for flexible data handling.

::::{grid} 1 2 2 3 :gutter: 3 :padding: 2 :class-container: landing-grid

:::{grid-item-card} {octicon}package Generic Classes ๐Ÿ”— generic :link-type: doc :class-card: custom-card

Base dataclasses that define common data structures and validation logic:

  • Generic Item/Batch
  • Input/Output Fields
  • Validation Mixins

+++ Learn More ยป :::

:::{grid-item-card} {octicon}cpu PyTorch Classes ๐Ÿ”— torch :link-type: doc :class-card: custom-card

PyTorch tensor-based implementations:

  • Image, Video, Depth Items
  • Batch Processing Support
  • Type-safe Validation

+++ Learn More ยป :::

:::{grid-item-card} {octicon}database NumPy Classes ๐Ÿ”— numpy :link-type: doc :class-card: custom-card

NumPy array-based implementations:

  • Efficient Data Processing
  • Array-based Containers
  • Conversion Utilities

+++ Learn More ยป ::: ::::

Documentation

For detailed documentation and examples, see:

  • {doc}Generic Base Classes <generic>
  • {doc}PyTorch Classes <torch>
  • {doc}NumPy Classes <numpy>
:hidden:

generic
torch
numpy