MatX
MatX copied to clipboard
Rework Random Tensors APIs [FEA]
Random Tensor APIs were some of our first APIs. We have moved away from that style of API and need to update.
We should depericate/delete tensorShape_t references. We should get rid of GetTensorView from the generator class.
We should add APIs in this form which inherits rank from shape.
Possible APIS auto rand_view = rand(shape, generator, NORMAL); auto rand_view = randn(shape, generator); auto rand_view = generator.normal(shape);
I would love feedback on which APIs are best.