@Namespace(value="tensorflow::ops") @NoOffset @Properties(inherit=tensorflow.class) public class Expm1 extends Pointer
exp(x) - 1
element-wise.
i.e. exp(x) - 1
or e^(x) - 1
, where x
is the input tensor.
e
denotes Euler's number and is approximately equal to 2.718281.
python
x = tf.constant(2.0)
tf.math.expm1(x) ==> 6.389056
x = tf.constant([2.0, 8.0])
tf.math.expm1(x) ==> array([6.389056, 2979.958], dtype=float32)
x = tf.constant(1 + 1j)
tf.math.expm1(x) ==> (0.46869393991588515+2.2873552871788423j)
Arguments:
* scope: A Scope object
Returns:
* Output
: The y tensor.Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Expm1(Pointer p)
Pointer cast constructor.
|
Expm1(Scope scope,
Input x) |
Modifier and Type | Method and Description |
---|---|
Input |
asInput() |
Output |
asOutput() |
Node |
node() |
Operation |
operation() |
Expm1 |
operation(Operation setter) |
Output |
y() |
Expm1 |
y(Output 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 Expm1(Pointer p)
Pointer(Pointer)
.public Node node()
Copyright © 2022. All rights reserved.