drop_constant_initializers property

  1. @Bool()
bool drop_constant_initializers
getter/setter pair

\brief If set to true, specify that the execution provider does not require ONNX Runtime to provide constant initializers as inputs to the fused node during model inference. This is used when the execution provider saves a copy of constant initializers, and allows ONNX Runtime to release constant initializers that are not used by any execution provider.

If not specified, defaults to false. That is, ONNX Runtime provides constant initializers as inputs to the fused node by default.

\since Version 1.23.

Implementation

@ffi.Bool()
external bool drop_constant_initializers;