Search
Preparing search index...
The search index is not available
Sukiyaki2
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
DataAugmentationLayer
Class DataAugmentationLayer
Hierarchy
Layer
DataAugmentationLayer
Index
Constructors
constructor
Properties
augmentation_
kernel
data_
mean
delta_
params
input_
klass
need_
update
out_
shape
random_
crop
random_
flip
scale
train_
params
Methods
_get_
data_
mean
backward
calculate
Update
Params
destruct
forward
get_
kernel
init
release
set_
data_
mean
to_
cl
to_
cpu
Constructors
constructor
new
Data
Augmentation
Layer
(
params
:
any
)
:
DataAugmentationLayer
Parameters
params:
any
Returns
DataAugmentationLayer
Properties
Private
augmentation_
kernel
augmentation_
kernel
:
any
data_
mean
data_
mean
:
Matrix
delta_
params
delta_
params
:
string
[]
input_
klass
input_
klass
:
string
need_
update
need_
update
:
boolean
out_
shape
out_
shape
:
number
[]
random_
crop
random_
crop
:
boolean
random_
flip
random_
flip
:
boolean
scale
scale
:
number
train_
params
train_
params
:
string
[]
Methods
Private
_get_
data_
mean
_get_
data_
mean
(
devicetype
:
string
)
:
Matrix
Parameters
devicetype:
string
Returns
Matrix
backward
backward
(
bottoms
:
Matrix
[]
, top_deltas
:
Matrix
[]
, config
:
ForwardConfiguration
, callback
:
function
)
:
void
Parameters
bottoms:
Matrix
[]
top_deltas:
Matrix
[]
config:
ForwardConfiguration
callback:
function
(
bottom_deltas
:
Matrix
[]
)
:
void
Parameters
bottom_deltas:
Matrix
[]
Returns
void
Returns
void
calculate
Update
Params
calculate
Update
Params
(
bottoms
:
Matrix
[]
, top_deltas
:
Matrix
[]
, config
:
ForwardConfiguration
, callback
:
function
)
:
void
Parameters
bottoms:
Matrix
[]
top_deltas:
Matrix
[]
config:
ForwardConfiguration
callback:
function
(
)
:
void
Returns
void
Returns
void
destruct
destruct
(
)
:
void
Returns
void
forward
forward
(
bottoms
:
Matrix
[]
, config
:
ForwardConfiguration
, callback
:
function
)
:
void
Parameters
bottoms:
Matrix
[]
config:
ForwardConfiguration
callback:
function
(
tops
:
Matrix
[]
)
:
void
Parameters
tops:
Matrix
[]
Returns
void
Returns
void
Private
get_
kernel
get_
kernel
(
)
:
any
Returns
any
init
init
(
callback
:
function
)
:
void
Parameters
callback:
function
(
)
:
void
Returns
void
Returns
void
release
release
(
)
:
void
Returns
void
set_
data_
mean
set_
data_
mean
(
data_mean
:
Matrix
)
:
void
Parameters
data_mean:
Matrix
Returns
void
to_
cl
to_
cl
(
)
:
void
Returns
void
to_
cpu
to_
cpu
(
)
:
void
Returns
void
Globals
Data
Augmentation
Layer
constructor
augmentation_
kernel
data_
mean
delta_
params
input_
klass
need_
update
out_
shape
random_
crop
random_
flip
scale
train_
params
_get_
data_
mean
backward
calculate
Update
Params
destruct
forward
get_
kernel
init
release
set_
data_
mean
to_
cl
to_
cpu
Generated using
TypeDoc