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

add Get/Set LoD in InfershapeContext #7630

Closed
jacquesqiao opened this issue Jan 18, 2018 · 0 comments
Closed

add Get/Set LoD in InfershapeContext #7630

jacquesqiao opened this issue Jan 18, 2018 · 0 comments

Comments

@jacquesqiao
Copy link
Member

reason

InfershapeContext is used to do Shape inference, LoD is part of shape, now we have ShareLoD in InfershapeContext, but can not get or set LoD directly, so we need to add these interface to InfershapeContext.

implementation

For compile time infershape, we can only get the level of lod, so we do not support Get/Set LoD during CompileTime Infershape.
For RunTime infershape, we think GetLod is used to get the LoD of input and SetLod can only set the LoD of output.

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 a pull request may close this issue.

2 participants