Apache Singa
A General Distributed Deep Learning Library
|
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 |
|
inlineoverridevirtual |
if crop_shape not contain 2 elements, ignore crop option.
Reimplemented from singa::Transformer.