-
Notifications
You must be signed in to change notification settings - Fork 741
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
Tensorflow C++: NodeDef.mutable_attr() cannot add new attribute #595
Labels
Comments
Does resize() or push_back() works?
|
@saudet
|
So, it's not writable. We'll need to fix that.
|
saudet
added a commit
to bytedeco/javacpp
that referenced
this issue
Aug 3, 2018
…onst ` prefix (issue bytedeco/javacpp-presets#595) * Fix `Parser` sometimes ignoring `define` of `const ` containers (pull bytedeco/javacpp-presets#547)
Ok, I've fixed that in the commit above. Thanks for reporting! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was trying to use
Node.def().mutable_attr()
to add new attribute afterOperation
has been built.The code is:
It throws
java.lang.RuntimeException: CHECK failed: it != end():
I checked the protobuf
map.h
and foundit != end()
only appears inat
methods. Is it becauseStringAttrValueMap.put
doesn't equal toT& operator[](const key_type& key)
? Inoperator[]
method, new map entry will be created whileat
method only returns existed value.The text was updated successfully, but these errors were encountered: