diff --git a/libnd4j/include/ops/declarable/generic/random/uniform.cpp b/libnd4j/include/ops/declarable/generic/random/uniform.cpp index cb7f146da..7743255d1 100644 --- a/libnd4j/include/ops/declarable/generic/random/uniform.cpp +++ b/libnd4j/include/ops/declarable/generic/random/uniform.cpp @@ -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;