Skip to content

Conversation

@jacquesqiao
Copy link
Member

@jacquesqiao jacquesqiao commented Jun 29, 2017

merged design to this pr.
Please review Design doc for operator attribute first

class AttrbuteMap {
public:
template <typename T>
Error get(const std::string key, T* attr) const;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe we should not use Error.


input_vars.reserve(inputs_.size());
for (auto& input : inputs_) {
input_vars.push_back(scope->getOrCreateVariable(input));
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe scope usage should be updated

Since we do not merge all PR about op together, so we use operator.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants