@Namespace(value="tensorflow::ops") @NoOffset @Properties(inherit=tensorflow.class) public class TruncatedNormal 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 of the specified shape filled with random truncated normal
values.Modifier and Type | Class and Description |
---|---|
static class |
TruncatedNormal.Attrs
Optional attribute setters for TruncatedNormal
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
TruncatedNormal(Pointer p)
Pointer cast constructor.
|
TruncatedNormal(Scope scope,
Input shape,
int dtype) |
TruncatedNormal(Scope scope,
Input shape,
int dtype,
TruncatedNormal.Attrs attrs) |
Modifier and Type | Method and Description |
---|---|
Input |
asInput() |
Output |
asOutput() |
Node |
node() |
Operation |
operation() |
TruncatedNormal |
operation(Operation setter) |
Output |
output() |
TruncatedNormal |
output(Output setter) |
static TruncatedNormal.Attrs |
Seed(long x) |
static TruncatedNormal.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 TruncatedNormal(Pointer p)
Pointer(Pointer)
.public TruncatedNormal(@Const @ByRef Scope scope, @ByVal Input shape, @Cast(value="tensorflow::DataType") int dtype)
public Node node()
@ByVal public static TruncatedNormal.Attrs Seed(@Cast(value="tensorflow::int64") long x)
@ByVal public static TruncatedNormal.Attrs Seed2(@Cast(value="tensorflow::int64") long x)
public TruncatedNormal operation(Operation setter)
public TruncatedNormal output(Output setter)
Copyright © 2022. All rights reserved.