tf.raw_ops.NotEqual
Возвращает значение истинности (x != y) поэлементно.
tf.raw_ops.NotEqual(
x, y, incompatible_shape_error=True, name=None
)
Примечание: NotEqual поддерживает вещание. Подробнее о вещании здесь
| Аргументы | |
|---|---|
x | A Tensor. Должен быть одним из следующих типов: bfloat16, half, float32, float64, uint8, int8, int16, int32, int64, uint16, uint32, uint64, complex64, quint8, qint8, qint32, string, bool, complex128. |
y | A Tensor. Должен иметь тот же тип, что и x. |
incompatible_shape_error | Необязательный bool. По умолчанию True. |
name | Имя операции (необязательно). |
| Возвращаемое значение | |
|---|---|
A Tensor типа bool. |
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.3/api_docs/python/tf/raw_ops/NotEqual