public static class RandomNormal.Attrs extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Attrs()
Default native constructor.
|
Attrs(long size)
Native array allocator.
|
Attrs(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
RandomNormal.Attrs |
getPointer(long i) |
RandomNormal.Attrs |
position(long position) |
long |
seed_() |
RandomNormal.Attrs |
seed_(long setter) |
RandomNormal.Attrs |
Seed(long x)
If either
seed or seed2 are set to be non-zero, the random number
generator is seeded by the given seed. |
long |
seed2_() |
RandomNormal.Attrs |
seed2_(long setter) |
RandomNormal.Attrs |
Seed2(long x)
A second seed to avoid seed collision.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public Attrs()
public Attrs(long size)
Pointer.position(long)
.public Attrs(Pointer p)
Pointer(Pointer)
.public RandomNormal.Attrs position(long position)
public RandomNormal.Attrs getPointer(long i)
getPointer
in class Pointer
@ByVal public RandomNormal.Attrs Seed(@Cast(value="tensorflow::int64") long x)
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.
Defaults to 0@ByVal public RandomNormal.Attrs Seed2(@Cast(value="tensorflow::int64") long x)
public RandomNormal.Attrs seed_(long setter)
public RandomNormal.Attrs seed2_(long setter)
Copyright © 2022. All rights reserved.