@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.MatrixSetDiag extends Pointer
input and diagonal, this operation returns a tensor with the
same shape and values as input, except for the main diagonal of the
innermost matrices. These will be overwritten by the values in diagonal.
The output is computed as follows:
Assume input has k+1 dimensions [I, J, K, ..., M, N] and diagonal has
k dimensions [I, J, K, ..., min(M, N)]. Then the output is a
tensor of rank k+1 with dimensions [I, J, K, ..., M, N] where:
* output[i, j, k, ..., m, n] = diagonal[i, j, k, ..., n] for m == n.
* output[i, j, k, ..., m, n] = input[i, j, k, ..., m, n] for m != n.
Arguments:
* scope: A Scope object
* input: Rank k+1, where k >= 1.
* diagonal: Rank k, where k >= 1.
Returns:
* Output: Rank k+1, with output.shape = input.shape.Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
MatrixSetDiag(Pointer p)
Pointer cast constructor.
|
MatrixSetDiag(tensorflow.Scope scope,
tensorflow.Input input,
tensorflow.Input diagonal) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.Input |
asInput() |
tensorflow.Output |
asOutput() |
tensorflow.Node |
node() |
tensorflow.Operation |
operation() |
tensorflow.MatrixSetDiag |
operation(tensorflow.Operation operation) |
tensorflow.Output |
output() |
tensorflow.MatrixSetDiag |
output(tensorflow.Output output) |
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 MatrixSetDiag(Pointer p)
Pointer.Pointer(Pointer).public MatrixSetDiag(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input input, @ByVal tensorflow.Input diagonal)
@ByVal @Name(value="operator tensorflow::Output") public tensorflow.Output asOutput()
@ByVal @Name(value="operator tensorflow::Input") public tensorflow.Input asInput()
public tensorflow.Node node()
@ByRef public tensorflow.Operation operation()
public tensorflow.MatrixSetDiag operation(tensorflow.Operation operation)
@ByRef public tensorflow.Output output()
public tensorflow.MatrixSetDiag output(tensorflow.Output output)
Copyright © 2019. All rights reserved.