@Namespace(value="tensorflow::ops") @NoOffset @Properties(inherit=tensorflow.class) public class RandomPoissonV2 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(rate)
. Each slice
[:, ..., :, i0, i1, ...iN]
contains the samples drawn for
rate[i0, i1, ...iN]
.Modifier and Type | Class and Description |
---|---|
static class |
RandomPoissonV2.Attrs
Optional attribute setters for RandomPoissonV2
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
RandomPoissonV2(Pointer p)
Pointer cast constructor.
|
RandomPoissonV2(Scope scope,
Input shape,
Input rate) |
RandomPoissonV2(Scope scope,
Input shape,
Input rate,
RandomPoissonV2.Attrs attrs) |
Modifier and Type | Method and Description |
---|---|
Input |
asInput() |
Output |
asOutput() |
static RandomPoissonV2.Attrs |
Dtype(int x) |
Node |
node() |
Operation |
operation() |
RandomPoissonV2 |
operation(Operation setter) |
Output |
output() |
RandomPoissonV2 |
output(Output setter) |
static RandomPoissonV2.Attrs |
Seed(long x) |
static RandomPoissonV2.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 RandomPoissonV2(Pointer p)
Pointer(Pointer)
.public RandomPoissonV2(@Const @ByRef Scope scope, @ByVal Input shape, @ByVal Input rate)
public Node node()
@ByVal public static RandomPoissonV2.Attrs Seed(@Cast(value="tensorflow::int64") long x)
@ByVal public static RandomPoissonV2.Attrs Seed2(@Cast(value="tensorflow::int64") long x)
@ByVal public static RandomPoissonV2.Attrs Dtype(@Cast(value="tensorflow::DataType") int x)
public RandomPoissonV2 operation(Operation setter)
public RandomPoissonV2 output(Output setter)
Copyright © 2022. All rights reserved.