<!--
{
  "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/AIModelAsset/Summary",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Core AI",
      "CoreAI"
    ],
    "preciseIdentifier" : "s:11CoreAIAsset12AIModelAssetV7SummaryV"
  },
  "title" : "AIModelAsset.Summary"
}
-->

# AIModelAsset.Summary

A summary of a model’s structure and statistics.

```
struct Summary
```

## Overview

Obtain a summary by calling [`summary(includingStatistics:)`](/documentation/CoreAI/AIModelAsset/summary(includingStatistics:)).
The summary describes the model’s functions, storage types, compute types,
and operation distribution.

## Topics

### Inspecting precision information

[`var computeTypes: [String]`](/documentation/CoreAI/AIModelAsset/Summary/computeTypes)

The unique compute type names the model uses.

[`var storageTypes: [AIModelAsset.Summary.StorageType]`](/documentation/CoreAI/AIModelAsset/Summary/storageTypes)

The unique scalar storage types and their element counts.

### Reviewing operation distribution

[`var operationDistribution: [AIModelAsset.Summary.OperationCount]`](/documentation/CoreAI/AIModelAsset/Summary/operationDistribution)

The distribution of operations in the model, each with a count.

### Inspecting functions

[`var functions: [AIModelAsset.FunctionDescriptor]`](/documentation/CoreAI/AIModelAsset/Summary/functions)

The functions in the model’s program.

### Supporting types

[`struct OperationCount`](/documentation/CoreAI/AIModelAsset/Summary/OperationCount)

A model operation and the number of times it occurs.

[`struct StorageType`](/documentation/CoreAI/AIModelAsset/Summary/StorageType)

A scalar storage type and the number of elements that use it.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

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)