> ## Documentation Index
> Fetch the complete documentation index at: https://docs.encord.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Beta.scene.internal.upload

Pydantic models for InputScene with all dependencies inlined.

Shared types (Convention, Direction, distortion models, SelfContainedFormat) live in common\_internal.

## InputAffineTransform Objects

```python theme={"dark"}
class InputAffineTransform(RootModel[tuple[
        float,
        float,
        float,
        float,
        float,
        float,
        float,
        float,
        float,
        float,
        float,
        float,
        float,
        float,
        float,
        float,
]])
```

#### validate\_affine\_matrix

```python theme={"dark"}
@model_validator(mode="after")
def validate_affine_matrix() -> InputAffineTransform
```

Validate that the matrix is a proper affine matrix (orthogonal with det=1) & only translation
