@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.Sum extends Pointer
input along the dimensions given in axis. Unless
keep_dims is true, the rank of the tensor is reduced by 1 for each entry in
axis. If keep_dims is true, the reduced dimensions are
retained with length 1.
Arguments:
* scope: A Scope object
* input: The tensor to reduce.
* axis: The dimensions to reduce. Must be in the range
[-rank(input), rank(input)).
Optional attributes (see Attrs):
* keep_dims: If true, retain reduced dimensions with length 1.
Returns:
* Output: The reduced tensor.
Aliases:
* ReduceSum| Modifier and Type | Class and Description |
|---|---|
static class |
tensorflow.Sum.Attrs
Optional attribute setters for Sum
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
Sum(Pointer p)
Pointer cast constructor.
|
Sum(tensorflow.Scope scope,
tensorflow.Input input,
tensorflow.Input axis) |
Sum(tensorflow.Scope scope,
tensorflow.Input input,
tensorflow.Input axis,
tensorflow.Sum.Attrs attrs) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.Input |
asInput() |
tensorflow.Output |
asOutput() |
static tensorflow.Sum.Attrs |
KeepDims(boolean x) |
tensorflow.Node |
node() |
tensorflow.Operation |
operation() |
tensorflow.Sum |
operation(tensorflow.Operation operation) |
tensorflow.Output |
output() |
tensorflow.Sum |
output(tensorflow.Output output) |
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 Sum(Pointer p)
Pointer.Pointer(Pointer).public Sum(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input input, @ByVal tensorflow.Input axis)
public Sum(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input input, @ByVal tensorflow.Input axis, @Const @ByRef tensorflow.Sum.Attrs attrs)
@ByVal @Name(value="operator tensorflow::Output") public tensorflow.Output asOutput()
@ByVal @Name(value="operator tensorflow::Input") public tensorflow.Input asInput()
public tensorflow.Node node()
@ByVal public static tensorflow.Sum.Attrs KeepDims(@Cast(value="bool") boolean x)
@ByRef public tensorflow.Operation operation()
public tensorflow.Sum operation(tensorflow.Operation operation)
@ByRef public tensorflow.Output output()
public tensorflow.Sum output(tensorflow.Output output)
Copyright © 2019. All rights reserved.