tensorflow::ops::ZerosLike
#include <array_ops.h>
Возвращает тензор нулей с той же формой и типом, что и x.
Краткое описание
Аргументы:
- scope: Объект Scope
- x: тензор типа T.
Возвращает:
-
Output: тензор той же формы и типа, что и x, но заполненный нулями.
| Конструкторы и деструкторы | |
|---|---|
ZerosLike(const ::tensorflow::Scope & scope, ::tensorflow::Input x) |
| Публичные атрибуты | |
|---|---|
operation | |
y | |
| Публичные функции | |
|---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const | |
Публичные атрибуты
operation
Operation operation
y
::tensorflow::Output y
Публичные функции
ZerosLike
ZerosLike( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
node
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
© 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/versions/r2.9/api_docs/cc/class/tensorflow/ops/zeros-like