spark.core.specs#
Classes#
Base specification for a port of an SparkModule. |
|
Specification for an input port of an SparkModule. |
|
Specification for an output port of an SparkModule. |
|
Specification for an output port of an SparkModule. |
|
Specification for SparkModule automatic constructor. |
Module Contents#
- class spark.core.specs.PortSpecs(payload_type, shape, dtype, description=None)[source]#
Base specification for a port of an SparkModule.
- Parameters:
- payload_type: type[spark.core.payloads.SparkPayload] | None[source]#
- class spark.core.specs.InputSpec(payload_type, shape, dtype, description=None)[source]#
Bases:
PortSpecsSpecification for an input port of an SparkModule.
- Parameters:
- class spark.core.specs.OutputSpec(**kwargs)[source]#
Bases:
PortSpecsSpecification for an output port of an SparkModule.
- class spark.core.specs.PortMap(origin, port)[source]#
Specification for an output port of an SparkModule.