tensorflow::ops::DataFormatDimMap
#include <nn_ops.h>
Возвращает индекс измерения в целевом формате данных, заданный из исходного формата.
Краткое описание
формата данных.
Аргументы:
- scope: Объект Scope
- x: Тензор с каждым элементом в качестве индекса измерения в исходном формате данных. Должен находиться в диапазоне [-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
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 )
узел
::tensorflow::Node * node() const
оператор::tensorflow::Input
operator::tensorflow::Input() const
оператор::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/versions/r2.9/api_docs/cc/class/tensorflow/ops/data-format-dim-map