| 52 | void Reshape(const BlobShape& shape); |
| 53 | void ReshapeLike(const Blob& other); |
| 54 | inline string shape_string() const { |
| 55 | ostringstream stream; |
| 56 | for (int i = 0; i < shape_.size(); ++i) { |
| 57 | stream << shape_[i] << " "; |
| 58 | } |
| 59 | stream << "(" << count_ << ")"; |
| 60 | return stream.str(); |
| 61 | } |
| 62 | inline const vector<int>& shape() const { return shape_; } |
| 63 | /** |
| 64 | * @brief Returns the dimension of the index-th axis (or the negative index-th |
no test coverage detected