onnx
onnx copied to clipboard
Add check for reusing initializer names from outer scopes
Description
Add check that new initializer names are not in the parent context.
Motivation and Context
Aims to resolve #6980. Checker already enforces no shadowing for inputs and node outputs, but this aims to also enforce this with new initializer names, in accordance with the update to the IR specification.