MappingResult

data class MappingResult(val mapped: Int, val total: Int, val missingParams: List<String>, val unusedTensors: List<String>)(source)

Result of mapping weights to module parameters.

Constructors

Link copied to clipboard
constructor(mapped: Int, total: Int, missingParams: List<String>, unusedTensors: List<String>)

Properties

Link copied to clipboard
val mapped: Int

Number of parameters that were successfully mapped

Link copied to clipboard

List of parameters that could not be mapped (with shapes)

Link copied to clipboard
val total: Int

Total number of parameters in the module

Link copied to clipboard

List of tensors that were not used (with shapes)