Skip to content

Fix ONNX bug, add symbolic for full#12052

Closed
apaszke wants to merge 2 commits intopytorch:masterfrom
apaszke:onnx_improvements
Closed

Fix ONNX bug, add symbolic for full#12052
apaszke wants to merge 2 commits intopytorch:masterfrom
apaszke:onnx_improvements

Conversation

@apaszke
Copy link
Contributor

@apaszke apaszke commented Sep 25, 2018

No description provided.

Copy link
Member

@houseroad houseroad left a comment

Choose a reason for hiding this comment

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

const_value = _maybe_get_const(value, 't')
if _is_value(const_value):
tmp = zeros(shape, scalar_type, layout, device)
return add(tmp, value, g.op("Constant", value_t=torch.tensor(1)))

This comment was marked as off-topic.

This comment was marked as off-topic.

Copy link
Member

@houseroad houseroad left a comment

Choose a reason for hiding this comment

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

The expect file looks correct, but very complicated.

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

apaszke has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants