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