@Namespace(value="tensorflow::ops") @NoOffset @Properties(inherit=tensorflow.class) public class RandomGamma extends Pointer
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 with shape shape + shape(alpha)
. Each slice
[:, ..., :, i0, i1, ...iN]
contains the samples drawn for
alpha[i0, i1, ...iN]
. The dtype of the output matches the dtype of alpha.Modifier and Type | Class and Description |
---|---|
static class |
RandomGamma.Attrs
Optional attribute setters for RandomGamma
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
RandomGamma(Pointer p)
Pointer cast constructor.
|
RandomGamma(Scope scope,
Input shape,
Input alpha) |
RandomGamma(Scope scope,
Input shape,
Input alpha,
RandomGamma.Attrs attrs) |
Modifier and Type | Method and Description |
---|---|
Input |
asInput() |
Output |
asOutput() |
Node |
node() |
Operation |
operation() |
RandomGamma |
operation(Operation setter) |
Output |
output() |
RandomGamma |
output(Output setter) |
static RandomGamma.Attrs |
Seed(long x) |
static RandomGamma.Attrs |
Seed2(long x) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public RandomGamma(Pointer p)
Pointer(Pointer)
.public Node node()
@ByVal public static RandomGamma.Attrs Seed(@Cast(value="tensorflow::int64") long x)
@ByVal public static RandomGamma.Attrs Seed2(@Cast(value="tensorflow::int64") long x)
public RandomGamma operation(Operation setter)
public RandomGamma output(Output setter)
Copyright © 2022. All rights reserved.