<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreAI",
  "identifier" : "/documentation/CoreAI/InferenceValue/ViewRepresentable",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Core AI",
      "CoreAI"
    ],
    "preciseIdentifier" : "s:13CoreAIRuntime14InferenceValueV17ViewRepresentableP"
  },
  "title" : "InferenceValue.ViewRepresentable"
}
-->

# InferenceValue.ViewRepresentable

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

```
protocol ViewRepresentable : ~Copyable
```

## Topics

### Creating a view

[`func view() -> InferenceValue.View`](/documentation/CoreAI/InferenceValue/ViewRepresentable/view())

## Relationships

### Conforming Types

[`NDArray`](/documentation/CoreAI/NDArray)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)