---
title: "init(descriptor:)"
framework: coreai
role: symbol
role_heading: Initializer
path: "coreai/inferencefunction/asyncmutablevalue/init(descriptor:)"
---

# init(descriptor:)

Initialize a new state by creating a value matching the provided descriptor.

## Declaration

```swift
init(descriptor: consuming InferenceValue.Descriptor)
```

## Parameters

- `descriptor`: The descriptor of the inference value to be constructed and held by this state.

## Discussion

Discussion Note that the descriptor must not have a dynamic shape.
