Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

graph: bugfix for initializer #148

Merged
merged 4 commits into from May 13, 2019

Conversation

fs-eire
Copy link
Contributor

@fs-eire fs-eire commented May 11, 2019

  • allows implicit inputs in initializers
  • allows inputs with multiple None dimensions

Fixes #147

lib/session.ts Outdated

// Not a 'None' dimension. Data shape mis-match.
else {
if (!noneDimSupported || expectedDims[i] !== 0) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe just merge the 2 ifs expectedDims[i] !== actualDims[i] && (... || ...) ?

@fs-eire fs-eire merged commit 3d09180 into microsoft:master May 13, 2019
@fs-eire fs-eire deleted the graph-initializer-init-fix branch May 13, 2019 21:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error: load converted models keras2onnx
2 participants