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 )
operator::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