@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.AccumulatorApplyGradient extends Pointer
Applies a gradient to a given accumulator.
Does not add if local_step is lesser than the accumulator's global_step.
Arguments:
* scope: A Scope object
* handle: The handle to a accumulator.
* local_step: The local_step value at which the gradient was computed.
* gradient: A tensor of the gradient to be accumulated.
Returns:
* the created Operation
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
AccumulatorApplyGradient(Pointer p)
Pointer cast constructor.
|
AccumulatorApplyGradient(tensorflow.Scope scope,
tensorflow.Input handle,
tensorflow.Input local_step,
tensorflow.Input gradient) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.Operation |
asOperation() |
tensorflow.Operation |
operation() |
tensorflow.AccumulatorApplyGradient |
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 AccumulatorApplyGradient(Pointer p)
Pointer.Pointer(Pointer).public AccumulatorApplyGradient(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input handle, @ByVal tensorflow.Input local_step, @ByVal tensorflow.Input gradient)
@ByVal @Name(value="operator tensorflow::Operation") public tensorflow.Operation asOperation()
@ByRef public tensorflow.Operation operation()
public tensorflow.AccumulatorApplyGradient operation(tensorflow.Operation operation)
Copyright © 2019. All rights reserved.