Public Member Functions
ngraph::pass::ConvertSpaceToBatch Class Reference

ConvertSpaceToBatch transformation decomposes SpaceToBatch layer to Pad->Reshape->Transpose->Reshape. More...

#include <convert_space_to_batch.hpp>

Inheritance diagram for ngraph::pass::ConvertSpaceToBatch:

Public Member Functions

 ConvertSpaceToBatch (bool convert_by_elements=true)
 

Detailed Description

ConvertSpaceToBatch transformation decomposes SpaceToBatch layer to Pad->Reshape->Transpose->Reshape.

Parameters
convert_by_elements- reduces the maximum number of dimensions that arise during the transformation if enabled. Default value: true. false - SpaceToBatch decomposes to Pad->Reshape->Transpose->Reshape. During transformation, the number of tensor dimensions can be increased by length of block_shape input of SpaceToBatch layer. true - SpaceToBatch decomposes to Pad-> N x (Reshape->Transpose->Reshape), where N = length of block_shape input of SpaceToBatch layer. During transformation, the number of tensor dimensions can be increased by 1.

The documentation for this class was generated from the following file: