<!--
{
  "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/InferenceFunction/Outputs",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Core AI",
      "CoreAI"
    ],
    "preciseIdentifier" : "s:13CoreAIRuntime17InferenceFunctionV7OutputsV"
  },
  "title" : "InferenceFunction.Outputs"
}
-->

# InferenceFunction.Outputs

The output values produced by running an inference function.

```
struct Outputs
```

## Topics

### Accessing outputs

[`func remove(String) -> InferenceValue?`](/documentation/CoreAI/InferenceFunction/Outputs/remove(_:))

Removes and returns the output value with the specified name.

[`var count: Int`](/documentation/CoreAI/InferenceFunction/Outputs/count)

The number of outputs in this collection.

[`var names: some Collection<String>`](/documentation/CoreAI/InferenceFunction/Outputs/names)

The names of the outputs in this collection.



---

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)