tensorflow::ops::ResourceScatterNdMax
#include <state_ops.h>
TODO: добавить документацию.
Краткое описание
Аргументы:
- scope: Объект Scope
- ref: Детектор ресурсов. Должен быть из VarHandleOp.
- indices: Tensor. Должен быть одного из следующих типов: int32, int64. Массив индексов в ref.
- updates: Tensor. Должен иметь тот же тип, что и ref. Массив значений, для которых вычисляется элемент-мультимаксимум с ref
Необязательные атрибуты (см. Attrs):
- use_locking: Необязательный bool. По умолчанию True. Если True, присваивание будет защищено блокировкой; в противном случае поведение не определено, но может иметь меньше конфликтов.
Возвращает:
- созданный
Operation
| Конструкторы и деструкторы | |
|---|---|
ResourceScatterNdMax(const ::tensorflow::Scope & scope, ::tensorflow::Input ref, ::tensorflow::Input indices, ::tensorflow::Input updates) | |
ResourceScatterNdMax(const ::tensorflow::Scope & scope, ::tensorflow::Input ref, ::tensorflow::Input indices, ::tensorflow::Input updates, const ResourceScatterNdMax::Attrs & attrs) |
| Публичные атрибуты | |
|---|---|
operation | |
| Публичные функции | |
|---|---|
operator::tensorflow::Operation() const | |
| Публичные статические функции | |
|---|---|
UseLocking(bool x) | |
| Структуры | |
|---|---|
| tensorflow::ops::ResourceScatterNdMax::Attrs | Необязательные параметры установки атрибутов для ResourceScatterNdMax. |
Публичные атрибуты
operation
Operation operation
Публичные функции
ResourceScatterNdMax
ResourceScatterNdMax( const ::tensorflow::Scope & scope, ::tensorflow::Input ref, ::tensorflow::Input indices, ::tensorflow::Input updates )
ResourceScatterNdMax
ResourceScatterNdMax( const ::tensorflow::Scope & scope, ::tensorflow::Input ref, ::tensorflow::Input indices, ::tensorflow::Input updates, const ResourceScatterNdMax::Attrs & attrs )
Оператор::tensorflow::Operation
operator::tensorflow::Operation() const
Публичные статические функции
UseLocking
Attrs UseLocking( bool x )
© 2022 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/api_docs/cc/class/tensorflow/ops/resource-scatter-nd-max