Search
Preparing search index...
The search index is not available
Sukiyaki2
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
LinearLayer
Class LinearLayer
Hierarchy
Layer
LinearLayer
Index
Constructors
constructor
Properties
bias
delta_
bias
delta_
params
delta_
weight
in_
shape
in_
size
need_
update
out_
size
train_
params
weight
Methods
backward
calculate
Update
Params
destruct
forward
init
release
to_
cl
to_
cpu
Constructors
constructor
new
Linear
Layer
(
params
:
any
)
:
LinearLayer
Parameters
params:
any
Returns
LinearLayer
Properties
bias
bias
:
Matrix
delta_
bias
delta_
bias
:
Matrix
delta_
params
delta_
params
:
string
[]
delta_
weight
delta_
weight
:
Matrix
in_
shape
in_
shape
:
number
[]
in_
size
in_
size
:
number
need_
update
need_
update
:
boolean
out_
size
out_
size
:
number
train_
params
train_
params
:
string
[]
weight
weight
:
Matrix
Methods
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
init
init
(
callback
:
function
)
:
void
Parameters
callback:
function
(
)
:
void
Returns
void
Returns
void
release
release
(
)
:
void
Returns
void
to_
cl
to_
cl
(
)
:
void
Returns
void
to_
cpu
to_
cpu
(
)
:
void
Returns
void
Globals
Linear
Layer
constructor
bias
delta_
bias
delta_
params
delta_
weight
in_
shape
in_
size
need_
update
out_
size
train_
params
weight
backward
calculate
Update
Params
destruct
forward
init
release
to_
cl
to_
cpu
Generated using
TypeDoc