OnnxModelSummary

data class OnnxModelSummary(inputsSummaries: List<<ERROR CLASS><String, VariableSummary>>, outputsSummaries: List<<ERROR CLASS><String, VariableSummary>>)

Summary of the OnnxInferenceModel. Contains information about input and output variables of the model.

Parameters

inputsSummaries

list of summaries of the input variables along with their names

outputsSummaries

list of summaries of the output variables along with their names

Constructors

OnnxModelSummary
Link copied to clipboard
common
fun OnnxModelSummary(inputsSummaries: List<<ERROR CLASS><String, VariableSummary>>, outputsSummaries: List<<ERROR CLASS><String, VariableSummary>>)

Functions

customFormat
Link copied to clipboard
common
fun customFormat(columnSeparator: String, lineSeparatorSymbol: Char, thickLineSeparatorSymbol: Char, inputsColumnHeader: String = "Inputs", outputsColumnHeader: String = "Outputs", typeColumnHeader: String = "Type"): List<String>

Format function with customizable column names.

format
Link copied to clipboard
common
open fun format(columnSeparator: String, lineSeparatorSymbol: Char, thickLineSeparatorSymbol: Char): List<String>