| 503 | } |
| 504 | |
| 505 | operation instruction::normalized_operator() const |
| 506 | { |
| 507 | operation o = this->get_operator(); |
| 508 | if(this->need_normalization()) |
| 509 | { |
| 510 | auto s = this->inputs().front()->get_shape(); |
| 511 | if(not normalize_attributes(o, s)) |
| 512 | return this->get_operator(); |
| 513 | } |
| 514 | return o; |
| 515 | } |
| 516 | std::size_t instruction::get_target_id() const { return target_id; } |
| 517 | |
| 518 | void instruction::set_target_id(std::size_t tid) { this->target_id = tid; } |
no test coverage detected