Skip to main content
Version: 1.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.