tensorflow::ops::DataFormatDimMap
#include <nn_ops.h>
Returns the dimension index in the destination data format given the one in.
Summary
the source data format.
Arguments:
- scope: A Scope object
- x: A Tensor with each element as a dimension index in source data format. Must be in the range [-4, 4).
Optional attributes (see Attrs):
- src_format: source data format.
- dst_format: destination data format.
Returns:
| Constructors and Destructors | |
|---|---|
DataFormatDimMap(const ::tensorflow::Scope & scope, ::tensorflow::Input x) | |
DataFormatDimMap(const ::tensorflow::Scope & scope, ::tensorflow::Input x, const DataFormatDimMap::Attrs & attrs) |
| Public attributes | |
|---|---|
operation | |
y | |
| Public functions | |
|---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const | |
| Public static functions | |
|---|---|
DstFormat(StringPiece x) | |
SrcFormat(StringPiece x) | |
| Structs | |
|---|---|
| tensorflow::ops::DataFormatDimMap::Attrs | Optional attribute setters for DataFormatDimMap. |
Public attributes
operation
Operation operation
y
::tensorflow::Output y
Public functions
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
Public static functions
DstFormat
Attrs DstFormat( StringPiece x )
SrcFormat
Attrs SrcFormat( 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/data-format-dim-map