MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / SmallShapesBroadcast

Class SmallShapesBroadcast

tests/datasets/ShapeDatasets.h:279–294  ·  view source on GitHub ↗

Data set containing pairs of small tensor shapes that are broadcast compatible. */

Source from the content-addressed store, hash-verified

277};
278/** Data set containing pairs of small tensor shapes that are broadcast compatible. */
279class SmallShapesBroadcast final : public framework::dataset::ZipDataset<ShapeDataset, ShapeDataset>
280{
281public:
282 SmallShapesBroadcast()
283 : ZipDataset<ShapeDataset, ShapeDataset>(
284 ShapeDataset("Shape0",
285 {TensorShape{9U, 9U}, TensorShape{27U, 13U, 2U}, TensorShape{128U, 1U, 5U, 3U},
286 TensorShape{9U, 9U, 3U, 4U}, TensorShape{27U, 13U, 2U, 4U}, TensorShape{1U, 1U, 1U, 5U},
287 TensorShape{1U, 16U, 10U, 2U, 128U}, TensorShape{1U, 16U, 10U, 2U, 128U}}),
288 ShapeDataset("Shape1",
289 {TensorShape{9U, 1U, 2U}, TensorShape{1U, 13U, 2U}, TensorShape{128U, 64U, 1U, 3U},
290 TensorShape{9U, 1U, 3U}, TensorShape{1U}, TensorShape{9U, 9U, 3U, 5U},
291 TensorShape{1U, 1U, 1U, 1U, 128U}, TensorShape{128U}}))
292 {
293 }
294};
295
296/** Data set containing pairs of small tensor shapes that are broadcast compatible in non-x dimensions. */
297class SmallShapesNonXBroadcast final : public framework::dataset::ZipDataset<ShapeDataset, ShapeDataset>

Calls

no outgoing calls

Tested by

no test coverage detected