tensorflow::ops::DataFormatDimMap
#include <nn_ops.h>
Возвращает индекс размерности в целевом формате данных, заданный индексом в исходном формате.
Краткое описание
исходного формата данных.
Аргументы:
- scope: Объект Scope
- x: Объект Tensor, где каждый элемент — индекс размерности в исходном формате данных. Должен быть в диапазоне [-4, 4).
Необязательные атрибуты (см. Attrs):
- src_format: исходный формат данных.
- dst_format: целевой формат данных.
Возвращает:
| Конструкторы и деструкторы | |
|---|---|
DataFormatDimMap(const ::tensorflow::Scope & scope, ::tensorflow::Input x) | |
DataFormatDimMap(const ::tensorflow::Scope & scope, ::tensorflow::Input x, const DataFormatDimMap::Attrs & attrs) |
| Общедоступные атрибуты | |
|---|---|
operation | |
y | |
| Общедоступные функции | |
|---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const | |
| Общедоступные статические функции | |
|---|---|
DstFormat(StringPiece x) | |
SrcFormat(StringPiece x) | |
| Структуры | |
|---|---|
| tensorflow::ops::DataFormatDimMap::Attrs | Необязательные установки атрибутов для DataFormatDimMap. |
Общедоступные атрибуты
operation
Operation operation
y
::tensorflow::Output y
Общедоступные функции
DataFormatDimMap
DataFormatDimMap( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
DataFormatDimMap
DataFormatDimMap( const ::tensorflow::Scope & scope, ::tensorflow::Input x, const DataFormatDimMap::Attrs & attrs )
node
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
Общедоступные статические функции
DstFormat
Attrs DstFormat( StringPiece x )
SrcFormat
Attrs SrcFormat( 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/data-format-dim-map