@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.NonMaxSuppression extends Pointer
tf.gather operation. For example:
selected_indices = tf.image.non_max_suppression(
boxes, scores, max_output_size, iou_threshold)
selected_boxes = tf.gather(boxes, selected_indices)
Arguments:
* scope: A Scope object
* boxes: A 2-D float tensor of shape [num_boxes, 4].
* scores: A 1-D float tensor of shape [num_boxes] representing a single
score corresponding to each box (each row of boxes).
* max_output_size: A scalar integer tensor representing the maximum number of
boxes to be selected by non max suppression.
Optional attributes (see Attrs):
* iou_threshold: A float representing the threshold for deciding whether boxes
overlap too much with respect to IOU.
Returns:
* Output: A 1-D integer tensor of shape [M] representing the selected
indices from the boxes tensor, where M <= max_output_size.| Modifier and Type | Class and Description |
|---|---|
static class |
tensorflow.NonMaxSuppression.Attrs
Optional attribute setters for NonMaxSuppression
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
NonMaxSuppression(Pointer p)
Pointer cast constructor.
|
NonMaxSuppression(tensorflow.Scope scope,
tensorflow.Input boxes,
tensorflow.Input scores,
tensorflow.Input max_output_size) |
NonMaxSuppression(tensorflow.Scope scope,
tensorflow.Input boxes,
tensorflow.Input scores,
tensorflow.Input max_output_size,
tensorflow.NonMaxSuppression.Attrs attrs) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.Input |
asInput() |
tensorflow.Output |
asOutput() |
static tensorflow.NonMaxSuppression.Attrs |
IouThreshold(float x) |
tensorflow.Node |
node() |
tensorflow.Operation |
operation() |
tensorflow.NonMaxSuppression |
operation(tensorflow.Operation operation) |
tensorflow.Output |
selected_indices() |
tensorflow.NonMaxSuppression |
selected_indices(tensorflow.Output selected_indices) |
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 NonMaxSuppression(Pointer p)
Pointer.Pointer(Pointer).public NonMaxSuppression(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input boxes, @ByVal tensorflow.Input scores, @ByVal tensorflow.Input max_output_size)
public NonMaxSuppression(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input boxes, @ByVal tensorflow.Input scores, @ByVal tensorflow.Input max_output_size, @Const @ByRef tensorflow.NonMaxSuppression.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.NonMaxSuppression.Attrs IouThreshold(float x)
@ByRef public tensorflow.Operation operation()
public tensorflow.NonMaxSuppression operation(tensorflow.Operation operation)
@ByRef public tensorflow.Output selected_indices()
public tensorflow.NonMaxSuppression selected_indices(tensorflow.Output selected_indices)
Copyright © 2019. All rights reserved.