tensorflow::ops::MapSize
#include <data_flow_ops.h>
Операция возвращает количество элементов в базовом контейнере.
Краткое описание
Аргументы:
- scope: Объект Scope
Возвращает:
-
Output: тензор размера.
| Конструкторы и деструкторы | |
|---|---|
MapSize(const ::tensorflow::Scope & scope, const DataTypeSlice & dtypes) | |
MapSize(const ::tensorflow::Scope & scope, const DataTypeSlice & dtypes, const MapSize::Attrs & attrs) |
| Общедоступные атрибуты | |
|---|---|
operation | |
size | |
| Общедоступные функции | |
|---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const | |
| Общедоступные статические функции | |
|---|---|
Capacity(int64 x) | |
Container(StringPiece x) | |
MemoryLimit(int64 x) | |
SharedName(StringPiece x) | |
| Структуры | |
|---|---|
| tensorflow::ops::MapSize::Attrs | Дополнительные установщики атрибутов для MapSize. |
Общедоступные атрибуты
operation
Operation operation
размер
::tensorflow::Output size
Общедоступные функции
MapSize
MapSize( const ::tensorflow::Scope & scope, const DataTypeSlice & dtypes )
MapSize
MapSize( const ::tensorflow::Scope & scope, const DataTypeSlice & dtypes, const MapSize::Attrs & attrs )
узел
::tensorflow::Node * node() const
оператор::tensorflow::Вход
operator::tensorflow::Input() const
оператор::tensorflow::Выход
operator::tensorflow::Output() const
Общедоступные статические функции
Емкость
Attrs Capacity( int64 x )
Контейнер
Attrs Container( StringPiece x )
Предел памяти
Attrs MemoryLimit( int64 x )
Уникальное имя
Attrs SharedName( StringPiece x )
© 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/class/tensorflow/ops/map-size