loadInitializers

Load all initializers (weights) from an ONNX ModelProto.

Skips running_mean and running_var tensors (batch norm statistics).

Return

Load result with decoded tensors and list of skipped tensor names

Parameters

model

The ONNX model proto

ctx

Execution context for tensor creation