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