@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.RandomShuffle extends Pointer
value[j] is mapped
to one and only one output[i]. For example, a mapping that might occur for a
3x2 tensor is:
[[1, 2], [[5, 6],
[3, 4], ==> [1, 2],
[5, 6]] [3, 4]]
Arguments:
* scope: A Scope object
* value: The tensor to be shuffled.
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 same shape and type as value, shuffled along its first
dimension.| Modifier and Type | Class and Description |
|---|---|
static class |
tensorflow.RandomShuffle.Attrs
Optional attribute setters for RandomShuffle
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
RandomShuffle(Pointer p)
Pointer cast constructor.
|
RandomShuffle(tensorflow.Scope scope,
tensorflow.Input value) |
RandomShuffle(tensorflow.Scope scope,
tensorflow.Input value,
tensorflow.RandomShuffle.Attrs attrs) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.Input |
asInput() |
tensorflow.Output |
asOutput() |
tensorflow.Node |
node() |
tensorflow.Operation |
operation() |
tensorflow.RandomShuffle |
operation(tensorflow.Operation operation) |
tensorflow.Output |
output() |
tensorflow.RandomShuffle |
output(tensorflow.Output output) |
static tensorflow.RandomShuffle.Attrs |
Seed(long x) |
static tensorflow.RandomShuffle.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 RandomShuffle(Pointer p)
Pointer.Pointer(Pointer).public RandomShuffle(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input value)
public RandomShuffle(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input value, @Const @ByRef tensorflow.RandomShuffle.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.RandomShuffle.Attrs Seed(@Cast(value="tensorflow::int64") long x)
@ByVal public static tensorflow.RandomShuffle.Attrs Seed2(@Cast(value="tensorflow::int64") long x)
@ByRef public tensorflow.Operation operation()
public tensorflow.RandomShuffle operation(tensorflow.Operation operation)
@ByRef public tensorflow.Output output()
public tensorflow.RandomShuffle output(tensorflow.Output output)
Copyright © 2019. All rights reserved.