tensorflow::ops::NthElement::Attrs

#include <nn_ops.h>

Optional attribute setters for NthElement.

Summary

Public attributes
reverse_ = false
bool
Public functions
Reverse(bool x)
TF_MUST_USE_RESULT Attrs
When set to True, find the nth-largest value in the vector and vice versa.

Public attributes

reverse_

bool tensorflow::ops::NthElement::Attrs::reverse_ = false

Public functions

Reverse

TF_MUST_USE_RESULT Attrs tensorflow::ops::NthElement::Attrs::Reverse(
  bool x
)

When set to True, find the nth-largest value in the vector and vice versa.

Defaults to false

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/cc/struct/tensorflow/ops/nth-element/attrs