mirror of
https://github.com/zebrajr/tensorflow.git
synced 2026-01-15 12:15:41 +00:00
Update ops-related pbtxt files.
PiperOrigin-RevId: 174073569
This commit is contained in:
committed by
TensorFlower Gardener
parent
66fc99a3b5
commit
21dafd6d2e
@@ -23968,6 +23968,60 @@ op {
|
|||||||
}
|
}
|
||||||
is_stateful: true
|
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 {
|
op {
|
||||||
name: "RandomPoissonV2"
|
name: "RandomPoissonV2"
|
||||||
input_arg {
|
input_arg {
|
||||||
|
|||||||
@@ -19365,17 +19365,14 @@ op {
|
|||||||
name: "RandomPoisson"
|
name: "RandomPoisson"
|
||||||
input_arg {
|
input_arg {
|
||||||
name: "shape"
|
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"
|
type_attr: "S"
|
||||||
}
|
}
|
||||||
input_arg {
|
input_arg {
|
||||||
name: "rate"
|
name: "rate"
|
||||||
description: "A tensor in which each scalar is a \"rate\" parameter describing the\nassociated poisson distribution."
|
|
||||||
type_attr: "dtype"
|
type_attr: "dtype"
|
||||||
}
|
}
|
||||||
output_arg {
|
output_arg {
|
||||||
name: "output"
|
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"
|
type_attr: "dtype"
|
||||||
}
|
}
|
||||||
attr {
|
attr {
|
||||||
@@ -19384,7 +19381,6 @@ op {
|
|||||||
default_value {
|
default_value {
|
||||||
i: 0
|
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 {
|
attr {
|
||||||
name: "seed2"
|
name: "seed2"
|
||||||
@@ -19392,7 +19388,6 @@ op {
|
|||||||
default_value {
|
default_value {
|
||||||
i: 0
|
i: 0
|
||||||
}
|
}
|
||||||
description: "A second seed to avoid seed collision."
|
|
||||||
}
|
}
|
||||||
attr {
|
attr {
|
||||||
name: "S"
|
name: "S"
|
||||||
@@ -19415,8 +19410,11 @@ op {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
summary: "Outputs random values from the Poisson distribution(s) described by rate."
|
summary: "Use RandomPoissonV2 instead."
|
||||||
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"
|
deprecation {
|
||||||
|
version: 25
|
||||||
|
explanation: "Replaced by RandomPoissonV2"
|
||||||
|
}
|
||||||
is_stateful: true
|
is_stateful: true
|
||||||
}
|
}
|
||||||
op {
|
op {
|
||||||
|
|||||||
Reference in New Issue
Block a user