@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.AccumulateNV2 extends Pointer
tf.accumulate_n_v2 performs the same operation as tf.add_n, but does not
wait for all of its inputs to be ready before beginning to sum. This can
save memory if inputs are ready at different times, since minimum temporary
storage is proportional to the output size rather than the inputs size.
Unlike the original accumulate_n, accumulate_n_v2 is differentiable.
Returns a Tensor of same shape and type as the elements of inputs.
Arguments:
* scope: A Scope object
* inputs: A list of Tensor objects, each with same shape and type.
* shape: Shape of elements of inputs.
Returns:
* Output: The sum tensor.Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
AccumulateNV2(Pointer p)
Pointer cast constructor.
|
AccumulateNV2(tensorflow.Scope scope,
tensorflow.InputList inputs,
tensorflow.PartialTensorShape shape) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.Input |
asInput() |
tensorflow.Output |
asOutput() |
tensorflow.Node |
node() |
tensorflow.Operation |
operation() |
tensorflow.AccumulateNV2 |
operation(tensorflow.Operation operation) |
tensorflow.Output |
sum() |
tensorflow.AccumulateNV2 |
sum(tensorflow.Output sum) |
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 AccumulateNV2(Pointer p)
Pointer.Pointer(Pointer).public AccumulateNV2(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.InputList inputs, @ByVal tensorflow.PartialTensorShape shape)
@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.AccumulateNV2 operation(tensorflow.Operation operation)
@ByRef public tensorflow.Output sum()
public tensorflow.AccumulateNV2 sum(tensorflow.Output sum)
Copyright © 2019. All rights reserved.