Spec-Zone.ru › TensorFlow C++

tensorflow::ops::ResourceScatterNdMin

#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
Конструкторы и деструкторы
ResourceScatterNdMin(const ::tensorflow::Scope & scope, ::tensorflow::Input ref, ::tensorflow::Input indices, ::tensorflow::Input updates)
ResourceScatterNdMin(const ::tensorflow::Scope & scope, ::tensorflow::Input ref, ::tensorflow::Input indices, ::tensorflow::Input updates, const ResourceScatterNdMin::Attrs & attrs)
Общедоступные атрибуты
operation
Operation
Общедоступные функции
operator::tensorflow::Operation() const
Общедоступные статические функции
UseLocking(bool x)
Attrs
Структуры
tensorflow::ops::ResourceScatterNdMin::Attrs

Методы задания необязательных атрибутов для ResourceScatterNdMin.

Общедоступные атрибуты

operation

Operation operation

Общедоступные функции

ResourceScatterNdMin

 ResourceScatterNdMin(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input ref,
  ::tensorflow::Input indices,
  ::tensorflow::Input updates
)

ResourceScatterNdMin

 ResourceScatterNdMin(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input ref,
  ::tensorflow::Input indices,
  ::tensorflow::Input updates,
  const ResourceScatterNdMin::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-min

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API