@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.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 |
tensorflow.Imag.Attrs
Optional attribute setters for Imag
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
Imag(Pointer p)
Pointer cast constructor.
|
Imag(tensorflow.Scope scope,
tensorflow.Input input) |
Imag(tensorflow.Scope scope,
tensorflow.Input input,
tensorflow.Imag.Attrs attrs) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.Input |
asInput() |
tensorflow.Output |
asOutput() |
tensorflow.Node |
node() |
tensorflow.Operation |
operation() |
tensorflow.Imag |
operation(tensorflow.Operation operation) |
tensorflow.Output |
output() |
tensorflow.Imag |
output(tensorflow.Output output) |
static tensorflow.Imag.Attrs |
Tout(int x) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic Imag(Pointer p)
Pointer.Pointer(Pointer).public Imag(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input input)
public Imag(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input input, @Const @ByRef tensorflow.Imag.Attrs attrs)
@ByVal @Name(value="operator tensorflow::Output") public tensorflow.Output asOutput()
@ByVal @Name(value="operator tensorflow::Input") public tensorflow.Input asInput()
public tensorflow.Node node()
@ByVal public static tensorflow.Imag.Attrs Tout(@Cast(value="tensorflow::DataType") int x)
@ByRef public tensorflow.Operation operation()
public tensorflow.Imag operation(tensorflow.Operation operation)
@ByRef public tensorflow.Output output()
public tensorflow.Imag output(tensorflow.Output output)
Copyright © 2019. All rights reserved.