-
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
TensorFlowThis issue involves the TensorFlow backendThis issue involves the TensorFlow backendenhancementNew feature or requestNew feature or requestmeta graphThis issue involves the meta graph objectsThis issue involves the meta graph objects
Description
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)
Metadata
Metadata
Assignees
Labels
TensorFlowThis issue involves the TensorFlow backendThis issue involves the TensorFlow backendenhancementNew feature or requestNew feature or requestmeta graphThis issue involves the meta graph objectsThis issue involves the meta graph objects