spark.core.signature_parser

spark.core.signature_parser#

Functions#

get_input_specs(module)

Returns a dictionary of the SparkModule's input port specifications.

get_output_specs(module)

Returns a dictionary of the SparkModule's input port specifications.

Module Contents#

spark.core.signature_parser.get_input_specs(module)[source]#

Returns a dictionary of the SparkModule’s input port specifications.

Parameters:

module (type[spark.core.module.SparkModule])

Return type:

dict[str, spark.core.specs.InputSpec]

spark.core.signature_parser.get_output_specs(module)[source]#

Returns a dictionary of the SparkModule’s input port specifications.

Parameters:

module (type[spark.core.module.SparkModule])

Return type:

dict[str, spark.core.specs.OutputSpec]