Data set containing pairs of tiny tensor shapes that are broadcast compatible. */
| 241 | |
| 242 | /** Data set containing pairs of tiny tensor shapes that are broadcast compatible. */ |
| 243 | class TinyShapesBroadcast final : public framework::dataset::ZipDataset<ShapeDataset, ShapeDataset> |
| 244 | { |
| 245 | public: |
| 246 | TinyShapesBroadcast() |
| 247 | : ZipDataset<ShapeDataset, ShapeDataset>(ShapeDataset("Shape0", |
| 248 | { |
| 249 | TensorShape{9U, 9U}, |
| 250 | TensorShape{10U, 2U, 14U, 2U}, |
| 251 | }), |
| 252 | ShapeDataset("Shape1", |
| 253 | { |
| 254 | TensorShape{9U, 1U, 9U}, |
| 255 | TensorShape{10U}, |
| 256 | })) |
| 257 | { |
| 258 | } |
| 259 | }; |
| 260 | /** Data set containing pairs of tiny tensor shapes that are broadcast compatible and can do in_place calculation. */ |
| 261 | class TinyShapesBroadcastInplace final : public framework::dataset::ZipDataset<ShapeDataset, ShapeDataset> |
| 262 | { |
no outgoing calls
no test coverage detected