@Namespace(value="tensorflow::ops") @NoOffset @Properties(inherit=tensorflow.class) public class SparseFillEmptyRowsGrad extends Pointer
[N]
, and grad_values,
shaped [N_full]
, where N_full >= N
and copies data into either
d_values
or d_default_value
. Here d_values
is shaped [N]
and
d_default_value
is a scalar.
d_values[j] = grad_values[reverse_index_map[j]]
d_default_value = sum_{k : 0 .. N_full - 1} (
grad_values[k] * 1{k not in reverse_index_map})
Arguments:
* scope: A Scope object
* reverse_index_map: 1-D. The reverse index map from SparseFillEmptyRows.
* grad_values: 1-D. The gradients from backprop.
Returns:
* Output
d_values: 1-D. The backprop into values.
* Output
d_default_value: 0-D. The backprop into default_value.Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
SparseFillEmptyRowsGrad(Pointer p)
Pointer cast constructor.
|
SparseFillEmptyRowsGrad(Scope scope,
Input reverse_index_map,
Input grad_values) |
Modifier and Type | Method and Description |
---|---|
Output |
d_default_value() |
SparseFillEmptyRowsGrad |
d_default_value(Output setter) |
Output |
d_values() |
SparseFillEmptyRowsGrad |
d_values(Output setter) |
Operation |
operation() |
SparseFillEmptyRowsGrad |
operation(Operation setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public SparseFillEmptyRowsGrad(Pointer p)
Pointer(Pointer)
.public SparseFillEmptyRowsGrad operation(Operation setter)
public SparseFillEmptyRowsGrad d_values(Output setter)
public SparseFillEmptyRowsGrad d_default_value(Output setter)
Copyright © 2022. All rights reserved.