---
title: "outputDescriptor(of:)"
framework: coreai
role: symbol
role_heading: Instance Method
path: "coreai/inferencefunctiondescriptor/outputdescriptor(of:)"
---

# outputDescriptor(of:)

Returns the descriptor for the specified output.

## Declaration

```swift
func outputDescriptor(of outputName: String) -> InferenceValue.Descriptor?
```

## Parameters

- `outputName`: The name of the output.

## Return Value

Return Value The descriptor for the output, or nil if the function doesn’t have an output with the specified name.

## See Also

### Describing outputs

- [outputCount](coreai/inferencefunctiondescriptor/outputcount.md)
- [outputNames](coreai/inferencefunctiondescriptor/outputnames.md)
