@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.SparseAddGrad extends Pointer
SparseTensor objects. This op takes in the upstream gradient w.r.t.
non-empty values of the sum, and outputs the gradients w.r.t. the non-empty
values of A and B.
Arguments:
* scope: A Scope object
* backprop_val_grad: 1-D with shape [nnz(sum)]. The gradient with respect to
the non-empty values of the sum.
* a_indices: 2-D. The indices of the SparseTensor A, size [nnz(A), ndims].
* b_indices: 2-D. The indices of the SparseTensor B, size [nnz(B), ndims].
* sum_indices: 2-D. The indices of the sum SparseTensor, size
[nnz(sum), ndims].
Returns:
* Output a_val_grad: 1-D with shape [nnz(A)]. The gradient with respect to the
non-empty values of A.
* Output b_val_grad: 1-D with shape [nnz(B)]. The gradient with respect to the
non-empty values of B.Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
SparseAddGrad(Pointer p)
Pointer cast constructor.
|
SparseAddGrad(tensorflow.Scope scope,
tensorflow.Input backprop_val_grad,
tensorflow.Input a_indices,
tensorflow.Input b_indices,
tensorflow.Input sum_indices) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.Output |
a_val_grad() |
tensorflow.SparseAddGrad |
a_val_grad(tensorflow.Output a_val_grad) |
tensorflow.Output |
b_val_grad() |
tensorflow.SparseAddGrad |
b_val_grad(tensorflow.Output b_val_grad) |
tensorflow.Operation |
operation() |
tensorflow.SparseAddGrad |
operation(tensorflow.Operation operation) |
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 SparseAddGrad(Pointer p)
Pointer.Pointer(Pointer).public SparseAddGrad(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input backprop_val_grad, @ByVal tensorflow.Input a_indices, @ByVal tensorflow.Input b_indices, @ByVal tensorflow.Input sum_indices)
@ByRef public tensorflow.Operation operation()
public tensorflow.SparseAddGrad operation(tensorflow.Operation operation)
@ByRef public tensorflow.Output a_val_grad()
public tensorflow.SparseAddGrad a_val_grad(tensorflow.Output a_val_grad)
@ByRef public tensorflow.Output b_val_grad()
public tensorflow.SparseAddGrad b_val_grad(tensorflow.Output b_val_grad)
Copyright © 2019. All rights reserved.