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 )
Container
Attrs Container( StringPiece x )
MemoryLimit
Attrs MemoryLimit( int64 x )
SharedName
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