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.

Args:

  • 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:

  • Output : A Tensor with each element as a dimension index in destination data format.

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

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
)