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

Partially specified NodeDef.attr #84

Open
brandonwillard opened this issue Oct 28, 2019 · 0 comments
Open

Partially specified NodeDef.attr #84

brandonwillard opened this issue Oct 28, 2019 · 0 comments
Labels
enhancement New feature or request meta graph This issue involves the meta graph objects TensorFlow This issue involves the TensorFlow backend

Comments

@brandonwillard
Copy link
Contributor

It might be worth investigating a way to partially specify the NodeDef.attr dict, especially since complete removal/reassignment causes problems for constants (the Numpy constant value is held in that map). In other words, it would be like saying "NodeDef.attr is a dict that at least contains a "data" key."

A nice way of doing this could make use of a partially specified cons map: i.e. an object like cons(('data', 1), ..., var()) that represents OrderedDict(('data': 1), ...). We would need a helper class to provide the standard dict interface and a means of stating that the cdr must ultimately be an OrderedDict; otherwise, cons will already work in this capacity.

Originally posted by @brandonwillard in #35 (comment)

@brandonwillard brandonwillard added the enhancement New feature or request label Oct 28, 2019
@brandonwillard brandonwillard added TensorFlow This issue involves the TensorFlow backend meta graph This issue involves the meta graph objects labels Mar 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request meta graph This issue involves the meta graph objects TensorFlow This issue involves the TensorFlow backend
Projects
None yet
Development

No branches or pull requests

1 participant