# Scalar Inspector

The Scalar Inspector is the finest-grained view in Tensormorph - the bottom of the [address space](/docs/core-concepts/tensor-matrix-block-scalar), showing everything Tensormorph knows about a single number.

## What it shows

For any selected scalar:

-   **Value** - the stored value, and for a [quantized](/docs/core-concepts/dtype-and-quantization) tensor, both the raw stored integer and the dequantized approximation, side by side.
-   **Address** - its full path back up the hierarchy (model, layer, module, tensor, tile, row/column) - the same address a [TQL](/docs/reference/expressions-and-queries) expression would use to select it directly.
-   **Tensor metadata** - shape, dtype, device, and whether this scalar sits inside a [view or a copy](/docs/core-concepts/shape-rank-stride-layout#views-vs-copies) of its base tensor.
-   **Local context** - where this value sits relative to its tensor's [statistics](/docs/inspect-and-analyze/tensor-statistics) (how many standard deviations from the mean, whether it's flagged as an [outlier](/docs/inspect-and-analyze/outliers-and-anomalies)).

## Always available, never modal

Unlike a view you switch into, the Scalar Inspector's summary is available as a lightweight readout from any other view's Inspector panel the moment you hover or click a single element - opening the full Scalar Inspector is for when you want more than the summary card offers (full address history, a pinned comparison against the same scalar in another revision, or a runtime value if a [capture point](/docs/profiling/runtime-traces) is active on this exact address).

## Pinning

A scalar can be pinned to a persistent watch list, which keeps its current value visible regardless of what else you're navigating to - the finest-grained equivalent of pinning a whole tensor, and the natural place to watch a single suspicious value across a [runtime trace](/docs/profiling/runtime-traces) or a [morph](/docs/core-concepts/model-morphing) materialization.

## Related resources

-   [Tensor, Matrix, Block and Scalar](/docs/core-concepts/tensor-matrix-block-scalar) - the address-space level this view targets.
-   [NaN and Inf Detection](/docs/inspect-and-analyze/nan-and-inf-detection) - a common reason to inspect one specific scalar rather than a whole tensor.
-   [Runtime Traces](/docs/profiling/runtime-traces) - watching a pinned scalar's value across a live pass.
