@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.RandomUniformInt extends Pointer
[minval, maxval).
The lower bound minval is included in the range, while the upper bound
maxval is excluded.
The random integers are slightly biased unless maxval - minval is an exact
power of two. The bias is small for values of maxval - minval significantly
smaller than the range of the output (either 2^32 or 2^64).
Arguments:
* scope: A Scope object
* shape: The shape of the output tensor.
* minval: 0-D. Inclusive lower bound on the generated integers.
* maxval: 0-D. Exclusive upper bound on the generated integers.
Optional attributes (see Attrs):
* seed: 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.
* seed2: A second seed to avoid seed collision.
Returns:
* Output: A tensor of the specified shape filled with uniform random integers.| Modifier and Type | Class and Description |
|---|---|
static class |
tensorflow.RandomUniformInt.Attrs
Optional attribute setters for RandomUniformInt
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
RandomUniformInt(Pointer p)
Pointer cast constructor.
|
RandomUniformInt(tensorflow.Scope scope,
tensorflow.Input shape,
tensorflow.Input minval,
tensorflow.Input maxval) |
RandomUniformInt(tensorflow.Scope scope,
tensorflow.Input shape,
tensorflow.Input minval,
tensorflow.Input maxval,
tensorflow.RandomUniformInt.Attrs attrs) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.Input |
asInput() |
tensorflow.Output |
asOutput() |
tensorflow.Node |
node() |
tensorflow.Operation |
operation() |
tensorflow.RandomUniformInt |
operation(tensorflow.Operation operation) |
tensorflow.Output |
output() |
tensorflow.RandomUniformInt |
output(tensorflow.Output output) |
static tensorflow.RandomUniformInt.Attrs |
Seed(long x) |
static tensorflow.RandomUniformInt.Attrs |
Seed2(long x) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic RandomUniformInt(Pointer p)
Pointer.Pointer(Pointer).public RandomUniformInt(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input shape, @ByVal tensorflow.Input minval, @ByVal tensorflow.Input maxval)
public RandomUniformInt(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input shape, @ByVal tensorflow.Input minval, @ByVal tensorflow.Input maxval, @Const @ByRef tensorflow.RandomUniformInt.Attrs attrs)
@ByVal @Name(value="operator tensorflow::Output") public tensorflow.Output asOutput()
@ByVal @Name(value="operator tensorflow::Input") public tensorflow.Input asInput()
public tensorflow.Node node()
@ByVal public static tensorflow.RandomUniformInt.Attrs Seed(@Cast(value="tensorflow::int64") long x)
@ByVal public static tensorflow.RandomUniformInt.Attrs Seed2(@Cast(value="tensorflow::int64") long x)
@ByRef public tensorflow.Operation operation()
public tensorflow.RandomUniformInt operation(tensorflow.Operation operation)
@ByRef public tensorflow.Output output()
public tensorflow.RandomUniformInt output(tensorflow.Output output)
Copyright © 2019. All rights reserved.