FilesLast commitLast update
2 months ago
15 days ago
23 days ago
3 months ago
15 days ago
23 days ago
1 month ago
6 days ago
README

RandomUniformIntV2

English | 简体中文

Product Support Status

Product Supported
Ascend 950PR&950DT products √
Atlas A3 products ×
Atlas A2 products ×
Atlas 200I/500 A2 inference products ×
Atlas inference products ×
Atlas training products ×

Function Description

  • Operator function: returns a sequence of random integers that follow the uniform distribution.

Parameter Description

Parameter Name Input/Output/Attribute Description Data Type Data Format
shape Input Shape of the output tensor. INT64, INT32 ND
min Input Inclusive lower bound of the generated integers. INT64, INT32 ND
max Input Exclusive upper bound of the generated integers. INT64, INT32 ND
offset Input Offset value. INT64 ND
seed Attribute Random number seed. INT ND
seed2 Attribute Random number seed. INT ND
y Output Generated random number sequence. INT64, INT32 ND
offset Output Offset value. INT64 ND

Constraint Description

None

Invocation Description

Invocation Method Sample Code Description
Graph-mode invocation test_geir_random_uniform_int_v2 Invokes the RandomUniformIntV2 operator by building a graph through the operator IR.