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
size
::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 )
node
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
Общедоступные статические функции
Capacity
Attrs Capacity( int64 x )
Контейнер
Attrs Container( StringPiece x )
Предел памяти
Attrs MemoryLimit( int64 x )
Уникальное имя
Attrs SharedName( StringPiece 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/map-size