| 32 | namespace TEngine { |
| 33 | |
| 34 | void Tensor::Reshape(const TShape& shape) |
| 35 | { |
| 36 | if(shape_ == shape) |
| 37 | return; |
| 38 | |
| 39 | reshaped_count_ = consumer.size(); |
| 40 | |
| 41 | shape_ = shape; |
| 42 | } |
| 43 | |
| 44 | void Tensor::UpdateReshapeCount(void) |
| 45 | { |
no test coverage detected