@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.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| Constructor and Description |
|---|
SparseFillEmptyRowsGrad(Pointer p)
Pointer cast constructor.
|
SparseFillEmptyRowsGrad(tensorflow.Scope scope,
tensorflow.Input reverse_index_map,
tensorflow.Input grad_values) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.Output |
d_default_value() |
tensorflow.SparseFillEmptyRowsGrad |
d_default_value(tensorflow.Output d_default_value) |
tensorflow.Output |
d_values() |
tensorflow.SparseFillEmptyRowsGrad |
d_values(tensorflow.Output d_values) |
tensorflow.Operation |
operation() |
tensorflow.SparseFillEmptyRowsGrad |
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 SparseFillEmptyRowsGrad(Pointer p)
Pointer.Pointer(Pointer).public SparseFillEmptyRowsGrad(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input reverse_index_map, @ByVal tensorflow.Input grad_values)
@ByRef public tensorflow.Operation operation()
public tensorflow.SparseFillEmptyRowsGrad operation(tensorflow.Operation operation)
@ByRef public tensorflow.Output d_values()
public tensorflow.SparseFillEmptyRowsGrad d_values(tensorflow.Output d_values)
@ByRef public tensorflow.Output d_default_value()
public tensorflow.SparseFillEmptyRowsGrad d_default_value(tensorflow.Output d_default_value)
Copyright © 2019. All rights reserved.