Package-level declarations
Types
Link copied to clipboard
Abstract base class for model parsers that provides common functionality for validation, error handling, and tensor size calculations.
Link copied to clipboard
object ClassNames
Common class name sets for object detection and classification models.
Link copied to clipboard
object DTypeMapping
Bidirectional mapping utility between SKaiNET DType and unified DataType.
Link copied to clipboard
Represents progress within a loading operation.
Link copied to clipboard
Represents a stage in the loading process.
Link copied to clipboard
Supported model file formats.
Link copied to clipboard
Link copied to clipboard
data class ModelMetadata(val format: ModelFormat, val isValid: Boolean, val errorMessage: String? = null)
Result of parsing model metadata.
Link copied to clipboard
interface ModelParser
Common interface for all model format parsers.
Link copied to clipboard
Base class for model parsing errors. Provides user-friendly error messages for different failure scenarios.
Link copied to clipboard
interface ProgressReportingLoader
Interface for loaders that support progress reporting.
Link copied to clipboard
data class TensorInfo(val name: String, val shape: List<Long>, val dataType: DataType, val elementCount: Long, val sizeInBytes: Long?, val format: ModelFormat, val nativeDType: String? = null, val skainetDType: String? = null, val canLoadNatively: Boolean = false, val sourceFile: String? = null, val shardIndex: Int? = null, val totalShards: Int? = null)
Unified tensor information across all model formats.