diff options
author | TensorFlower Gardener <gardener@tensorflow.org> | 2018-10-05 18:02:42 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-10-05 18:02:42 -0700 |
commit | 5dcca3baca11de0687747e9b5ad8854b77fd097d (patch) | |
tree | 4eb40a90582b78285963bff749953dafd2feed03 /tensorflow/core/api_def | |
parent | 213d76a6ed77a696883502c53a3a4f81d2ee4042 (diff) | |
parent | 1e104d80826fed95f9fad6f07f68e35cae3527b2 (diff) |
Merge pull request #22386 from girving:stateless
PiperOrigin-RevId: 215995215
Diffstat (limited to 'tensorflow/core/api_def')
-rw-r--r-- | tensorflow/core/api_def/base_api/api_def_StatelessRandomUniformInt.pbtxt | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/tensorflow/core/api_def/base_api/api_def_StatelessRandomUniformInt.pbtxt b/tensorflow/core/api_def/base_api/api_def_StatelessRandomUniformInt.pbtxt new file mode 100644 index 0000000000..b6a6dbdf54 --- /dev/null +++ b/tensorflow/core/api_def/base_api/api_def_StatelessRandomUniformInt.pbtxt @@ -0,0 +1,46 @@ +op { + graph_op_name: "StatelessRandomUniformInt" + visibility: HIDDEN + in_arg { + name: "shape" + description: <<END +The shape of the output tensor. +END + } + in_arg { + name: "seed" + description: <<END +2 seeds (shape [2]). +END + } + in_arg { + name: "minval" + description: <<END +Minimum value (inclusive, scalar). +END + } + in_arg { + name: "maxval" + description: <<END +Maximum value (exclusive, scalar). +END + } + out_arg { + name: "output" + description: <<END +Random values with specified shape. +END + } + attr { + name: "dtype" + description: <<END +The type of the output. +END + } + summary: "Outputs deterministic pseudorandom random integers from a uniform distribution." + description: <<END +The generated values follow a uniform distribution in the range `[minval, maxval)`. + +The outputs are a deterministic function of `shape`, `seed`, `minval`, and `maxval`. +END +} |