Update ops-related pbtxt files.

PiperOrigin-RevId: 174073569
This commit is contained in:
A. Unique TensorFlower
2017-10-31 12:22:17 -07:00
committed by TensorFlower Gardener
parent 66fc99a3b5
commit 21dafd6d2e
2 changed files with 59 additions and 7 deletions

View File

@@ -23968,6 +23968,60 @@ op {
}
is_stateful: true
}
op {
name: "RandomPoisson"
input_arg {
name: "shape"
type_attr: "S"
}
input_arg {
name: "rate"
type_attr: "dtype"
}
output_arg {
name: "output"
type_attr: "dtype"
}
attr {
name: "seed"
type: "int"
default_value {
i: 0
}
}
attr {
name: "seed2"
type: "int"
default_value {
i: 0
}
}
attr {
name: "S"
type: "type"
allowed_values {
list {
type: DT_INT32
type: DT_INT64
}
}
}
attr {
name: "dtype"
type: "type"
allowed_values {
list {
type: DT_HALF
type: DT_FLOAT
type: DT_DOUBLE
}
}
}
deprecation {
version: 25
}
is_stateful: true
}
op {
name: "RandomPoissonV2"
input_arg {

View File

@@ -19365,17 +19365,14 @@ op {
name: "RandomPoisson"
input_arg {
name: "shape"
description: "1-D integer tensor. Shape of independent samples to draw from each\ndistribution described by the shape parameters given in rate."
type_attr: "S"
}
input_arg {
name: "rate"
description: "A tensor in which each scalar is a \"rate\" parameter describing the\nassociated poisson distribution."
type_attr: "dtype"
}
output_arg {
name: "output"
description: "A tensor with shape `shape + shape(rate)`. Each slice\n`[:, ..., :, i0, i1, ...iN]` contains the samples drawn for\n`rate[i0, i1, ...iN]`. The dtype of the output matches the dtype of\nrate."
type_attr: "dtype"
}
attr {
@@ -19384,7 +19381,6 @@ op {
default_value {
i: 0
}
description: "If either `seed` or `seed2` are set to be non-zero, the random number\ngenerator is seeded by the given seed. Otherwise, it is seeded by a\nrandom seed."
}
attr {
name: "seed2"
@@ -19392,7 +19388,6 @@ op {
default_value {
i: 0
}
description: "A second seed to avoid seed collision."
}
attr {
name: "S"
@@ -19415,8 +19410,11 @@ op {
}
}
}
summary: "Outputs random values from the Poisson distribution(s) described by rate."
description: "This op uses two algorithms, depending on rate. If rate >= 10, then\nthe algorithm by Hormann is used to acquire samples via\ntransformation-rejection.\nSee http://www.sciencedirect.com/science/article/pii/0167668793909974.\n\nOtherwise, Knuth\'s algorithm is used to acquire samples via multiplying uniform\nrandom variables.\nSee Donald E. Knuth (1969). Seminumerical Algorithms. The Art of Computer\nProgramming, Volume 2. Addison Wesley"
summary: "Use RandomPoissonV2 instead."
deprecation {
version: 25
explanation: "Replaced by RandomPoissonV2"
}
is_stateful: true
}
op {