| 226 | } |
| 227 | |
| 228 | std::vector<TensorType> DecodeTernaryBcastType(const BcastType bct_type) { |
| 229 | std::vector<TensorType> input_type; |
| 230 | input_type.push_back(static_cast<TensorType>((bct_type - VEC_VEC_VEC) / 100)); |
| 231 | input_type.push_back( |
| 232 | static_cast<TensorType>(((bct_type - VEC_VEC_VEC) % 100) / 10)); |
| 233 | input_type.push_back(static_cast<TensorType>((bct_type - VEC_VEC_VEC) % 10)); |
| 234 | return input_type; |
| 235 | } |
| 236 | |
| 237 | std::vector<size_t> CalBroadcastElemwise( |
| 238 | const std::vector<size_t>& src, const std::vector<size_t>& dst) { |
nothing calls this directly
no outgoing calls
no test coverage detected