init(descriptor:)
Initialize a new state by creating a value matching the provided descriptor.
Declaration
init(descriptor: consuming InferenceValue.Descriptor)Parameters
- descriptor:
The descriptor of the inference value to be constructed and held by this state.
Discussion
Note that the descriptor must not have a dynamic shape.