tensorflow::ops::Empty
#include <array_ops.h>
Создает тензор заданной формы.
Сводка
Эта операция создает тензор типа shape и dtype.
Аргументы:
- scope: объект Scope
- shape: одномерный массив. Задает форму выходного тензора.
Необязательные атрибуты (см. Attrs):
- init: если True, инициализировать возвращаемый тензор значением по умолчанию для dtype. В противном случае реализация может не инициализировать содержимое тензора.
Возвращает:
| Конструкторы и деструкторы | |
|---|---|
Empty(const ::tensorflow::Scope & scope, ::tensorflow::Input shape, DataType dtype) | |
Empty(const ::tensorflow::Scope & scope, ::tensorflow::Input shape, DataType dtype, const Empty::Attrs & attrs) |
| Открытые атрибуты | |
|---|---|
operation | |
output | |
| Открытые функции | |
|---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const | |
| Открытые статические функции | |
|---|---|
Init(bool x) | |
| Структуры | |
|---|---|
| tensorflow::ops::Empty::Attrs | Методы настройки необязательных атрибутов для Empty. |
Открытые атрибуты
operation
Operation operation
output
::tensorflow::Output output
Открытые функции
Empty
Empty( const ::tensorflow::Scope & scope, ::tensorflow::Input shape, DataType dtype )
Empty
Empty( const ::tensorflow::Scope & scope, ::tensorflow::Input shape, DataType dtype, const Empty::Attrs & attrs )
node
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
Открытые статические функции
Init
Attrs Init( 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/empty