# tensorflow::ops::LogUniformCandidateSampler::Attrs

`#include <candidate_sampling_ops.h>`

Optional attribute setters for [LogUniformCandidateSampler](https://www.tensorflow.org/versions/r2.0/api_docs/cc/class/tensorflow/ops/log-uniform-candidate-sampler#classtensorflow_1_1ops_1_1_log_uniform_candidate_sampler).

## Summary

| ### Public attributes ||
|---|---|
| `https://www.tensorflow.org/versions/r2.0/api_docs/cc/struct/tensorflow/ops/log-uniform-candidate-sampler/attrs#structtensorflow_1_1ops_1_1_log_uniform_candidate_sampler_1_1_attrs_1aad453bfe9dc8b74a66515880fbdda5da = 0` | `int64` |
| `https://www.tensorflow.org/versions/r2.0/api_docs/cc/struct/tensorflow/ops/log-uniform-candidate-sampler/attrs#structtensorflow_1_1ops_1_1_log_uniform_candidate_sampler_1_1_attrs_1a5f4efdafbee0cdd913582206a3272e4f = 0` | `int64` |

| ### Public functions ||
|---|---|
| `https://www.tensorflow.org/versions/r2.0/api_docs/cc/struct/tensorflow/ops/log-uniform-candidate-sampler/attrs#structtensorflow_1_1ops_1_1_log_uniform_candidate_sampler_1_1_attrs_1a9208c134bcda3d1204670d2a6e41e30d(int64 x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r2.0/api_docs/cc/struct/tensorflow/ops/log-uniform-candidate-sampler/attrs#structtensorflow_1_1ops_1_1_log_uniform_candidate_sampler_1_1_attrs` If either seed or seed2 are set to be non-zero, the random number generator is seeded by the given seed. |
| `https://www.tensorflow.org/versions/r2.0/api_docs/cc/struct/tensorflow/ops/log-uniform-candidate-sampler/attrs#structtensorflow_1_1ops_1_1_log_uniform_candidate_sampler_1_1_attrs_1a50c68717bb84ce7fe23286e89328853f(int64 x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r2.0/api_docs/cc/struct/tensorflow/ops/log-uniform-candidate-sampler/attrs#structtensorflow_1_1ops_1_1_log_uniform_candidate_sampler_1_1_attrs` An second seed to avoid seed collision. |

## Public attributes

### seed2_

```
int64 tensorflow::ops::LogUniformCandidateSampler::Attrs::seed2_ = 0
```

### seed_

```
int64 tensorflow::ops::LogUniformCandidateSampler::Attrs::seed_ = 0
```

## Public functions

### Seed

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::LogUniformCandidateSampler::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

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::LogUniformCandidateSampler::Attrs::Seed2(
  int64 x
)
```
An second seed to avoid seed collision.

Defaults to 0