@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.RandomUniform extends Pointer
[0, 1). The
lower bound 0 is included in the range, while the upper bound 1 is excluded.
Arguments:
* scope: A Scope object
* shape: The shape of the output tensor.
* dtype: The type of the output.
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 values.| Modifier and Type | Class and Description |
|---|---|
static class |
tensorflow.RandomUniform.Attrs
Optional attribute setters for RandomUniform
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
RandomUniform(Pointer p)
Pointer cast constructor.
|
RandomUniform(tensorflow.Scope scope,
tensorflow.Input shape,
int dtype) |
RandomUniform(tensorflow.Scope scope,
tensorflow.Input shape,
int dtype,
tensorflow.RandomUniform.Attrs attrs) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.Input |
asInput() |
tensorflow.Output |
asOutput() |
tensorflow.Node |
node() |
tensorflow.Operation |
operation() |
tensorflow.RandomUniform |
operation(tensorflow.Operation operation) |
tensorflow.Output |
output() |
tensorflow.RandomUniform |
output(tensorflow.Output output) |
static tensorflow.RandomUniform.Attrs |
Seed(long x) |
static tensorflow.RandomUniform.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 RandomUniform(Pointer p)
Pointer.Pointer(Pointer).public RandomUniform(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input shape, @Cast(value="tensorflow::DataType") int dtype)
public RandomUniform(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input shape, @Cast(value="tensorflow::DataType") int dtype, @Const @ByRef tensorflow.RandomUniform.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.RandomUniform.Attrs Seed(@Cast(value="tensorflow::int64") long x)
@ByVal public static tensorflow.RandomUniform.Attrs Seed2(@Cast(value="tensorflow::int64") long x)
@ByRef public tensorflow.Operation operation()
public tensorflow.RandomUniform operation(tensorflow.Operation operation)
@ByRef public tensorflow.Output output()
public tensorflow.RandomUniform output(tensorflow.Output output)
Copyright © 2019. All rights reserved.