@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.Bincount extends Pointer
size and the same dtype as weights. If
weights are empty, then index i stores the number of times the value i is
counted in arr. If weights are non-empty, then index i stores the sum of
the value in weights at each index where the corresponding value in arr is
i.
Values in arr outside of the range [0, size) are ignored.
Arguments:
* scope: A Scope object
* arr: int32 Tensor.
* size: non-negative int32 scalar Tensor.
* weights: is an int32, int64, float32, or float64 Tensor with the same
shape as arr, or a length-0 Tensor, in which case it acts as all weights
equal to 1.
Returns:
* Output: 1D Tensor with length equal to size. The counts or summed weights for
each value in the range [0, size).Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
Bincount(Pointer p)
Pointer cast constructor.
|
Bincount(tensorflow.Scope scope,
tensorflow.Input arr,
tensorflow.Input size,
tensorflow.Input weights) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.Input |
asInput() |
tensorflow.Output |
asOutput() |
tensorflow.Output |
bins() |
tensorflow.Bincount |
bins(tensorflow.Output bins) |
tensorflow.Node |
node() |
tensorflow.Operation |
operation() |
tensorflow.Bincount |
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 Bincount(Pointer p)
Pointer.Pointer(Pointer).public Bincount(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input arr, @ByVal tensorflow.Input size, @ByVal tensorflow.Input weights)
@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.Bincount operation(tensorflow.Operation operation)
@ByRef public tensorflow.Output bins()
public tensorflow.Bincount bins(tensorflow.Output bins)
Copyright © 2019. All rights reserved.