Apache Singa
A General Distributed Deep Learning Library
Public Member Functions | List of all members
singa::ImageTransformer Class Reference
Inheritance diagram for singa::ImageTransformer:
Inheritance graph
[legend]
Collaboration diagram for singa::ImageTransformer:
Collaboration graph
[legend]

Public Member Functions

void Setup (const TransformerConf &conf) override
 
Tensor Apply (int flag, Tensor &input) override
 
const bool featurewise_center () const
 
const bool featurewise_std_norm () const
 
const bool horizontal_mirror () const
 
const int resize_height () const
 
const int resize_width () const
 
const float rescale () const
 
const Shape crop_shape () const
 
const string image_dim_order () const
 

Member Function Documentation

◆ Setup()

void singa::ImageTransformer::Setup ( const TransformerConf &  conf)
inlineoverridevirtual

if crop_shape not contain 2 elements, ignore crop option.

Reimplemented from singa::Transformer.


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