uniform: change description. -2 (or values below -1 ) means unknown number of arguments or no arguments at all.
Signed-off-by: AbdelRauf <rauf@konduit.ai>master
parent
426e28640a
commit
375efff2e4
|
@ -40,7 +40,7 @@ namespace sd {
|
|||
* TArgs[0] - min for rng
|
||||
* TArgs[1] - max for rng
|
||||
*/
|
||||
CUSTOM_OP_IMPL(randomuniform, -1, 1, true, 0, -1) {
|
||||
CUSTOM_OP_IMPL(randomuniform, -1, 1, true, 0, -2) {
|
||||
// uniform distribution
|
||||
auto rng = block.randomGenerator();
|
||||
auto dtype = DataType::FLOAT32;
|
||||
|
|
Loading…
Reference in New Issue