---
title: InferenceValue.ViewRepresentable
framework: coreai
role: symbol
role_heading: Protocol
path: coreai/inferencevalue/viewrepresentable
---

# InferenceValue.ViewRepresentable

A type that can provide a read-only view of itself as an inference value.

## Declaration

```swift
protocol ViewRepresentable : ~Copyable
```

## Topics

### Creating a view

- [view()](coreai/inferencevalue/viewrepresentable/view().md)

## Relationships

### Conforming Types

- [NDArray](coreai/ndarray.md)

## See Also

### Adopting representable protocols

- [InferenceValue.MutableViewRepresentable](coreai/inferencevalue/mutableviewrepresentable.md)
