@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.Qr extends Pointer
tensor such that
tensor[..., :, :] = q[..., :, :] * r[..., :,:])
python
# a is a tensor.
# q is a tensor of orthonormal matrices.
# r is a tensor of upper triangular matrices.
q, r = qr(a)
q_full, r_full = qr(a, full_matrices=True)
Arguments:
* scope: A Scope object
* input: A tensor of shape [..., M, N] whose inner-most 2 dimensions
form matrices of size [M, N]. Let P be the minimum of M and N.
Optional attributes (see Attrs):
* full_matrices: If true, compute full-sized q and r. If false
(the default), compute only the leading P columns of q.
Returns:
* Output q: Orthonormal basis for range of a. If full_matrices is False then
shape is [..., M, P]; if full_matrices is True then shape is
[..., M, M].
* Output r: Triangular factor. If full_matrices is False then shape is
[..., P, N]. If full_matrices is True then shape is [..., M, N].| Modifier and Type | Class and Description |
|---|---|
static class |
tensorflow.Qr.Attrs
Optional attribute setters for Qr
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
Qr(Pointer p)
Pointer cast constructor.
|
Qr(tensorflow.Scope scope,
tensorflow.Input input) |
Qr(tensorflow.Scope scope,
tensorflow.Input input,
tensorflow.Qr.Attrs attrs) |
| Modifier and Type | Method and Description |
|---|---|
static tensorflow.Qr.Attrs |
FullMatrices(boolean x) |
tensorflow.Operation |
operation() |
tensorflow.Qr |
operation(tensorflow.Operation operation) |
tensorflow.Output |
q() |
tensorflow.Qr |
q(tensorflow.Output q) |
tensorflow.Output |
r() |
tensorflow.Qr |
r(tensorflow.Output r) |
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 Qr(Pointer p)
Pointer.Pointer(Pointer).public Qr(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input input)
public Qr(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input input, @Const @ByRef tensorflow.Qr.Attrs attrs)
@ByVal public static tensorflow.Qr.Attrs FullMatrices(@Cast(value="bool") boolean x)
@ByRef public tensorflow.Operation operation()
public tensorflow.Qr operation(tensorflow.Operation operation)
@ByRef public tensorflow.Output q()
public tensorflow.Qr q(tensorflow.Output q)
@ByRef public tensorflow.Output r()
public tensorflow.Qr r(tensorflow.Output r)
Copyright © 2019. All rights reserved.