static */
| 20 | |
| 21 | /* static */ |
| 22 | void BCast::Reverse(Vec* shape) { std::reverse(shape->begin(), shape->end()); } |
| 23 | |
| 24 | BCast::BCast(const Vec& sx, const Vec& sy, const bool fewer_dims_optimization) { |
| 25 | if (sx == sy && TF_PREDICT_TRUE(fewer_dims_optimization)) { |