require 'speech.init'
gconf = {cumat_type = nerv.CuMatrixFloat,
mmat_type = nerv.MMatrixFloat,
batch_size = 256}
param_repo = nerv.ParamRepo({"global_transf.nerv"})
sublayer_repo = nerv.LayerRepo(
{
["nerv.BiasLayer"] =
{
blayer1 = {{bias = "bias1"}, {dim_in = {429}, dim_out = {429}}},
blayer2 = {{bias = "bias2"}, {dim_in = {429}, dim_out = {429}}}
},
["nerv.WindowLayer"] =
{
wlayer1 = {{window = "window1"}, {dim_in = {429}, dim_out = {429}}},
wlayer2 = {{window = "window2"}, {dim_in = {429}, dim_out = {429}}}
}
}, param_repo, gconf)
layer_repo = nerv.LayerRepo(
{
["nerv.DAGLayer"] =
{
main = {{}, {
dim_in = {429}, dim_out = {429},
sub_layers = sublayer_repo,
connections = {
["[1]"] = "blayer1[1]",
["blayer1[1]"] = "wlayer1[1]",
["wlayer1[1]"] = "blayer2[1]",
["blayer2[1]"] = "wlayer2[1]",
["wlayer2[1]"] = "