Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infer consistent tensor meta #5362

Merged
merged 184 commits into from
Jul 1, 2021
Merged

Conversation

clackhan
Copy link
Contributor

@clackhan clackhan commented Jul 1, 2021

No description provided.

lixinqi and others added 30 commits May 12, 2021 11:10
return infer_args;
}

private:
ConsistentTensorMetaInferArgs() = default;
Maybe<void> Init(const TensorTuple& input_tensors, Symbol<PlacementScope> placement_scope,
const AttrMap& attrs);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

这个Init是作为public方法还是和构造方法合并?我拿不准 @daquexian

Copy link
Contributor

Choose a reason for hiding this comment

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

这个方法会返回 Maybe,所以不能和构造方法合并,就应该保持现在的样子吧

Copy link
Contributor

Choose a reason for hiding this comment

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

这个方法是不是可以删掉,把它的内容写在 New 方法里面

@clackhan clackhan requested review from oneflow-ci-bot and removed request for oneflow-ci-bot July 1, 2021 07:02
@oneflow-ci-bot oneflow-ci-bot removed their request for review July 1, 2021 09:32
@oneflow-ci-bot oneflow-ci-bot self-requested a review July 1, 2021 09:33
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot July 1, 2021 11:21
@oneflow-ci-bot oneflow-ci-bot merged commit 392fc7c into master Jul 1, 2021
@chengtbf chengtbf deleted the infer_consistent_tensor_meta branch September 8, 2021 04:37
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.

5 participants