tensorflow::ops::RandomPoisson::Attrs

tensorflow::ops::RandomPoisson::Attrs

#include <random_ops.h>

Optional attribute setters for RandomPoisson.

Summary

Public attributes
seed2_ = 0
int64
seed_ = 0
int64
Public functions
Seed(int64 x)
If either seed or seed2 are set to be non-zero, the random number generator is seeded by the given seed.
Seed2(int64 x)
A second seed to avoid seed collision.

Public attributes

seed2_

int64 tensorflow::ops::RandomPoisson::Attrs::seed2_ = 0

seed_

int64 tensorflow::ops::RandomPoisson::Attrs::seed_ = 0

Public functions

Seed

Attrs tensorflow::ops::RandomPoisson::Attrs::Seed(
  int64 x
)

If either seed or seed2 are set to be non-zero, the random number generator is seeded by the given seed.

Otherwise, it is seeded by a random seed.

Defaults to 0

Seed2

Attrs tensorflow::ops::RandomPoisson::Attrs::Seed2(
  int64 x
)

A second seed to avoid seed collision.

Defaults to 0

© 2017 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/struct/tensorflow/ops/random-poisson/attrs.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部