| 7 | namespace buffer { |
| 8 | |
| 9 | Perm::Perm(const std::shared_ptr<Buffer>& op, const std::vector<int64_t>& perm) |
| 10 | : op_(op) { |
| 11 | set_perm_(perm); |
| 12 | } |
| 13 | |
| 14 | Sample Perm::get(int64_t idx) const { |
| 15 | if (idx < 0 || idx >= perm_.size()) { |
nothing calls this directly
no outgoing calls
no test coverage detected