Skip to main content
Version: v1.0

init(from:)

Creates a new ModelOutput instance by decoding from the given decoder.

Declaration​

init(from decoder: Decoder) throws

Parameters​

decoder

The decoder to read data from.

Discussion​

Note

DecodingError if there are any issues during decoding.