@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.NonMaxSuppressionV2 extends Pointer
tf.gather operation. For example:
selected_indices = tf.image.non_max_suppression_v2(
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.
* iou_threshold: A 0-D float tensor 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.Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
NonMaxSuppressionV2(Pointer p)
Pointer cast constructor.
|
NonMaxSuppressionV2(tensorflow.Scope scope,
tensorflow.Input boxes,
tensorflow.Input scores,
tensorflow.Input max_output_size,
tensorflow.Input iou_threshold) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.Input |
asInput() |
tensorflow.Output |
asOutput() |
tensorflow.Node |
node() |
tensorflow.Operation |
operation() |
tensorflow.NonMaxSuppressionV2 |
operation(tensorflow.Operation operation) |
tensorflow.Output |
selected_indices() |
tensorflow.NonMaxSuppressionV2 |
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 NonMaxSuppressionV2(Pointer p)
Pointer.Pointer(Pointer).public NonMaxSuppressionV2(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input boxes, @ByVal tensorflow.Input scores, @ByVal tensorflow.Input max_output_size, @ByVal tensorflow.Input iou_threshold)
@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.NonMaxSuppressionV2 operation(tensorflow.Operation operation)
@ByRef public tensorflow.Output selected_indices()
public tensorflow.NonMaxSuppressionV2 selected_indices(tensorflow.Output selected_indices)
Copyright © 2019. All rights reserved.