EncoderParams

class guppyft.encode.EncoderParams(*args, **kwargs)[source]

Parameters used to annotate an encoded program.

__init__(*args, **kwargs)
encoding() → str[source]

The encoding to annotate on a program.

params() → Mapping[str, Any][source]

The parameters to annotate on a program. Implementations should return values that support serialization to JSON.