Contents

init(from:)

Creates a one-hot encoding transformer from a decoder.

Declaration

init(from decoder: any Decoder) throws

Parameters

  • decoder:

    A decoder.