Skip to content

hsml.model_schema #

[source] ModelSchema #

Create a schema for a model.

PARAMETER DESCRIPTION
input_schema

Schema to describe the inputs.

TYPE: Schema | None DEFAULT: None

output_schema

Schema to describe the outputs.

TYPE: Schema | None DEFAULT: None

RETURNS DESCRIPTION

ModelSchema. The model schema object.

[source] to_dict #

to_dict()

Get dict representation of the ModelSchema.