Upload aduc_types.py
Browse files- aduc_types.py +18 -0
aduc_types.py
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# aduc_types.py
|
| 2 |
+
#
|
| 3 |
+
# Copyright (C) August 4, 2025 Carlos Rodrigues dos Santos
|
| 4 |
+
#
|
| 5 |
+
# Version: 1.0.0
|
| 6 |
+
#
|
| 7 |
+
# This file defines common data structures and types used across the ADUC-SDR
|
| 8 |
+
# framework to ensure consistent data contracts between modules.
|
| 9 |
+
|
| 10 |
+
from dataclasses import dataclass
|
| 11 |
+
import torch
|
| 12 |
+
|
| 13 |
+
@dataclass
|
| 14 |
+
class LatentConditioningItem:
|
| 15 |
+
"""Represents a conditioning anchor in the latent space for the Camera (Ψ)."""
|
| 16 |
+
latent_tensor: torch.Tensor
|
| 17 |
+
media_frame_number: int
|
| 18 |
+
conditioning_strength: float
|