Skip to content

Fix onnx/gemm.py to pass the tests/onnx_matrix_linear.#57

Open
hirayamy wants to merge 1 commit intoNNgen:developfrom
hirayamy:onnx_gemm_test
Open

Fix onnx/gemm.py to pass the tests/onnx_matrix_linear.#57
hirayamy wants to merge 1 commit intoNNgen:developfrom
hirayamy:onnx_gemm_test

Conversation

@hirayamy
Copy link
Copy Markdown

I got the AttirbuteError in Gemm function when the src_node of gemm is a placeholder, such as inputs.
So I modified the gemm function to avoid this attribution error by skipping the 'op_type' reference to NoneType objects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant