@Namespace(value="tensorflow::ops") @NoOffset @Properties(inherit=tensorflow.class) public class Imag extends Pointer
input
of complex numbers, this operation returns a tensor of
type float
that is the imaginary part of each element in input
. All
elements in input
must be complex numbers of the form \(a + bj\), where *a*
is the real part and *b* is the imaginary part returned by this operation.
For example:
# tensor 'input' is [-2.25 + 4.75j, 3.25 + 5.75j]
tf.imag(input) ==> [4.75, 5.75]
Arguments:
* scope: A Scope object
Returns:
* Output
: The output tensor.Modifier and Type | Class and Description |
---|---|
static class |
Imag.Attrs
Optional attribute setters for Imag
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Imag(Pointer p)
Pointer cast constructor.
|
Imag(Scope scope,
Input input) |
Imag(Scope scope,
Input input,
Imag.Attrs attrs) |
Modifier and Type | Method and Description |
---|---|
Input |
asInput() |
Output |
asOutput() |
Node |
node() |
Operation |
operation() |
Imag |
operation(Operation setter) |
Output |
output() |
Imag |
output(Output setter) |
static Imag.Attrs |
Tout(int 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 Imag(Pointer p)
Pointer(Pointer)
.public Node node()
@ByVal public static Imag.Attrs Tout(@Cast(value="tensorflow::DataType") int x)
Copyright © 2022. All rights reserved.