Data set containing pairs of small tensor shapes that are broadcast compatible. */
| 206 | |
| 207 | /** Data set containing pairs of small tensor shapes that are broadcast compatible. */ |
| 208 | class SMEMulShapesBroadcast final : public framework::dataset::ZipDataset<ShapeDataset, ShapeDataset> |
| 209 | { |
| 210 | public: |
| 211 | SMEMulShapesBroadcast() |
| 212 | : ZipDataset<ShapeDataset, ShapeDataset>(ShapeDataset("Shape0", |
| 213 | { |
| 214 | // NOTE: This does not include x-wise broadcasting. |
| 215 | TensorShape{9U, 9U}, |
| 216 | TensorShape{256U, 13U, 1U}, |
| 217 | TensorShape{128U, 1U, 5U, 1U}, |
| 218 | }), |
| 219 | ShapeDataset("Shape1", |
| 220 | { |
| 221 | TensorShape{9U, 1U, 2U}, |
| 222 | TensorShape{256U, 1U, 2U}, |
| 223 | TensorShape{128U, 64U, 1U, 3U}, |
| 224 | })) |
| 225 | { |
| 226 | } |
| 227 | }; |
| 228 | |
| 229 | /** Data set containing small tensor shapes. */ |
| 230 | class SmallShapesNoBatches final : public ShapeDataset |
no outgoing calls
no test coverage detected