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 )
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/map-size