@Namespace(value="tensorflow::ops") @NoOffset @Properties(inherit=tensorflow.class) public class LogSoftmax extends Pointer
i
and class j
we have
logsoftmax[i, j] = logits[i, j] - log(sum(exp(logits[i])))
Arguments:
* scope: A Scope object
* logits: 2-D with shape [batch_size, num_classes]
.
Returns:
* Output
: Same shape as logits
.Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
LogSoftmax(Pointer p)
Pointer cast constructor.
|
LogSoftmax(Scope scope,
Input logits) |
Modifier and Type | Method and Description |
---|---|
Input |
asInput() |
Output |
asOutput() |
Output |
logsoftmax() |
LogSoftmax |
logsoftmax(Output setter) |
Node |
node() |
Operation |
operation() |
LogSoftmax |
operation(Operation setter) |
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 LogSoftmax(Pointer p)
Pointer(Pointer)
.public Node node()
public LogSoftmax operation(Operation setter)
public LogSoftmax logsoftmax(Output setter)
Copyright © 2022. All rights reserved.