@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.Complex extends Pointer
real representing the real part of a complex number, and a
tensor imag representing the imaginary part of a complex number, this
operation returns complex numbers elementwise of the form \\(a + bj\\), where
*a* represents the real part and *b* represents the imag part.
The input tensors real and imag must have the same shape.
For example:
# tensor 'real' is [2.25, 3.25]
# tensor `imag` is [4.75, 5.75]
tf.complex(real, imag) ==> [[2.25 + 4.75j], [3.25 + 5.75j]]
Arguments:
* scope: A Scope object
Returns:
* Output: The out tensor.| Modifier and Type | Class and Description |
|---|---|
static class |
tensorflow.Complex.Attrs
Optional attribute setters for Complex
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
Complex(Pointer p)
Pointer cast constructor.
|
Complex(tensorflow.Scope scope,
tensorflow.Input real,
tensorflow.Input imag) |
Complex(tensorflow.Scope scope,
tensorflow.Input real,
tensorflow.Input imag,
tensorflow.Complex.Attrs attrs) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.Input |
asInput() |
tensorflow.Output |
asOutput() |
tensorflow.Node |
node() |
tensorflow.Operation |
operation() |
tensorflow.Complex |
operation(tensorflow.Operation operation) |
tensorflow.Output |
out() |
tensorflow.Complex |
out(tensorflow.Output out) |
static tensorflow.Complex.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 Complex(Pointer p)
Pointer.Pointer(Pointer).public Complex(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input real, @ByVal tensorflow.Input imag)
public Complex(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input real, @ByVal tensorflow.Input imag, @Const @ByRef tensorflow.Complex.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.Complex.Attrs Tout(@Cast(value="tensorflow::DataType") int x)
@ByRef public tensorflow.Operation operation()
public tensorflow.Complex operation(tensorflow.Operation operation)
@ByRef public tensorflow.Output out()
public tensorflow.Complex out(tensorflow.Output out)
Copyright © 2019. All rights reserved.