diff --git a/.travis/bundle-entrypoint.sh b/.travis/bundle-entrypoint.sh index e7fcc650f6..e056dd559f 100755 --- a/.travis/bundle-entrypoint.sh +++ b/.travis/bundle-entrypoint.sh @@ -90,17 +90,8 @@ net_bench mobilenet_v2_1 pass $CACHEDIR/mobilenet_v2_1.4_224_frozen.pb -i 1,224, net_bench inceptionv1q pass $CACHEDIR/inceptionv1_quant.nnef.tar.gz --nnef-tract-core net_bench inceptionv3 pass $CACHEDIR/inception_v3_2016_08_28_frozen.pb -i 1,299,299,3,f32 -net_bench kaldi_librispeech_clean_tdnn_lstm_1e_256 2600ms \ - $CACHEDIR/en_libri_real/model.raw -f kaldi --output-node output \ - --kaldi-downsample 3 --kaldi-left-context 5 --kaldi-right-context 15 --kaldi-adjust-final-offset -5 \ - -i 264,40 -net_bench kaldi_librispeech_clean_tdnn_lstm_1e_256 pulse_240ms \ - $CACHEDIR/en_libri_real/model.raw -f kaldi --output-node output \ - --kaldi-downsample 3 --kaldi-left-context 5 --kaldi-right-context 15 --kaldi-adjust-final-offset -5 \ - -i S,40 --pulse 24 \ - - net_bench mdl-en-2019-Q3-librispeech_onnx 2600ms $CACHEDIR/en_libri_real/model.onnx --output-node output -i 264,40 +net_bench mdl-en-2019-Q3-librispeech_onnx 2600ms $CACHEDIR/en_libri_real/model.onnx --output-node output -i 264,40 net_bench mdl-en-2019-Q3-librispeech_onnx pulse_240ms $CACHEDIR/en_libri_real/model.onnx --output-node output -i S,40 --pulse 24 net_bench en_tdnn_lstm_bn_q7 2600ms $CACHEDIR/en_tdnn_lstm_bn_q7/model.onnx --output-node output -i 264,40 net_bench en_tdnn_lstm_bn_q7 pulse_240ms $CACHEDIR/en_tdnn_lstm_bn_q7/model.onnx --output-node output -i S,40 --pulse 24 diff --git a/.travis/cli-tests.sh b/.travis/cli-tests.sh index 4add2adc53..b437072d57 100755 --- a/.travis/cli-tests.sh +++ b/.travis/cli-tests.sh @@ -55,12 +55,6 @@ do $t done -echo -echo $WHITE • kaldi/test_cases $NC -echo - -( cd kaldi/test_cases ; ./run_all.sh ) - echo echo $WHITE • onnx/test_cases $NC echo @@ -145,27 +139,9 @@ $TRACT_RUN $CACHEDIR/hey_snips_v4_model17.pb -i S,20,f32 \ dump -q \ --assert-op-count AddAxis 0 -$TRACT_RUN $CACHEDIR/en_libri_real/model.raw.txt \ - -f kaldi --output-node output \ - --kaldi-downsample 3 --kaldi-left-context 5 --kaldi-right-context 15 --kaldi-adjust-final-offset -5 \ - --input-facts-from-bundle $CACHEDIR/en_libri_real/io.npz \ - run \ - --input-from-bundle $CACHEDIR/en_libri_real/io.npz \ - --allow-random-input \ - --assert-output-bundle $CACHEDIR/en_libri_real/io.npz - -$TRACT_RUN $CACHEDIR/en_libri_real/model.raw \ - -f kaldi --output-node output \ - --kaldi-downsample 3 --kaldi-left-context 5 --kaldi-right-context 15 --kaldi-adjust-final-offset -5 \ - --input-facts-from-bundle $CACHEDIR/en_libri_real/io.npz \ - run \ - --input-from-bundle $CACHEDIR/en_libri_real/io.npz \ - --allow-random-input \ - --assert-output-bundle $CACHEDIR/en_libri_real/io.npz - $TRACT_RUN $CACHEDIR/en_libri_real/model.onnx \ --output-node output \ - --kaldi-left-context 5 --kaldi-right-context 15 --kaldi-adjust-final-offset -5 \ + --edge-left-context 5 --edge-right-context 15 \ --input-facts-from-bundle $CACHEDIR/en_libri_real/io.npz \ run \ --input-from-bundle $CACHEDIR/en_libri_real/io.npz \ diff --git a/CHANGELOG.md b/CHANGELOG.md index 8629f23956..18dbe79241 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# Unreleased, targetting 0.21 +* [kaldi] remove experimental kaldi support + +# 0.20.5 - 2023-05-26 +* Various bugfix around Einsum +* Einsum now has functions to translate to MatMul and other axes manipulations + # 0.20.0, 0.20.1, 0,20.2, 0.20.3 - 2023-04-25 * [optim] 32x32 f32 AMX kernel (for Apple Silicon M family) * [optim] bunch of AMX512F kernels (square, skinny, vector) diff --git a/Cargo.toml b/Cargo.toml index 0a3ae77fd5..a2e2987034 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,6 @@ members = [ "tensorflow", "onnx-opl", "onnx", - "kaldi", "libcli", "cli", "ffi", diff --git a/ci/tract-ci-minion/Cargo.toml b/ci/tract-ci-minion/Cargo.toml index 00d52710f0..e7013a2431 100644 --- a/ci/tract-ci-minion/Cargo.toml +++ b/ci/tract-ci-minion/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tract-ci-minion" -version = "0.20.5-pre" +version = "0.20.6-pre" edition = "2021" [workspace] diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 24e73e34f6..fabff45ea0 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tract" -version = "0.20.5-pre" +version = "0.20.6-pre" authors = [ "Romain Liautaud ", "Mathieu Poumeyrol "] license = "MIT/Apache-2.0" description = "Tiny, no-nonsense, self contained, TensorFlow and ONNX inference" @@ -34,19 +34,17 @@ rustls.workspace = true scan_fmt.workspace = true serde.workspace = true serde_json.workspace = true -tract-core = { version = "=0.20.5-pre", path = "../core" } -tract-hir = { version = "=0.20.5-pre", path = "../hir" } -tract-nnef = { version = "=0.20.5-pre", path = "../nnef" } -tract-libcli = { version = "=0.20.5-pre", path = "../libcli" } -tract-pulse-opl = { optional = true, version = "=0.20.5-pre", path = "../pulse-opl" } -tract-pulse = { optional = true, version = "=0.20.5-pre", path = "../pulse" } -tract-kaldi = { optional = true, version = "=0.20.5-pre", path = "../kaldi" } -tract-onnx = { optional = true, version = "=0.20.5-pre", path = "../onnx" } -tract-tensorflow = { optional = true, version = "=0.20.5-pre", path = "../tensorflow" } +tract-core = { version = "=0.20.6-pre", path = "../core" } +tract-hir = { version = "=0.20.6-pre", path = "../hir" } +tract-nnef = { version = "=0.20.6-pre", path = "../nnef" } +tract-libcli = { version = "=0.20.6-pre", path = "../libcli" } +tract-pulse-opl = { optional = true, version = "=0.20.6-pre", path = "../pulse-opl" } +tract-pulse = { optional = true, version = "=0.20.6-pre", path = "../pulse" } +tract-onnx = { optional = true, version = "=0.20.6-pre", path = "../onnx" } +tract-tensorflow = { optional = true, version = "=0.20.6-pre", path = "../tensorflow" } [features] -default = ["kaldi", "onnx", "tf", "pulse", "pulse-opl"] -kaldi = [ "tract-kaldi", "tract-libcli/hir" ] +default = ["onnx", "tf", "pulse", "pulse-opl"] onnx = [ "tract-onnx", "tract-libcli/hir", "tract-libcli/onnx" ] pulse-opl = [ "tract-pulse-opl" ] pulse = [ "tract-pulse", "tract-pulse-opl" ] diff --git a/cli/src/dump.rs b/cli/src/dump.rs index bec154e590..c7e4cdd4a7 100644 --- a/cli/src/dump.rs +++ b/cli/src/dump.rs @@ -1,6 +1,6 @@ use crate::params::SomeGraphDef; -use crate::Parameters; use crate::tensor::run_params_from_subcommand; +use crate::Parameters; #[allow(unused_imports)] use nu_ansi_term::Style; use tract_hir::internal::*; @@ -19,8 +19,6 @@ pub fn annotate_with_graph_def( ) -> TractResult<()> { match graph_def { SomeGraphDef::NoGraphDef => Ok(()), - #[cfg(feature = "kaldi")] - SomeGraphDef::Kaldi(kaldi) => annotate_with_kaldi(annotations, model, kaldi), SomeGraphDef::Nnef(_) => todo!(), #[cfg(feature = "onnx")] SomeGraphDef::Onnx(onnx, _) => annotate_with_onnx_model(annotations, model, onnx), @@ -29,30 +27,6 @@ pub fn annotate_with_graph_def( } } -#[cfg(feature = "kaldi")] -fn annotate_with_kaldi( - annotations: &mut Annotations, - model: &dyn Model, - proto_model: &tract_kaldi::KaldiProtoModel, -) -> TractResult<()> { - use tract_kaldi::model::NodeLine; - let bold = Style::new().bold(); - for (name, proto_node) in &proto_model.config_lines.nodes { - if let Ok(node_id) = model.node_id_by_name(name) { - let mut vs = vec![]; - if let NodeLine::Component(compo) = proto_node { - let comp = &proto_model.components[&compo.component]; - for (k, v) in &comp.attributes { - let value = format!("{v:?}"); - vs.push(format!("Attr {}: {:.240}", bold.paint(k), value)); - } - } - annotations.node_mut(node_id.into()).sections.push(vs) - } - } - Ok(()) -} - #[cfg(feature = "tf")] fn annotate_with_tf_graph_def( annotations: &mut Annotations, @@ -72,7 +46,7 @@ fn annotate_with_tf_graph_def( } else { format!("{:?}", a.1) }; - v.push(format!("Attr {}: {:.240}", bold.paint(a.0), value)); + v.push(format!("Attr {}: {:.300}", bold.paint(a.0), value)); } annotations.node_mut(node_id.into()).sections.push(v); } @@ -88,13 +62,11 @@ fn annotate_with_onnx_model( ) -> TractResult<()> { let bold = Style::new().bold(); for gnode in model_proto.graph.as_ref().unwrap().node.iter() { - let mut node_name = &gnode.name; - if !node_name.is_empty() && gnode.output.len() > 0 { - node_name = &gnode.output[0]; - } else if let Some(n) = gnode.output.get(0) { - node_name = n; - } - if let Ok(id) = model.node_id_by_name(node_name) { + if let Some(id) = model + .node_id_by_name(&gnode.name) + .ok() + .or_else(|| gnode.output.get(0).and_then(|n| model.node_id_by_name(n).ok())) + { let mut v = vec![]; for a in gnode.attribute.iter() { let value = if let Some(t) = &a.t { @@ -131,7 +103,14 @@ pub fn handle( .downcast_ref::() .context("Can only profile typed models")?; let inputs = retrieve_or_make_inputs(model, &run_params)?; - tract_libcli::profile::profile(model, bench_limits, &mut annotations, &inputs[0], None, options.folded)?; + tract_libcli::profile::profile( + model, + bench_limits, + &mut annotations, + &inputs[0], + None, + options.folded, + )?; } if sub_matches.is_present("axes") || sub_matches.is_present("axes-names") { @@ -174,7 +153,8 @@ pub fn handle( rename_outputs(&mut typed, sub_matches)?; let file = std::fs::File::create(path)?; let encoder = flate2::write::GzEncoder::new(file, flate2::Compression::default()); - nnef.write_to_tar_with_config(&typed, encoder, compress_submodels).context("Writting model to tgz")?; + nnef.write_to_tar_with_config(&typed, encoder, compress_submodels) + .context("Writting model to tgz")?; } else { bail!("Only typed model can be dumped") } @@ -185,7 +165,8 @@ pub fn handle( if let Some(mut typed) = model.downcast_ref::().cloned() { rename_outputs(&mut typed, sub_matches)?; let file = std::fs::File::create(path)?; - nnef.write_to_tar_with_config(&typed, file, compress_submodels).context("Writting model to tar")?; + nnef.write_to_tar_with_config(&typed, file, compress_submodels) + .context("Writting model to tar")?; } else { bail!("Only typed model can be dumped") } @@ -217,7 +198,8 @@ pub fn handle( rename_outputs(&mut typed, sub_matches)?; let proto = tract_nnef::ser::to_proto_model(&nnef, &typed)?; if path == "-" { - tract_nnef::ast::dump::Dumper::new(&nnef, &mut std::io::stdout()).document(&proto.doc)?; + tract_nnef::ast::dump::Dumper::new(&nnef, &mut std::io::stdout()) + .document(&proto.doc)?; } else { let mut file = std::fs::File::create(path)?; tract_nnef::ast::dump::Dumper::new(&nnef, &mut file).document(&proto.doc)?; diff --git a/cli/src/main.rs b/cli/src/main.rs index 8c20ede6d4..319272fbe8 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -75,7 +75,7 @@ fn main() -> tract_core::anyhow::Result<()> { .arg(arg!(verbose: -v ... "Sets the level of verbosity.")) .arg(arg!([model] "Sets the model to use")) .arg(arg!(-f --format [format] - "Hint the model format ('kaldi', 'onnx', 'nnef' or 'tf') instead of guess from extension.")) + "Hint the model format ('onnx', 'nnef' or 'tf') instead of guess from extension.")) .arg(Arg::new("input").long("input").short('i').multiple_occurrences(true).takes_value(true).long_help( "Set input shape and type (@file.pb or @file.npz:thing.npy or 3x4xi32).")) .arg(Arg::new("constantize").long("constantize").multiple_occurrences(true).takes_value(true).long_help( @@ -88,10 +88,8 @@ fn main() -> tract_core::anyhow::Result<()> { .arg(arg!(--"input-facts-from-bundle" [input_bundle] "Path to an input container (.npz). This only sets input facts.")) - .arg(arg!(--"kaldi-adjust-final-offset" [frames] "Adjust value of final offset in network (for reproducibility)")) - .arg(arg!(--"kaldi-downsample" [frames] "Add a subsampling to output on axis 0")) - .arg(arg!(--"kaldi-left-context" [frames] "Add lines of left context to input (dupping first time frame)")) - .arg(arg!(--"kaldi-right-context" [frames] "Add lines of right context to input (dupping last time frame)")) + .arg(arg!(--"edge-left-context" [frames] "Add lines of left context to input (dupping first time frame)").alias("kaldi-left-context")) + .arg(arg!(--"edge-right-context" [frames] "Add lines of right context to input (dupping last time frame)").alias("kaldi-right-context")) .arg(arg!(--"onnx-test-data-set" [data_set] "Use onnx-test data-set as input (expect test_data_set_N dir with input_X.pb, etc. inside)")) .arg(arg!(--"onnx-ignore-output-shapes" "Ignore output shapes from model (workaround for pytorch export bug with mask axes)")) diff --git a/cli/src/params.rs b/cli/src/params.rs index 22a602451f..3a6b473f0d 100644 --- a/cli/src/params.rs +++ b/cli/src/params.rs @@ -65,8 +65,6 @@ impl ModelLocation { #[allow(clippy::large_enum_variant)] pub enum SomeGraphDef { NoGraphDef, - #[cfg(feature = "kaldi")] - Kaldi(tract_kaldi::KaldiProtoModel), Nnef(tract_nnef::ProtoModel), #[cfg(feature = "onnx")] Onnx(tract_onnx::pb::ModelProto, tract_onnx::model::ParseResult), @@ -157,9 +155,6 @@ impl Parameters { let format = matches.value_of("format").unwrap_or( if location.path().extension().map(|s| s == "onnx").unwrap_or(false) { "onnx" - } else if location.path().extension().map(|s| s == "raw" || s == "txt").unwrap_or(false) - { - "kaldi" } else if location.is_dir() || location.path().to_string_lossy().ends_with(".tar") || location.path().to_string_lossy().ends_with(".tar.gz") @@ -171,22 +166,6 @@ impl Parameters { }, ); let triplet: (SomeGraphDef, Box, Option) = match format { - #[cfg(feature = "kaldi")] - "kaldi" => { - let kaldi = tract_kaldi::kaldi(); - info_usage("loaded framework (kaldi)", probe); - let mut graph = kaldi.proto_model_for_read(&mut *location.read()?)?; - info_usage("proto model loaded", probe); - if let Some(i) = matches.value_of("kaldi-adjust-final-offset") { - graph.adjust_final_offset = i.parse()?; - } - let parsed = kaldi.model_for_proto_model_with_symbols(&graph, symbol_table)?; - if need_graph { - (SomeGraphDef::Kaldi(graph), Box::new(parsed), Option::::None) - } else { - (SomeGraphDef::NoGraphDef, Box::new(parsed), Option::::None) - } - } "nnef" => { let nnef = super::nnef(matches); let mut proto_model = if location.is_dir() { @@ -328,36 +307,7 @@ impl Parameters { Ok(triplet) } - fn kaldi_downsample(raw_model: &mut Graph, period: isize) -> TractResult<()> - where - F: std::fmt::Debug + Clone + Fact, - O: std::fmt::Debug + std::fmt::Display + AsRef + AsMut + Clone, - Graph: SpecialOps, - tract_core::ops::Downsample: Into, - { - if period != 1 { - let mut outputs = raw_model.output_outlets()?.to_vec(); - let output_name = raw_model.node(outputs[0].node).name.clone(); - raw_model.node_mut(outputs[0].node).name = format!("{output_name}-old"); - let id = raw_model.wire_node( - output_name, - tract_core::ops::Downsample::new(0, period as _, 0), - &outputs[0..1], - )?[0]; - if let Some(label) = raw_model.outlet_label(outputs[0]).map(|s| s.to_string()) { - raw_model.set_outlet_label(id, label)?; - } - outputs[0] = id; - raw_model.set_output_outlets(&outputs)?; - } - Ok(()) - } - - fn kaldi_context( - raw_model: &mut Graph, - left: usize, - right: usize, - ) -> TractResult<()> + fn edge_context(raw_model: &mut Graph, left: usize, right: usize) -> TractResult<()> where F: std::fmt::Debug + Clone + Fact, O: std::fmt::Debug + std::fmt::Display + AsRef + AsMut + Clone, @@ -856,16 +806,12 @@ impl Parameters { _ => Assertions::default(), }; - if let Some(sub) = matches.value_of("kaldi-downsample") { - dispatch_model_mut_no_pulse!(raw_model, |m| Self::kaldi_downsample(m, sub.parse()?))?; - } - - if matches.value_of("kaldi-left-context").is_some() - || matches.value_of("kaldi-right-context").is_some() + if matches.value_of("edge-left-context").is_some() + || matches.value_of("edge-right-context").is_some() { - let left = matches.value_of("kaldi-left-context").unwrap_or("0").parse()?; - let right = matches.value_of("kaldi-right-context").unwrap_or("0").parse()?; - dispatch_model_mut_no_pulse!(raw_model, |m| Self::kaldi_context(m, left, right))?; + let left = matches.value_of("edge-left-context").unwrap_or("0").parse()?; + let right = matches.value_of("edge-right-context").unwrap_or("0").parse()?; + dispatch_model_mut_no_pulse!(raw_model, |m| Self::edge_context(m, left, right))?; } if let Some(infer) = raw_model.downcast_mut::() { diff --git a/core/Cargo.toml b/core/Cargo.toml index f3d7f0536f..097590e872 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tract-core" -version = "0.20.5-pre" +version = "0.20.6-pre" license = "MIT/Apache-2.0" authors = ["Mathieu Poumeyrol "] description = "Tiny, no-nonsense, self contained, TensorFlow and ONNX inference" @@ -29,8 +29,8 @@ num-traits.workspace = true num-complex.workspace = true rustfft.workspace = true smallvec.workspace = true -tract-linalg = { version = "=0.20.5-pre", path = "../linalg" } -tract-data = { version = "=0.20.5-pre", path = "../data" } +tract-linalg = { version = "=0.20.6-pre", path = "../linalg" } +tract-data = { version = "=0.20.6-pre", path = "../data" } [features] default = [ ] diff --git a/core/src/ops/array/dyn_slice.rs b/core/src/ops/array/dyn_slice.rs index 43f538c4ad..5630229349 100644 --- a/core/src/ops/array/dyn_slice.rs +++ b/core/src/ops/array/dyn_slice.rs @@ -1,12 +1,9 @@ use crate::internal::*; -use crate::num_traits::Zero; #[derive(Debug, Clone, PartialEq, Eq, Hash, new)] pub struct DynSlice { pub axis: usize, - pub start_input: bool, - pub end_input: bool, - pub symbol: Symbol, + pub len: TDim, } impl DynSlice { @@ -37,34 +34,55 @@ impl Op for DynSlice { impl EvalOp for DynSlice { fn is_stateless(&self) -> bool { - true + false } - fn eval(&self, inputs: TVec) -> TractResult> { - unsafe { - let start = - if self.start_input { inputs[1].cast_to_scalar::()? as usize } else { 0 }; - let end = if self.end_input { - inputs[1 + self.start_input as usize].cast_to_scalar::()? as usize - } else { - inputs[0].shape()[self.axis] - }; - if start >= end { - bail!("Invalid range {}-{}", start, end); - } - let mut shape: TVec<_> = inputs[0].shape().into(); - shape[self.axis] = end - start; - let mut tensor = Tensor::uninitialized_dt(inputs[0].datum_type(), &shape)?; - tensor.assign_slice_unchecked(.., &inputs[0], start..end, self.axis); - Ok(tvec!(tensor.into_tvalue())) + fn eval(&self, _inputs: TVec) -> TractResult> { + unreachable!(); + } + + fn state( + &self, + _session: &mut SessionState, + _node_id: usize, + ) -> TractResult>> { + Ok(Some(Box::new(self.clone()))) + } +} + +impl OpState for DynSlice { + fn eval( + &mut self, + session: &mut SessionState, + _op: &dyn Op, + inputs: TVec, + ) -> TractResult> { + let start = inputs[1] + .cast_to::()? + .to_scalar::()? + .eval(&session.resolved_symbols) + .to_usize()?; + let end = inputs[2] + .cast_to::()? + .to_scalar::()? + .eval(&session.resolved_symbols) + .to_usize()?; + ensure!(start <= end); + if let Ok(len) = self.len.eval(&session.resolved_symbols).to_usize() { + ensure!(start + len == end); } + let slice = inputs[0].slice(self.axis, start, end)?; + Ok(tvec!(slice.into())) } } +trivial_op_state_freeeze!(DynSlice); + impl TypedOp for DynSlice { fn output_facts(&self, inputs: &[&TypedFact]) -> TractResult> { - let mut fact = inputs[0].clone(); - fact.shape.set(self.axis, self.symbol.clone().into()); + ensure!(inputs.len() == 3); + let mut fact = inputs[0].without_value(); + fact.shape.set(self.axis, self.len.clone().into()); Ok(tvec!(fact)) } @@ -74,12 +92,7 @@ impl TypedOp for DynSlice { _outputs: &[&TypedFact], ) -> TractResult { let mut axes = AxesMapping::natural_for_rank(1, 1, inputs[0].rank())?; - if self.start_input { - axes = axes.with_extra_input(1)?; - } - if self.end_input { - axes = axes.with_extra_input(self.start_input as usize)?; - } + axes = axes.with_extra_input(1)?.with_extra_input(2)?; Ok(axes) } @@ -87,9 +100,12 @@ impl TypedOp for DynSlice { &self, model: &TypedModel, node: &TypedNode, - _io: InOut, + io: InOut, change: &AxisOp, ) -> TractResult> { + if io == InOut::In(1) || io == InOut::In(2) { + return Ok(None); + } if let Some(axis) = change.transform_axis(self.axis) { if axis != self.axis { Ok(Some(AxisChangeConsequence::new( @@ -112,23 +128,14 @@ impl TypedOp for DynSlice { node: &TypedNode, ) -> TractResult> { let inputs = model.node_input_facts(node.id)?; - let start = - if self.start_input { inputs[1].konst.clone() } else { Some(rctensor0(TDim::zero())) }; - let end = if self.end_input { - inputs[1 + self.start_input as usize].konst.clone() - } else { - Some(rctensor0(inputs[0].shape[self.axis].clone())) - }; - if let (Some(start), Some(end)) = (start, end) { + if let (Some(start), Some(end)) = (&inputs[1].konst, &inputs[2].konst) { + let start = start.cast_to::()?.to_scalar::()?.clone(); + let end = end.cast_to::()?.to_scalar::()?.clone(); return Ok(Some(TypedModelPatch::replace_single_op( model, node, &[node.inputs[0]], - crate::ops::array::Slice { - axis: self.axis, - start: start.cast_to::()?.to_scalar::()?.clone(), - end: end.cast_to::()?.to_scalar::()?.clone(), - }, + crate::ops::array::Slice { axis: self.axis, start, end }, )?)); } Ok(None) diff --git a/core/src/ops/downsample/mod.rs b/core/src/ops/downsample/mod.rs index 94f1ef28e0..f7b5ea9840 100644 --- a/core/src/ops/downsample/mod.rs +++ b/core/src/ops/downsample/mod.rs @@ -6,7 +6,7 @@ use super::identity::Identity; mod array; mod conv; -mod scan; +// mod scan; #[derive(Debug, Clone, new, Default, PartialEq, Eq, Hash)] pub struct Downsample { @@ -132,8 +132,10 @@ fn pull_downsample_up( return array::pull_downsample_over_axis_op(model, prec, other_op, down_node, down_op); } else if let Some(conv_op) = prec.op_as::() { return conv::fuse_downsample_into_conv(model, prec, conv_op, down_node, down_op); + /* } else if let Some(other_op) = prec.op_as::() { return scan::pull_downsample_over_scan(model, prec, other_op, down_node, down_op); + */ } if prec.outputs.len() > 1 || prec.inputs.len() == 0 { return Ok(None); diff --git a/core/src/ops/scan/lir.rs b/core/src/ops/scan/lir.rs index f953165770..a20ee2508b 100644 --- a/core/src/ops/scan/lir.rs +++ b/core/src/ops/scan/lir.rs @@ -6,13 +6,14 @@ use tract_data::internal::*; #[derive(Debug, Clone, new)] pub struct LirScanOpParams { pub skip: usize, + pub iters: TDim, pub plan: Arc>, pub input_mapping: Vec, pub output_mapping: Vec>, } #[derive(Debug, Clone, new)] -pub struct LirScan(Arc); +pub struct LirScan(pub Arc); impl std::ops::Deref for LirScan { type Target = LirScanOpParams; @@ -21,12 +22,6 @@ impl std::ops::Deref for LirScan { } } -impl LirScan { - pub fn iteration_count(&self, inputs: &[&TypedFact]) -> Option { - super::iteration_count(&self.input_mapping, inputs) - } -} - impl Op for LirScan { fn name(&self) -> Cow { "Scan".into() @@ -60,14 +55,14 @@ impl EvalOp for LirScan { position: 0, hidden_state: tvec!(), model_state: TypedSimpleState::new(Arc::clone(&self.plan))?, - op: Arc::clone(&self.0), + params: Arc::clone(&self.0), }))) } } #[derive(Clone, Debug)] pub struct State { - op: Arc, + pub params: Arc, position: usize, hidden_state: TVec, pub model_state: TypedSimpleState>>, @@ -84,7 +79,7 @@ struct FrozenState { impl OpStateFreeze for State { fn freeze(&self) -> Box { Box::new(FrozenState { - op: self.op.clone(), + op: self.params.clone(), position: self.position, hidden_state: self.hidden_state.iter().map(|t| t.clone().into_tensor()).collect(), model_state: self.model_state.freeze(), @@ -95,7 +90,7 @@ impl OpStateFreeze for State { impl FrozenOpState for FrozenState { fn unfreeze(&self) -> Box { Box::new(State { - op: self.op.clone(), + params: self.op.clone(), position: self.position, hidden_state: self.hidden_state.iter().map(|t| t.clone().into_tvalue()).collect(), model_state: self.model_state.unfreeze(), @@ -104,17 +99,6 @@ impl FrozenOpState for FrozenState { } impl State { - pub fn iteration_count(&self, inputs: &TVec) -> usize { - let (slot, info) = self - .op - .input_mapping - .iter() - .enumerate() - .find_map(|(ix, it)| it.as_scan().map(|scan| (ix, scan))) - .unwrap(); - inputs[slot].shape()[info.axis].divceil(info.chunk.unsigned_abs()) - } - pub(super) fn slice_input( input: &Tensor, axis: usize, @@ -177,13 +161,12 @@ impl OpState for State { _op: &dyn Op, inputs: TVec, ) -> TractResult> { - let iters = self.iteration_count(&inputs); - - let State { op, ref mut hidden_state, ref mut position, ref mut model_state } = self; + let State { params, ref mut hidden_state, ref mut position, ref mut model_state } = self; + let iters: usize = params.iters.eval(&session.resolved_symbols).to_usize().unwrap(); // initialize state at first pass if hidden_state.len() == 0 { - for (slot, input) in op.input_mapping.iter().enumerate() { + for (slot, input) in params.input_mapping.iter().enumerate() { if input.is_state() { hidden_state.push(inputs[slot].clone()); } @@ -191,9 +174,9 @@ impl OpState for State { } let mut outputs = tvec!(); - for (ix, output) in op.output_mapping.iter().enumerate() { + for (ix, output) in params.output_mapping.iter().enumerate() { if let Some((slot, info)) = output.scan { - let fact = op.plan.model().output_fact(ix)?; + let fact = params.plan.model().output_fact(ix)?; let mut shape: TVec = fact.shape.eval_to_usize(&session.resolved_symbols)?.into_owned(); let scanning_dim = output @@ -212,24 +195,24 @@ impl OpState for State { outputs.sort_by_key(|a| a.0); let mut outputs: TVec = outputs.into_iter().map(|(_slot, v)| v).collect(); - for i in 0..iters { + let mut i = 0; + loop { + if i >= iters { + break; + } *position += 1; - if *position <= op.skip { + if *position <= params.skip { continue; } hidden_state.reverse(); - let iter_inputs: TVec = op + let iter_inputs: TVec = params .input_mapping .iter() .enumerate() .map(|(slot, m)| { Ok(match m { InputMapping::State { .. } => Some(hidden_state.pop().unwrap()), - InputMapping::Scan(info) => Some( - Self::slice_input(&inputs[slot], info.axis, i, info.chunk)? - .into_tvalue(), - ), InputMapping::Full => Some(inputs[slot].clone()), }) }) @@ -243,7 +226,7 @@ impl OpState for State { model_state.run(iter_inputs).with_context(|| "Evaluating inner body")?; trace!("iter_outputs #{}: {:?}", i, iter_outputs); - for (v, mapping) in iter_outputs.into_iter().zip(&op.output_mapping) { + for (v, mapping) in iter_outputs.into_iter().zip(¶ms.output_mapping) { if let Some((slot, info)) = mapping.scan { Self::assign_output(&mut outputs[slot], info.axis, &v, i, info.chunk < 0); } @@ -256,6 +239,7 @@ impl OpState for State { hidden_state.push(v); } } + i = i + 1; } Ok(outputs.into_iter().map(|t| t.into_tvalue()).collect()) @@ -265,9 +249,8 @@ impl OpState for State { impl TypedOp for LirScan { as_op!(); - fn output_facts(&self, inputs: &[&TypedFact]) -> TractResult> { + fn output_facts(&self, _inputs: &[&TypedFact]) -> TractResult> { let mut outputs = tvec!(); - let iters = super::iteration_count(&self.input_mapping, inputs).unwrap(); for (ix, output) in self.output_mapping.iter().enumerate() { let fact = self.plan.model().output_fact(ix)?; if let Some(slot) = output.last_value_slot { @@ -275,8 +258,10 @@ impl TypedOp for LirScan { } if let Some((slot, info)) = output.scan { let mut shape = fact.shape.clone(); - let scanning_dim = - output.full_dim_hint.clone().unwrap_or(shape[info.axis].clone() * &iters); + let scanning_dim = output + .full_dim_hint + .clone() + .unwrap_or(shape[info.axis].clone() * &self.0.iters); shape.set(info.axis, scanning_dim); outputs.push((slot, fact.datum_type.fact(shape))); } diff --git a/core/src/ops/scan/mir.rs b/core/src/ops/scan/mir.rs index 46c9bd14d3..1249101974 100644 --- a/core/src/ops/scan/mir.rs +++ b/core/src/ops/scan/mir.rs @@ -1,7 +1,3 @@ -use crate::ops::einsum::EinSum; -use crate::ops::konst::Const; -use crate::optim::OptimizerSession; - use super::lir::{LirScan, LirScanOpParams}; use tract_data::internal::*; @@ -10,8 +6,8 @@ use super::*; #[derive(Debug, Clone, Default)] pub struct Scan { pub skip: usize, + pub iters: TDim, pub body: TypedModel, - decluttered: bool, pub input_mapping: Vec, pub output_mapping: Vec>, } @@ -26,6 +22,7 @@ impl Scan { Ok(LirScan::new(Arc::new(LirScanOpParams::new( self.skip, + self.iters.clone(), Arc::new(plan), self.input_mapping.clone(), self.output_mapping.clone(), @@ -37,610 +34,12 @@ impl Scan { input_mapping: Vec, output_mapping: Vec>, skip: usize, + iters: TDim, ) -> TractResult { body.check_consistency()?; ensure!(input_mapping.len() == body.input_outlets()?.len()); ensure!(output_mapping.len() == body.output_outlets()?.len()); - Ok(Scan { skip, body, decluttered: false, input_mapping, output_mapping }) - } - - pub fn iteration_count(&self, inputs: &[&TypedFact]) -> Option { - self.to_codegen_op(false).unwrap().iteration_count(inputs) - } - - fn declutter_body( - &self, - session: &mut OptimizerSession, - model: &TypedModel, - node: &TypedNode, - ) -> TractResult> { - if !self.decluttered { - let mut new = self.clone(); - let mut body = self.body.clone(); - session.optimize(&mut body)?; - new.body = body; - new.decluttered = true; - Ok(Some(TypedModelPatch::replace_single_op(model, node, &node.inputs, new)?)) - } else { - Ok(None) - } - } - - fn declutter_body_axes( - &self, - _session: &mut OptimizerSession, - model: &TypedModel, - node: &TypedNode, - ) -> TractResult> { - let mut suggestions = vec![]; - for n in self.body.eval_order()? { - let node = self.body.node(n); - for suggestion in node.op.suggested_axis_changes()? { - let outlet = suggestion.0.as_outlet(node); - suggestions.push(AxisChange { outlet, op: suggestion.1 }) - } - for (slot, fact) in node.outputs.iter().enumerate() { - for (ix, dim) in fact.fact.shape.iter().enumerate() { - if dim.is_one() { - suggestions.push(AxisChange { - outlet: OutletId::new(n, slot), - op: AxisOp::Rm(ix), - }); - } - } - } - } - let node_input_facts = model.node_input_facts(node.id)?; - for suggestion in suggestions.into_iter() { - if let Some(conseq) = self.try_body_axes_change(suggestion, true, &node_input_facts)? { - let mut patch = TypedModelPatch::default(); - let mut inputs = tvec!(); - for outlet in &node.inputs { - inputs.push(patch.tap_model(model, *outlet)?); - } - for change in conseq.wire_changes { - if let InOut::In(i) = change.0 { - let mut value = patch - .outlet_fact(inputs[i])? - .konst - .clone() - .context("Will only reshape constants")? - .into_tensor(); - change.1.change_tensor(&mut value, false)?; - let konst_name = patch.node(inputs[i].node).name.clone(); - inputs[i] = patch.add_const(konst_name, value)?; - } - } - let wires = patch.wire_node( - &node.name, - conseq.substitute_op.unwrap_or_else(|| Box::new(self.clone())), - &inputs, - )?; - for (ix, new) in wires.into_iter().enumerate() { - patch.shunt_outside(model, OutletId::new(node.id, ix), new)?; - } - return Ok(Some(patch)); - } - } - Ok(None) - } - - fn remove_outer_output_from_mappings( - mappings: &[OutputMapping], - discarded: usize, - ) -> Vec> { - mappings - .iter() - .map(|m| OutputMapping { - scan: m.scan.map(|(slot, info)| (slot - (slot > discarded) as usize, info)), - last_value_slot: m.last_value_slot.map(|n| n - (n > discarded) as usize), - full_dim_hint: m.full_dim_hint.clone(), - state: m.state, - }) - .collect() - } - - fn declutter_const_input( - &self, - _session: &mut OptimizerSession, - model: &TypedModel, - node: &TypedNode, - ) -> TractResult> { - let inputs = model.node_input_facts(node.id)?; - for (slot, mapping) in self.input_mapping.iter().enumerate() { - if let InputMapping::Full = mapping { - if let Some(konst) = inputs[slot].konst.as_ref() { - let mut op = self.clone(); - let src = op.body.inputs[slot]; - op.body.inputs.remove(slot); - op.body.nodes[src.node].inputs.clear(); - op.body.nodes[src.node].op = Box::new(Const::new(konst.clone())); - op.input_mapping.remove(slot); - let mut inputs = node.inputs.clone(); - inputs.remove(slot); - return Ok(Some(TypedModelPatch::replace_single_op(model, node, &inputs, op)?)); - } - } - } - Ok(None) - } - - fn declutter_discard_unused_input( - &self, - _session: &mut OptimizerSession, - model: &TypedModel, - node: &TypedNode, - ) -> TractResult> { - for (slot, input) in self.body.input_outlets()?.iter().enumerate() { - let source_node = self.body.node(input.node); - if source_node.outputs[0].successors.len() == 0 - && !self.body.output_outlets()?.contains(input) - { - let mut new_inputs = node.inputs.clone(); - new_inputs.remove(slot); - let mut new_mappings: Vec<_> = self.input_mapping.clone(); - new_mappings.remove(slot); - let mut model_inputs = self.body.input_outlets()?.to_vec(); - model_inputs.remove(slot); - let mut body = self.body.clone(); - let mut patch = TypedModelPatch::default(); - patch.obliterate(source_node.id)?; - patch.apply(&mut body)?; - body.set_input_outlets(&model_inputs)?; - body.declutter()?; - let op = - Self { body, input_mapping: new_mappings, decluttered: true, ..self.clone() }; - return Ok(Some(TypedModelPatch::replace_single_op(model, node, &new_inputs, op)?)); - } - } - Ok(None) - } - - fn declutter_discard_useless_outer_output( - &self, - _session: &mut OptimizerSession, - model: &TypedModel, - node: &TypedNode, - ) -> TractResult> { - for (ix, o) in node.outputs.iter().enumerate() { - if o.successors.len() == 0 - && !model.output_outlets()?.contains(&OutletId::new(node.id, ix)) - { - let mappings = self - .output_mapping - .iter() - .map(|m| OutputMapping { - scan: m.scan.filter(|(slot, _info)| *slot != ix), - last_value_slot: m.last_value_slot.filter(|s| *s != ix), - full_dim_hint: m.full_dim_hint.clone(), - state: m.state, - }) - .collect::>(); - let mut op = self.clone(); - op.output_mapping = Self::remove_outer_output_from_mappings(&mappings, ix); - let mut patch = TypedModelPatch::default(); - let inputs = node - .inputs - .iter() - .map(|&i| patch.tap_model(model, i)) - .collect::>>()?; - let wires = patch.wire_node(&*node.name, op, &inputs)?; - for oix in 0..node.outputs.len() { - if oix != ix { - patch.shunt_outside( - model, - OutletId::new(node.id, oix), - wires[oix - (oix > ix) as usize], - )?; - } - } - return Ok(Some(patch)); - } - } - Ok(None) - } - - fn declutter_discard_empty_output_mapping_with_body_output( - &self, - _session: &mut OptimizerSession, - model: &TypedModel, - node: &TypedNode, - ) -> TractResult> { - for (ix, om) in self.output_mapping.iter().enumerate() { - if om.last_value_slot.is_none() && om.scan.is_none() && !om.state { - let mut new_op = self.clone(); - new_op.output_mapping.remove(ix); - new_op.body.outputs.remove(ix); - new_op.decluttered = false; - return Ok(Some(TypedModelPatch::replace_single_op( - model, - node, - &node.inputs, - new_op, - )?)); - } - } - Ok(None) - } - - fn declutter_pull_batcheable_input( - &self, - _session: &mut OptimizerSession, - model: &TypedModel, - node: &TypedNode, - ) -> TractResult> { - 'candidate: for (slot, input) in self.input_mapping.iter().enumerate() { - if let Some(scan_info) = input.as_scan() { - let scan_source = self.body.input_outlets()?[slot]; - let scan_source_node = self.body.node(scan_source.node); - for mut succ in &scan_source_node.outputs[0].successors { - for &succ_input in &self.body.node(succ.node).inputs { - if succ_input != scan_source - && self.body.outlet_fact(succ_input)?.konst.is_none() - { - continue 'candidate; - } - } - if self.body.node(succ.node).outputs.len() != 1 { - continue; - } - let mut new_body = self.body.clone(); - // insert propagate axis on einsum - if let Some(einsum) = new_body.node(succ.node).op_as::() { - if let Some(patch) = einsum - .propagate_axis( - &new_body, - new_body.node(succ.node), - InOut::In(succ.slot), - scan_info.axis, - ) - .context("building axis propagating patch")? - { - patch.apply(&mut new_body)?; - // propagate axis injects new nodes at the end. last successor of input - // in new net will be the new succ - let new_body_scan_input = new_body.input_outlets()?[slot]; - succ = new_body.node(new_body_scan_input.node).outputs[0] - .successors - .last() - .unwrap(); - } - } - - let axes_mapping = { - let (input_facts, output_facts) = - new_body.node_facts(new_body.node(succ.node).id)?; - new_body.node(succ.node).op.axes_mapping(&input_facts, &output_facts)? - }; - let axis_info = axes_mapping.axis((InOut::In(succ.slot), scan_info.axis))?; - if let &[axis_after] = &*axis_info.outputs[0] { - let mut outside_patch = TypedModelPatch::new(format!( - "Outer patch for input extraction of {}", - new_body.node(succ.node) - )); - let mut patch_inputs = node - .inputs - .iter() - .map(|&i| outside_patch.tap_model(model, i)) - .collect::>>()?; - let mut extracted_op_inputs = tvec!(); - for (ix, outlet) in new_body.node(succ.node).inputs.iter().enumerate() { - let wire = if ix == succ.slot { - patch_inputs[slot] - } else if let Some(konst) = - new_body.outlet_fact(*outlet)?.konst.as_ref() - { - outside_patch.add_const( - format!( - "{}.extracted.{}", - node.name, - new_body.node(outlet.node).name - ), - konst.clone(), - )? - } else { - unreachable!(); - }; - extracted_op_inputs.push(wire); - } - let new_input_wire = outside_patch.wire_node( - format!("{}.extracted.{}", node.name, new_body.node(succ.node).name), - new_body.node(succ.node).op.clone(), - &extracted_op_inputs, - )?[0]; - patch_inputs.push(new_input_wire); - let new_input_outer_fact = outside_patch.outlet_fact(new_input_wire)?; - let mut new_input_inner_fact = new_input_outer_fact.clone(); - new_input_inner_fact.shape.set(axis_after, scan_info.chunk.abs().to_dim()); - - let mut new_body = new_body.clone(); - let new_source_wire = new_body.add_source( - format!("{}.extracted.{}", node.name, new_body.node(succ.node).name), - new_input_inner_fact, - )?; - let mut inner_patch = TypedModelPatch::new(format!( - "Inner body patch for extraction of {}", - new_body.node(succ.node) - )); - let new_source_wire_in_patch = - inner_patch.tap_model(&new_body, new_source_wire)?; - inner_patch - .shunt_outside( - &new_body, - OutletId::new(succ.node, 0), - new_source_wire_in_patch, - ) - .with_context(|| "patching inner model")?; - inner_patch.apply(&mut new_body)?; - - let mut input_mapping = self.input_mapping.clone(); - input_mapping.push(InputMapping::Scan(ScanInfo { - axis: axis_after, - chunk: scan_info.chunk, - })); - - let new_op = Self { - input_mapping, - decluttered: false, - body: new_body, - ..self.clone() - }; - let output_wires = - outside_patch.wire_node(&*node.name, new_op, &patch_inputs)?; - for w in output_wires { - outside_patch - .shunt_outside(model, OutletId::new(node.id, w.slot), w) - .with_context(|| "patching outer model")?; - } - return Ok(Some(outside_patch)); - } - } - } - } - Ok(None) - } - - fn declutter_pull_constant_outputs( - &self, - _session: &mut OptimizerSession, - model: &TypedModel, - node: &TypedNode, - ) -> TractResult> { - for (model_output_ix, mapping) in self.output_mapping.iter().enumerate() { - if let Some(slot) = mapping.last_value_slot { - if let Some(k) = self.body.output_fact(model_output_ix)?.konst.clone() { - let inner_node = self.body.output_outlets()?[model_output_ix].node; - let inner_node = self.body.node(inner_node); - let mut patch = - TypedModelPatch::new(format!("Extract const node {inner_node}")); - let cst = patch.add_const(format!("{}.{}", &node.name, &inner_node.name), k)?; - patch.shunt_outside(model, OutletId::new(node.id, slot), cst)?; - return Ok(Some(patch)); - } - } - } - Ok(None) - } - - fn declutter_pull_batcheable_output( - &self, - _session: &mut OptimizerSession, - model: &TypedModel, - node: &TypedNode, - ) -> TractResult> { - for (model_ix, mapping) in self.output_mapping.iter().enumerate() { - if let Some((_, scan_info)) = mapping.scan { - let emitter_outlet = self.body.output_outlets()?[model_ix]; - if self.body.node(emitter_outlet.node).outputs[emitter_outlet.slot].successors.len() - > 0 - || self.body.inputs.contains(&emitter_outlet) - || mapping.state - || mapping.scan.map(|(_slot, i)| i.chunk > 1).unwrap_or(true) - { - // continue if both last_value and full values are exported - continue; - } - let mut new_body = self.body.clone(); - if let Some(einsum) = new_body.node(emitter_outlet.node).op_as::() { - if let Some(patch) = einsum - .propagate_axis( - &new_body, - new_body.node(emitter_outlet.node), - InOut::Out(0), - scan_info.axis, - ) - .context("building axis propagating patch")? - { - patch.apply(&mut new_body)?; - } - } - let emitter_outlet = new_body.output_outlets()?[model_ix]; - let invariants = { - let (input_facts, output_facts) = new_body.node_facts(emitter_outlet.node)?; - new_body - .node(emitter_outlet.node) - .op - .axes_mapping(&input_facts, &output_facts)? - }; - let axis_tracking = - invariants.axis((InOut::Out(emitter_outlet.slot), scan_info.axis))?; - if axis_tracking.outputs.iter().any(|o| o.len() > 1) { - return Ok(None); - } - let mut new_output_mapping = self.output_mapping.clone(); - let mut new_scan_outputs = node.outputs.len(); - let mut outer_slots = vec![]; - - for (input_slot, input) in - new_body.node(emitter_outlet.node).inputs.clone().iter().enumerate() - { - if new_body.outputs.iter().all(|o| o != input) { - new_output_mapping.push(OutputMapping::default()); - new_body.outputs.push(*input); - } - let body_output_id = new_body.outputs.iter().position(|o| o == input).unwrap(); - let mut mapping = &mut new_output_mapping[body_output_id]; - let outer_slot = if new_body.outlet_fact(*input)?.konst.is_some() { - if mapping.last_value_slot.is_none() { - mapping.last_value_slot = Some(new_scan_outputs); - } - new_scan_outputs += 1; - mapping.last_value_slot.unwrap() - } else if let &[axis] = &*axis_tracking.inputs[input_slot] { - if mapping.scan.is_none() { - mapping.scan = - Some((new_scan_outputs, ScanInfo { axis, chunk: scan_info.chunk })); - new_scan_outputs += 1; - } - mapping.scan.unwrap().0 - } else { - return Ok(None); - }; - outer_slots.push(outer_slot); - } - let mut outside_patch = TypedModelPatch::new(format!( - "Outside patch for output extraction of {}", - new_body.node(emitter_outlet.node) - )); - let inputs = node - .inputs - .iter() - .map(|&i| outside_patch.tap_model(model, i)) - .collect::>>()?; - let new_op = Self { - output_mapping: new_output_mapping, - decluttered: false, - body: new_body.clone(), // FIXME maybe remove clone - ..self.clone() - }; - let scan_outputs = outside_patch.wire_node(&node.name, new_op, &inputs)?; - let output = mapping.scan.unwrap(); - let inputs = - outer_slots.iter().map(|slot| scan_outputs[*slot]).collect::>(); - let wire = outside_patch.wire_node( - &new_body.node(emitter_outlet.node).name, - new_body.node(emitter_outlet.node).op.clone(), - &inputs, - )?[0]; - outside_patch.shunt_outside(model, OutletId::new(node.id, output.0), wire)?; - for output_slot in 0..node.outputs.len() { - if output_slot != output.0 { - outside_patch.shunt_outside( - model, - OutletId::new(node.id, output_slot), - OutletId::new(scan_outputs[0].node, output_slot), - )?; - } - } - return Ok(Some(outside_patch)); - } - } - Ok(None) - } - - fn body_bounds(&self) -> TractResult>> { - let input_state_outlets = self - .input_mapping - .iter() - .zip(self.body.input_outlets()?.iter()) - .filter(|(m, _)| m.is_state()) - .map(|(_, o)| o); - let output_state_outlets = self - .output_mapping - .iter() - .zip(self.body.output_outlets()?.iter()) - .filter(|(m, _)| m.state) - .map(|(_, o)| o); - Ok(input_state_outlets.zip(output_state_outlets).map(|(&i, &o)| tvec!(i, o)).collect()) - } - - fn body_locked_outlets(&self, node_input_facts: &[&TypedFact]) -> TractResult> { - let input_outlets = - self.body.input_outlets()?.iter().enumerate().filter_map(|(slot, o)| { - if node_input_facts[slot].konst.is_none() { - Some(o) - } else { - None - } - }); - let output_outlets = self - .output_mapping - .iter() - .zip(self.body.output_outlets()?.iter()) - .filter(|(m, _)| !m.invisible()) - .map(|(_, o)| o); - Ok(input_outlets.chain(output_outlets).cloned().collect()) - } - - fn try_body_axes_change( - &self, - change: AxisChange, - locked_interface: bool, - node_input_facts: &[&TypedFact], - ) -> TractResult> { - self.body.check_consistency()?; - let locked_outlets = self.body_locked_outlets(node_input_facts)?; - let (body_patch, body_changed_wires) = if let Some(changes) = - crate::optim::change_axes::change_axes( - &self.body, - &change, - if locked_interface { &locked_outlets } else { &[] }, - &self.body_bounds()?, - )? { - changes - } else { - return Ok(None); - }; - let mut body = self.body.clone(); - body_patch.apply(&mut body)?; - body.compact()?; - let mut wire_changes = tvec!(); - let mut input_mapping: Vec = self.input_mapping.clone(); - for (slot, m) in input_mapping.iter_mut().enumerate() { - if let Some(change) = body_changed_wires - .iter() - .find(|(iface, _change)| iface == &InOut::In(slot)) - .map(|pair| pair.1.clone()) - { - wire_changes.push((InOut::In(slot), change.clone())); - if let InputMapping::Scan(info) = m { - if let Some(axis) = change.transform_axis(info.axis) { - info.axis = axis; - } else { - return Ok(None); - }; - }; - } - } - let mut output_mapping: Vec> = self.output_mapping.clone(); - for (ix, m) in output_mapping.iter_mut().enumerate() { - if let Some(change) = body_changed_wires - .iter() - .find(|(iface, _change)| iface == &InOut::Out(ix)) - .map(|pair| pair.1.clone()) - { - if let Some((slot, info)) = m.scan.as_mut() { - if let Some(new_axis) = change.transform_axis(info.axis) { - info.axis = new_axis; - } else { - return Ok(None); - } - wire_changes.push((InOut::Out(*slot), change.clone())); - } - if let Some(slot) = m.last_value_slot { - wire_changes.push((InOut::Out(slot), change.clone())); - } - }; - } - body.check_consistency()?; - let op = Some(Box::new(Scan { - body, - input_mapping, - output_mapping, - decluttered: false, - ..self.clone() - }) as _); - Ok(Some(AxisChangeConsequence { substitute_op: op, wire_changes })) + Ok(Scan { skip, iters, body, input_mapping, output_mapping }) } } @@ -650,7 +49,7 @@ impl Op for Scan { } fn info(&self) -> TractResult> { - let mut lines = vec![]; + let mut lines = vec![format!("iters: {:?}", self.iters)]; for (ix, im) in self.input_mapping.iter().enumerate() { lines.push(format!("Model input #{ix}: {im:?}")); } @@ -701,13 +100,12 @@ impl TypedOp for Scan { ) } let mut outputs = tvec!(); - let iters = super::iteration_count(&self.input_mapping, inputs).context("No scan input")?; for (ix, output) in self.output_mapping.iter().enumerate() { let fact = self.body.output_fact(ix)?; if let Some((slot, info)) = output.scan { let mut shape = fact.shape.clone(); let scanning_dim = - output.full_dim_hint.clone().unwrap_or(shape[info.axis].clone() * &iters); + output.full_dim_hint.clone().unwrap_or(shape[info.axis].clone() * &self.iters); shape.set(info.axis, scanning_dim); outputs.push((slot, fact.datum_type.fact(shape))); } @@ -721,119 +119,6 @@ impl TypedOp for Scan { Ok(outputs) } - fn axes_mapping( - &self, - inputs: &[&TypedFact], - outputs: &[&TypedFact], - ) -> TractResult { - let mut mappings = vec![]; - let body_invs = self.body.axes_mapping().with_context(|| "Computing body axes mapping")?; - for body_axis in body_invs.iter_all_axes() { - let mut info = Axis::new(body_axis.repr, inputs.len(), outputs.len()); - info.inputs = body_axis.inputs.clone(); - for (ix, output_mapping) in self.output_mapping.iter().enumerate() { - let mut slots = vec![]; - if let Some((slot, _scan)) = output_mapping.scan { - slots.push(slot); - } - if let Some(slot) = output_mapping.last_value_slot { - slots.push(slot); - } - for slot in slots { - info.outputs[slot] = body_axis.outputs[ix].clone(); - } - } - if info.inputs.iter().any(|i| i.len() > 0) || info.outputs.iter().any(|i| i.len() > 0) { - mappings.push(info); - } - } - AxesMapping::new(inputs.len(), outputs.len(), mappings) - } - - fn suggested_axis_changes(&self) -> TractResult> { - let mut suggestions = tvec!(); - for (slot, input) in self.input_mapping.iter().enumerate() { - if let InputMapping::Scan(info) = input { - if info.axis != 0 { - suggestions.push((InOut::In(slot), AxisOp::Move(info.axis, 0))) - } - } - } - for output in &self.output_mapping { - if let Some((slot, scan)) = output.scan { - if scan.axis != 0 { - suggestions.push((InOut::Out(slot), AxisOp::Move(scan.axis, 0))) - } - } - } - Ok(suggestions) - } - - fn change_axes( - &self, - model: &TypedModel, - node: &TypedNode, - io: InOut, - change: &AxisOp, - ) -> TractResult> { - trace!("Propagating through {}: {:?} {:?}", node, io, change); - let body_leading_outlet = match io { - InOut::In(ix) => self.body.input_outlets()?[ix], - InOut::Out(slot) => { - let output = self - .output_mapping - .iter() - .position(|im| { - im.scan.map(|(slot, _i)| slot) == Some(slot) - || im.last_value_slot == Some(slot) - }) - .unwrap(); - self.body.output_outlets()?[output] - } - }; - let axis_change = AxisChange { outlet: body_leading_outlet, op: change.clone() }; - let node_input_facts = model.node_input_facts(node.id)?; - let result = self - .try_body_axes_change(axis_change, false, &node_input_facts) - .with_context(|| "Attemping to run change through scan body".to_string())?; - if result.is_some() { - trace!("{} accepted axis change", node); - } else { - trace!("{} rejected axis change", node); - } - Ok(result) - } - - fn declutter_with_session( - &self, - session: &mut OptimizerSession, - model: &TypedModel, - node: &TypedNode, - ) -> TractResult> { - macro_rules! pass { - ($func:ident) => { - if let Some(mut r) = self - .$func(session, model, node) - .with_context(|| format!("{}", stringify!($func)))? - { - trace!(stringify!($func)); - r.push_context(stringify!($func)); - return Ok(Some(r)); - } - }; - } - pass!(declutter_const_input); - pass!(declutter_discard_unused_input); - pass!(declutter_discard_useless_outer_output); - pass!(declutter_discard_empty_output_mapping_with_body_output); - pass!(declutter_body); - pass!(declutter_body_axes); - pass!(declutter_pull_constant_outputs); - pass!(declutter_pull_batcheable_input); - pass!(declutter_pull_batcheable_output); - Ok(None) - } - fn concretize_dims( &self, _source: &TypedModel, diff --git a/core/src/ops/scan/mod.rs b/core/src/ops/scan/mod.rs index 8d81b4e8d0..7e4666efcf 100644 --- a/core/src/ops/scan/mod.rs +++ b/core/src/ops/scan/mod.rs @@ -17,24 +17,12 @@ pub struct ScanInfo { pub enum InputMapping { Full, State, - Scan(ScanInfo), } impl InputMapping { pub fn is_state(&self) -> bool { matches!(self, InputMapping::State) } - - pub fn is_scan(&self) -> bool { - self.as_scan().is_some() - } - - pub fn as_scan(&self) -> Option<&ScanInfo> { - match self { - InputMapping::Scan(s) => Some(s), - _ => None, - } - } } #[derive(Clone, new, Hash, Default)] @@ -78,6 +66,7 @@ impl fmt::Debug for OutputMapping { } } +/* pub fn iteration_count(input_mapping: &[InputMapping], inputs: &[&TypedFact]) -> Option { let Some((slot, info)) = input_mapping .iter() @@ -87,3 +76,4 @@ pub fn iteration_count(input_mapping: &[InputMapping], inputs: &[&TypedFact]) -> let outside_dim = inputs[slot].shape[info.axis].clone(); Some(outside_dim.div_ceil(info.chunk.unsigned_abs() as u64)) } +*/ diff --git a/data/Cargo.toml b/data/Cargo.toml index 82f66a744a..c1ca75e456 100644 --- a/data/Cargo.toml +++ b/data/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tract-data" -version = "0.20.5-pre" +version = "0.20.6-pre" license = "MIT/Apache-2.0" authors = ["Mathieu Poumeyrol "] description = "Tiny, no-nonsense, self contained, TensorFlow and ONNX inference" diff --git a/examples/jupyter-keras-tract-tf1/Cargo.toml b/examples/jupyter-keras-tract-tf1/Cargo.toml index 5b394f7792..e3e15cb6e3 100644 --- a/examples/jupyter-keras-tract-tf1/Cargo.toml +++ b/examples/jupyter-keras-tract-tf1/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jupyter-keras-tract-tf1" -version = "0.20.5-pre" +version = "0.20.6-pre" authors = ["Matthew Alhonte "] license = "MIT/Apache-2.0" edition = "2021" @@ -9,5 +9,5 @@ edition = "2021" [dependencies] rand.workspace = true -tract-core = { path = "../../core", version = "=0.20.5-pre" } -tract-tensorflow = { path = "../../tensorflow", version = "=0.20.5-pre" } +tract-core = { path = "../../core", version = "=0.20.6-pre" } +tract-tensorflow = { path = "../../tensorflow", version = "=0.20.6-pre" } diff --git a/examples/jupyter-keras-tract-tf2/Cargo.toml b/examples/jupyter-keras-tract-tf2/Cargo.toml index ad8b775325..c69e0c31c3 100644 --- a/examples/jupyter-keras-tract-tf2/Cargo.toml +++ b/examples/jupyter-keras-tract-tf2/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jupyter-keras-tract-tf2" -version = "0.20.5-pre" +version = "0.20.6-pre" authors = ["Matthew Alhonte "] license = "MIT/Apache-2.0" edition = "2021" @@ -10,5 +10,5 @@ edition = "2021" [dependencies] rand.workspace = true -tract-core = { path = "../../core", version = "=0.20.5-pre" } -tract-onnx = { path = "../../onnx", version = "=0.20.5-pre" } +tract-core = { path = "../../core", version = "=0.20.6-pre" } +tract-onnx = { path = "../../onnx", version = "=0.20.6-pre" } diff --git a/examples/nnef-dump-mobilenet-v2/Cargo.toml b/examples/nnef-dump-mobilenet-v2/Cargo.toml index d5ce5804bb..cfe554066f 100644 --- a/examples/nnef-dump-mobilenet-v2/Cargo.toml +++ b/examples/nnef-dump-mobilenet-v2/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "example-dump-nnef-mobilenet-v2" -version = "0.20.5-pre" +version = "0.20.6-pre" authors = ["Mathieu Poumeyrol "] license = "MIT/Apache-2.0" edition = "2021" @@ -8,4 +8,4 @@ edition = "2021" [dependencies] image.workspace = true -tract-nnef = { version = "=0.20.5-pre", path = "../../nnef" } +tract-nnef = { version = "=0.20.6-pre", path = "../../nnef" } diff --git a/examples/nnef-mobilenet-v2/Cargo.toml b/examples/nnef-mobilenet-v2/Cargo.toml index 965492950a..4e28c832bc 100644 --- a/examples/nnef-mobilenet-v2/Cargo.toml +++ b/examples/nnef-mobilenet-v2/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "example-nnef-mobilenet-v2" -version = "0.20.5-pre" +version = "0.20.6-pre" authors = ["Mathieu Poumeyrol "] license = "MIT/Apache-2.0" edition = "2021" @@ -8,4 +8,4 @@ edition = "2021" [dependencies] image.workspace = true -tract-nnef = { version = "=0.20.5-pre", path = "../../nnef" } +tract-nnef = { version = "=0.20.6-pre", path = "../../nnef" } diff --git a/examples/onnx-mobilenet-v2/Cargo.toml b/examples/onnx-mobilenet-v2/Cargo.toml index 6fc6a7cbe2..6d07eec50b 100644 --- a/examples/onnx-mobilenet-v2/Cargo.toml +++ b/examples/onnx-mobilenet-v2/Cargo.toml @@ -1,10 +1,10 @@ [package] name = "example-onnx-mobilenet-v2" -version = "0.20.5-pre" +version = "0.20.6-pre" authors = ["Mathieu Poumeyrol "] license = "MIT/Apache-2.0" edition = "2021" [dependencies] image.workspace = true -tract-onnx = { path = "../../onnx", version = "=0.20.5-pre" } +tract-onnx = { path = "../../onnx", version = "=0.20.6-pre" } diff --git a/examples/pytorch-albert-v2/Cargo.toml b/examples/pytorch-albert-v2/Cargo.toml index 878d154e7e..71c6a9ba74 100644 --- a/examples/pytorch-albert-v2/Cargo.toml +++ b/examples/pytorch-albert-v2/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pytorch-albert-v2" -version = "0.20.5-pre" +version = "0.20.6-pre" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -8,4 +8,4 @@ edition = "2021" [dependencies] ndarray.workspace = true tokenizers.workspace = true -tract-onnx = { path = "../../onnx", version = "=0.20.5-pre" } +tract-onnx = { path = "../../onnx", version = "=0.20.6-pre" } diff --git a/examples/pytorch-resnet/Cargo.toml b/examples/pytorch-resnet/Cargo.toml index 114f6216a5..37a363f360 100644 --- a/examples/pytorch-resnet/Cargo.toml +++ b/examples/pytorch-resnet/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "example-pytorch-resnet" -version = "0.20.5-pre" +version = "0.20.6-pre" authors = ["Teddy Koker "] license = "MIT/Apache-2.0" edition = "2021" @@ -9,4 +9,4 @@ edition = "2021" [dependencies] image.workspace = true -tract-onnx = { path = "../../onnx", version = "=0.20.5-pre" } +tract-onnx = { path = "../../onnx", version = "=0.20.6-pre" } diff --git a/examples/tensorflow-mobilenet-v2/Cargo.toml b/examples/tensorflow-mobilenet-v2/Cargo.toml index a14f3651ca..f42a82c3d1 100644 --- a/examples/tensorflow-mobilenet-v2/Cargo.toml +++ b/examples/tensorflow-mobilenet-v2/Cargo.toml @@ -1,10 +1,10 @@ [package] name = "example-tensorflow-mobilenet-v2" -version = "0.20.5-pre" +version = "0.20.6-pre" authors = ["Mathieu Poumeyrol "] license = "MIT/Apache-2.0" edition = "2021" [dependencies] image.workspace = true -tract-tensorflow = { path = "../../tensorflow", version = "=0.20.5-pre" } +tract-tensorflow = { path = "../../tensorflow", version = "=0.20.6-pre" } diff --git a/ffi/Cargo.toml b/ffi/Cargo.toml index 3f106c9732..a64f7a61a7 100644 --- a/ffi/Cargo.toml +++ b/ffi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tract-ffi" -version = "0.20.5-pre" +version = "0.20.6-pre" license = "MIT/Apache-2.0" authors = ["Mathieu Poumeyrol "] description = "Tiny, no-nonsense, self contained, TensorFlow and ONNX inference" @@ -23,9 +23,9 @@ anyhow.workspace = true flate2.workspace = true serde.workspace = true serde_json.workspace = true -tract-data = { path = "../data", version = "=0.20.5-pre" } -tract-nnef = { path = "../nnef", version = "=0.20.5-pre" } -tract-onnx = { path = "../onnx", version = "=0.20.5-pre" } -tract-pulse = { path = "../pulse", version = "=0.20.5-pre" } -tract-tensorflow = { path = "../tensorflow", version = "=0.20.5-pre" } -tract-libcli = { path = "../libcli", version = "=0.20.5-pre" } +tract-data = { path = "../data", version = "=0.20.6-pre" } +tract-nnef = { path = "../nnef", version = "=0.20.6-pre" } +tract-onnx = { path = "../onnx", version = "=0.20.6-pre" } +tract-pulse = { path = "../pulse", version = "=0.20.6-pre" } +tract-tensorflow = { path = "../tensorflow", version = "=0.20.6-pre" } +tract-libcli = { path = "../libcli", version = "=0.20.6-pre" } diff --git a/harness/core-proptest-pulse/Cargo.toml b/harness/core-proptest-pulse/Cargo.toml index e36dc3e8da..af4866d1f6 100644 --- a/harness/core-proptest-pulse/Cargo.toml +++ b/harness/core-proptest-pulse/Cargo.toml @@ -1,15 +1,15 @@ [package] name = "core-proptest-pulse" -version = "0.20.5-pre" +version = "0.20.6-pre" authors = ["Mathieu Poumeyrol "] license = "MIT/Apache-2.0" edition = "2021" [dependencies] -tract-hir = { path = "../../hir", version = "=0.20.5-pre" } -tract-pulse = { path = "../../pulse", version = "=0.20.5-pre" } -tract-onnx = { path = "../../onnx", version = "=0.20.5-pre" } -tract-onnx-opl = { path = "../../onnx-opl", version = "=0.20.5-pre" } +tract-hir = { path = "../../hir", version = "=0.20.6-pre" } +tract-pulse = { path = "../../pulse", version = "=0.20.6-pre" } +tract-onnx = { path = "../../onnx", version = "=0.20.6-pre" } +tract-onnx-opl = { path = "../../onnx-opl", version = "=0.20.6-pre" } [dev-dependencies] log.workspace = true diff --git a/harness/lstm-proptest-onnx-vs-tf/Cargo.toml b/harness/lstm-proptest-onnx-vs-tf/Cargo.toml index 80a1256438..e09a30d3b5 100644 --- a/harness/lstm-proptest-onnx-vs-tf/Cargo.toml +++ b/harness/lstm-proptest-onnx-vs-tf/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "lstm-proptest-onnx-vs-tf" -version = "0.20.5-pre" +version = "0.20.6-pre" authors = ["Mathieu Poumeyrol "] license = "MIT/Apache-2.0" edition = "2021" [dependencies] proptest.workspace = true -tract-tensorflow = { path = "../../tensorflow", version = "=0.20.5-pre" } -tract-onnx = { path = "../../onnx", version = "=0.20.5-pre" } +tract-tensorflow = { path = "../../tensorflow", version = "=0.20.6-pre" } +tract-onnx = { path = "../../onnx", version = "=0.20.6-pre" } diff --git a/harness/nnef-inceptionv3/Cargo.toml b/harness/nnef-inceptionv3/Cargo.toml index aa77956ed5..6900f8ab51 100644 --- a/harness/nnef-inceptionv3/Cargo.toml +++ b/harness/nnef-inceptionv3/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nnef-inceptionv3" -version = "0.20.5-pre" +version = "0.20.6-pre" authors = ["Mathieu Poumeyrol "] license = "MIT/Apache-2.0" edition = "2021" @@ -8,8 +8,8 @@ edition = "2021" [dependencies] flate2.workspace = true image.workspace = true -tract-core = { version = "=0.20.5-pre", path = "../../core" } -tract-nnef = { version = "=0.20.5-pre", path = "../../nnef" } +tract-core = { version = "=0.20.6-pre", path = "../../core" } +tract-nnef = { version = "=0.20.6-pre", path = "../../nnef" } [dev-dependencies] dinghy-test.workspace = true diff --git a/harness/onnx-proptest/Cargo.toml b/harness/onnx-proptest/Cargo.toml index 4e7a791233..ce6202e9c6 100644 --- a/harness/onnx-proptest/Cargo.toml +++ b/harness/onnx-proptest/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "onnx-proptest" -version = "0.20.5-pre" +version = "0.20.6-pre" edition = "2021" [workspace] @@ -12,5 +12,5 @@ onnxruntime = { path = "../../../../github/onnxruntime-rs/onnxruntime" } onnx-pb = "0.1.4" anyhow = "1.0.56" prost = "0.11.0" -tract-onnx = { path = "../../onnx" , version = "=0.20.5-pre" } +tract-onnx = { path = "../../onnx" , version = "=0.20.6-pre" } proptest = "1.0.0" diff --git a/harness/onnx-test-suite/Cargo.toml b/harness/onnx-test-suite/Cargo.toml index 1e686cadae..9362a22940 100644 --- a/harness/onnx-test-suite/Cargo.toml +++ b/harness/onnx-test-suite/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "onnx-test-suite" -version = "0.20.5-pre" +version = "0.20.6-pre" authors = ["Mathieu Poumeyrol "] license = "MIT/Apache-2.0" edition = "2021" @@ -10,9 +10,9 @@ bytes.workspace = true fs2.workspace = true log.workspace = true prost.workspace = true -tract-core = { path = "../../core", version = "=0.20.5-pre" } -tract-nnef = { path = "../../nnef", version = "=0.20.5-pre" } -tract-onnx = { path = "../../onnx", version = "=0.20.5-pre" } +tract-core = { path = "../../core", version = "=0.20.6-pre" } +tract-nnef = { path = "../../nnef", version = "=0.20.6-pre" } +tract-onnx = { path = "../../onnx", version = "=0.20.6-pre" } [features] onnx_1_4_1 = [] diff --git a/harness/onnx-test-suite/debug-utils/Cargo.toml b/harness/onnx-test-suite/debug-utils/Cargo.toml index dce3942429..68dc78f7a0 100644 --- a/harness/onnx-test-suite/debug-utils/Cargo.toml +++ b/harness/onnx-test-suite/debug-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "debug-utils" -version = "0.20.5-pre" +version = "0.20.6-pre" authors = ["Mathieu Poumeyrol "] edition = "2021" @@ -9,4 +9,4 @@ members = [] [dependencies] protobuf = "*" -tract-onnx = { path = "../../../onnx" , version = "=0.20.5-pre" } +tract-onnx = { path = "../../../onnx" , version = "=0.20.6-pre" } diff --git a/harness/tf-inceptionv3/Cargo.toml b/harness/tf-inceptionv3/Cargo.toml index ee8f4d9fbb..172812ed8d 100644 --- a/harness/tf-inceptionv3/Cargo.toml +++ b/harness/tf-inceptionv3/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "tf-inceptionv3" -version = "0.20.5-pre" +version = "0.20.6-pre" authors = ["Mathieu Poumeyrol "] license = "MIT/Apache-2.0" [dependencies] image.workspace = true -tract-tensorflow = { path = "../../tensorflow", version = "=0.20.5-pre" } +tract-tensorflow = { path = "../../tensorflow", version = "=0.20.6-pre" } [features] conform = [ "tract-tensorflow/conform" ] diff --git a/harness/tf-mobilenet-v2/Cargo.toml b/harness/tf-mobilenet-v2/Cargo.toml index 5787af2b07..c8ce40f015 100644 --- a/harness/tf-mobilenet-v2/Cargo.toml +++ b/harness/tf-mobilenet-v2/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "tf-mobilenet-v2" -version = "0.20.5-pre" +version = "0.20.6-pre" authors = ["Mathieu Poumeyrol "] license = "MIT/Apache-2.0" [dependencies] image.workspace = true -tract-tensorflow = { path = "../../tensorflow", version = "=0.20.5-pre" } +tract-tensorflow = { path = "../../tensorflow", version = "=0.20.6-pre" } [dev-dependencies] dinghy-test.workspace = true diff --git a/harness/tf-moz-deepspeech/Cargo.toml b/harness/tf-moz-deepspeech/Cargo.toml index 1d02ea7b43..bdb8867a36 100644 --- a/harness/tf-moz-deepspeech/Cargo.toml +++ b/harness/tf-moz-deepspeech/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "tf-moz-deepspeech" -version = "0.20.5-pre" +version = "0.20.6-pre" authors = ["Mathieu Poumeyrol "] edition = "2021" license = "MIT/Apache-2.0" [dependencies] log.workspace = true -tract-tensorflow = { path = "../../tensorflow", version = "=0.20.5-pre" } +tract-tensorflow = { path = "../../tensorflow", version = "=0.20.6-pre" } [dev-dependencies] env_logger.workspace = true diff --git a/hir/Cargo.toml b/hir/Cargo.toml index 51768cce5d..1eb2e67aca 100644 --- a/hir/Cargo.toml +++ b/hir/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tract-hir" -version = "0.20.5-pre" +version = "0.20.6-pre" license = "MIT/Apache-2.0" authors = ["Mathieu Poumeyrol "] description = "Tiny, no-nonsense, self contained, TensorFlow and ONNX inference" @@ -17,7 +17,7 @@ maintenance = { status = "actively-developed" } derive-new.workspace = true log.workspace = true -tract-core = { version = "=0.20.5-pre", path = "../core" } +tract-core = { version = "=0.20.6-pre", path = "../core" } [dev-dependencies] env_logger.workspace = true diff --git a/hir/src/ops/array/dyn_slice.rs b/hir/src/ops/array/dyn_slice.rs new file mode 100644 index 0000000000..28c8139619 --- /dev/null +++ b/hir/src/ops/array/dyn_slice.rs @@ -0,0 +1,32 @@ +use tract_core::ops::array::DynSlice; +use crate::internal::*; + +impl InferenceRulesOp for DynSlice { + fn rules<'r, 'p: 'r, 's: 'r>( + &'s self, + s: &mut crate::infer::Solver<'r>, + inputs: &'p [crate::infer::TensorProxy], + outputs: &'p [crate::infer::TensorProxy], + ) -> InferenceResult { + check_input_arity(inputs, 3)?; + check_output_arity(outputs, 1)?; + s.equals(&inputs[0].datum_type, &outputs[0].datum_type)?; + s.equals(&inputs[0].rank, &outputs[0].rank)?; + s.equals(&inputs[1].rank, 0)?; + s.equals(&inputs[2].rank, 0)?; + s.given(&inputs[0].rank, move |s, rank| { + for axis in 0..rank as usize { + if axis == self.axis { + s.equals(&outputs[0].shape[axis], self.len.clone())?; + } else { + s.equals(&outputs[0].shape[axis], &inputs[0].shape[axis])?; + } + } + Ok(()) + })?; + Ok(()) + } + + as_op!(); + to_typed!(); +} diff --git a/hir/src/ops/array/mod.rs b/hir/src/ops/array/mod.rs index 184546d608..5884bb7306 100644 --- a/hir/src/ops/array/mod.rs +++ b/hir/src/ops/array/mod.rs @@ -5,6 +5,7 @@ mod concat; mod constant_like; mod constant_of_shape; mod crop; +mod dyn_slice; mod flatten; mod gather; mod gather_elements; diff --git a/hir/src/ops/array/strided_slice.rs b/hir/src/ops/array/strided_slice.rs index 4068bdd94e..250eba2fef 100644 --- a/hir/src/ops/array/strided_slice.rs +++ b/hir/src/ops/array/strided_slice.rs @@ -297,10 +297,10 @@ impl Expansion for StridedSlice { AxisOp::Rm(0), &right, )?[0]; - let sym = target.symbol_table.new_with_prefix("l"); + let len = target.symbol_table.new_with_prefix("len").to_dim(); wire = target.wire_node( format!("{prefix}.slice-axis-{axis}"), - tract_core::ops::array::DynSlice::new(axis, true, true, sym), + tract_core::ops::array::DynSlice::new(axis, len), &[wire, left, right], )?[0]; } diff --git a/hir/src/ops/binary.rs b/hir/src/ops/binary.rs index ac0bcb2fbe..18a5334e30 100644 --- a/hir/src/ops/binary.rs +++ b/hir/src/ops/binary.rs @@ -53,8 +53,9 @@ pub fn rules<'r, 'p: 'r, 's: 'r, DT: Fn(DatumType, DatumType) -> TractResult, + pub state_initializers: Vec>>, // the len of this matches the number of + // state inputs. if None, there is an outer + // input for initialization pub output_mapping: Vec>, pub clean_scan_counts: bool, pub iter_count_fact: GenericFactoid, @@ -49,31 +52,21 @@ impl EvalOp for InferenceScan { impl InferenceScan { pub(super) fn to_mir_scan(&self) -> TractResult> { - let typed_model = self.body.clone().into_typed()?; - let input_mapping = self - .input_mapping - .iter() - .enumerate() - .map(|(ix, im)| { - Ok(match im { - InputMapping::Scan(info) => InputMapping::Scan(ScanInfo { - chunk: typed_model.input_fact(ix)?.shape[info.axis].to_isize()?, - ..*info - }), - other => other.clone(), - }) - }) - .collect::>()?; + let iters = self.iter_count_fact.concretize().unwrap(); + let typed_body = self.body.clone().into_typed()?; let output_mapping = self .output_mapping .iter() .enumerate() .map(|(ix, im)| { let scan = if let Some((slot, scan)) = im.scan { - Some((slot, ScanInfo { - chunk: typed_model.input_fact(ix)?.shape[scan.axis].to_isize()?, - ..scan - })) + Some(( + slot, + ScanInfo { + chunk: typed_body.input_fact(ix)?.shape[scan.axis].to_isize()?, + ..scan + }, + )) } else { None }; @@ -85,12 +78,7 @@ impl InferenceScan { }) }) .collect::>()?; - Ok(Box::new(Scan::new( - typed_model, - input_mapping, - output_mapping, - 0, - )?)) + Ok(Box::new(Scan::new(typed_body, self.input_mapping.clone(), output_mapping, 0, iters)?)) } fn unify_scanning_tensor_fact( @@ -136,11 +124,13 @@ impl InferenceScan { fn unify_facts( &mut self, - inputs: &mut [InferenceFact], - outputs: &mut [InferenceFact], + ext_inputs: &mut [InferenceFact], + ext_outputs: &mut [InferenceFact], ) -> TractResult { let mut changed = false; let hidden_state_len = self.input_mapping.iter().filter(|m| m.is_state()).count(); + let mut external_initializer_input_slot = 0; + let mut constant_initializers = vec![]; #[allow(clippy::needless_range_loop)] for state_ix in 0..hidden_state_len { trace!("Unify hidden state #{}", state_ix); @@ -156,7 +146,13 @@ impl InferenceScan { self.body.input_outlets()?[state_ix], self.body.output_outlets()?[inner_model_output_ix], ])?; - facts.push(&mut inputs[state_ix]); + if let Some(init) = &self.state_initializers[state_ix] { + constant_initializers.push(init.clone().into()); + facts.push(constant_initializers.last_mut().unwrap()); + } else { + facts.push(&mut ext_inputs[external_initializer_input_slot]); + external_initializer_input_slot += 1; + } if Factoid::unify_all( &mut facts.iter_mut().map(|f| &mut f.datum_type).collect::>(), )? { @@ -167,41 +163,23 @@ impl InferenceScan { changed = true; } } + let constant_initializers_count = + self.state_initializers.iter().filter(|s| s.is_some()).count(); for (slot, i) in self.input_mapping.iter().enumerate() { match i { InputMapping::State { .. } => {} InputMapping::Full => { - if inputs[slot].unify_with_mut(self.body.input_fact_mut(slot)?)? { + if ext_inputs[slot - constant_initializers_count] + .unify_with_mut(self.body.input_fact_mut(slot)?)? + { changed = true; } } - InputMapping::Scan(scan) => { - let incoming = &mut inputs[slot]; - let inner = self.body.input_fact_mut(slot)?; - if Self::unify_scanning_tensor_fact(incoming, inner, scan.axis)? { - changed = true; - }; - if self.clean_scan_counts { - if incoming.shape.ensure_rank_at_least(scan.axis) { - changed = true; - } - let value = - self.iter_count_fact.unify(&incoming.shape.dim(scan.axis).unwrap())?; - if self.iter_count_fact != value { - changed = true; - self.iter_count_fact = value.clone(); - } - if incoming.shape.dim(scan.axis).unwrap() != value { - changed = true; - incoming.shape.set_dim(scan.axis, value.concretize().unwrap()); - } - } - } } } for (ix, i) in self.output_mapping.iter().enumerate() { if let Some((slot, scan)) = i.scan { - let outgoing = &mut outputs[slot]; + let outgoing = &mut ext_outputs[slot]; let inner = self.body.output_fact_mut(ix)?; if Self::unify_scanning_tensor_fact(outgoing, inner, scan.axis)? { changed = true @@ -223,7 +201,7 @@ impl InferenceScan { } } if let Some(slot) = i.last_value_slot { - if outputs[slot].unify_with(self.body.output_fact_mut(ix)?)? { + if ext_outputs[slot].unify_with(self.body.output_fact_mut(ix)?)? { changed = true; } } @@ -241,14 +219,16 @@ impl InferenceOp for InferenceScan { ) -> TractResult<(TVec, TVec, TVec)> { let body_inputs = self.body.input_outlets()?.len(); let body_outputs = self.body.output_outlets()?.len(); - let expected_op_inputs = self.input_mapping.len(); + let expected_op_inputs = self.input_mapping.len() + - self.state_initializers.iter().filter(|i| i.is_some()).count(); let expected_op_outputs = self .output_mapping .iter() .filter_map(|om| om.last_value_slot) .chain(self.output_mapping.iter().filter_map(|om| om.scan.map(|si| si.0))) .max() - .context("No output slot found")? + 1; + .context("No output slot found")? + + 1; if inputs.len() != expected_op_inputs { bail!("Scan receives {} inputs, mappings expects {}", inputs.len(), expected_op_inputs) } @@ -269,11 +249,11 @@ impl InferenceOp for InferenceScan { self.output_mapping.len() ) } - let mut inputs: TVec = inputs.into_iter().cloned().collect(); - let mut outputs: TVec = outputs.into_iter().cloned().collect(); + let mut external_inputs: TVec = inputs.into_iter().cloned().collect(); + let mut external_outputs: TVec = outputs.into_iter().cloned().collect(); loop { trace!("Unify inner and outer interface"); - let mut changed = self.unify_facts(&mut inputs, &mut outputs)?; + let mut changed = self.unify_facts(&mut external_inputs, &mut external_outputs)?; trace!("iters: {:?} changed: {:?}", self.iter_count_fact, changed); for (ix, input) in self.body.input_outlets()?.iter().enumerate() { trace!(" Input inner model: {} {:?} {:?}", ix, input, self.body.input_fact(ix)); @@ -282,6 +262,7 @@ impl InferenceOp for InferenceScan { trace!(" Output inner model: {} {:?} {:?}", ix, output, self.body.output_fact(ix)); } trace!("Inner model analyse"); + // dbg!(&self.body); if self.body.analyse(false).context("analysing inner model")? { changed = true; } @@ -290,7 +271,7 @@ impl InferenceOp for InferenceScan { } trace!("Finished inner model analyse"); } - Ok((inputs, outputs, tvec!())) + Ok((external_inputs, external_outputs, tvec!())) } fn to_typed( @@ -300,7 +281,13 @@ impl InferenceOp for InferenceScan { target: &mut TypedModel, mapping: &HashMap, ) -> TractResult> { - let inputs = node.inputs.iter().map(|m| mapping[m]).collect::>(); + let mut inputs = node.inputs.iter().map(|m| mapping[m]).collect::>(); + for (ix, value) in self.state_initializers.iter().enumerate() { + if let Some(value) = value { + let k = target.add_const(format!("{}.{}", node.name, ix), value.clone())?; + inputs.insert(ix,k); + } + } target.wire_node(&*node.name, self.to_mir_scan()? as Box, &inputs) } diff --git a/kaldi/Cargo.toml b/kaldi/Cargo.toml deleted file mode 100644 index 875247c5e7..0000000000 --- a/kaldi/Cargo.toml +++ /dev/null @@ -1,26 +0,0 @@ -[package] -name = "tract-kaldi" -version = "0.20.5-pre" -authors = [ - "Mathieu Poumeyrol ", - "Theodore Bluche " -] -license = "MIT/Apache-2.0" -description = "Tiny, no-nonsense, self contained, TensorFlow and ONNX inference" -repository = "https://github.com/snipsco/tract" -keywords = [ "TensorFlow", "NeuralNetworks", "ONNX" ] -categories = [ "science" ] -edition = "2021" - -[badges] -maintenance = { status = "actively-developed" } - -[dependencies] -bit-set= "0.5.2" -derive-new.workspace = true -lazy_static.workspace = true -log.workspace = true -maplit.workspace = true -nom.workspace = true -tract-hir = { version = "=0.20.5-pre", path = "../hir" } -tract-pulse = { version = "=0.20.5-pre", path = "../pulse" } diff --git a/kaldi/LICENSE b/kaldi/LICENSE deleted file mode 100644 index 09250ca89f..0000000000 --- a/kaldi/LICENSE +++ /dev/null @@ -1,12 +0,0 @@ -## License - -Licensed under either of - * Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0) - * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT) -at your option. - -### Contribution - -Unless you explicitly state otherwise, any contribution intentionally submitted -for inclusion in the work by you, as defined in the Apache-2.0 license, shall -be dual licensed as above, without any additional terms or conditions. diff --git a/kaldi/LICENSE-APACHE b/kaldi/LICENSE-APACHE deleted file mode 100644 index 16fe87b06e..0000000000 --- a/kaldi/LICENSE-APACHE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - -1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - -2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - -3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - -4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - -5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - -6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - -7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - -8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - -9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - -END OF TERMS AND CONDITIONS - -APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - -Copyright [yyyy] [name of copyright owner] - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. diff --git a/kaldi/LICENSE-MIT b/kaldi/LICENSE-MIT deleted file mode 100644 index 31aa79387f..0000000000 --- a/kaldi/LICENSE-MIT +++ /dev/null @@ -1,23 +0,0 @@ -Permission is hereby granted, free of charge, to any -person obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the -Software without restriction, including without -limitation the rights to use, copy, modify, merge, -publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software -is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice -shall be included in all copies or substantial portions -of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF -ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED -TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT -SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE. diff --git a/kaldi/src/lib.rs b/kaldi/src/lib.rs deleted file mode 100644 index a35a9b7806..0000000000 --- a/kaldi/src/lib.rs +++ /dev/null @@ -1,18 +0,0 @@ -#![allow(clippy::len_zero)] -#[macro_use] -extern crate derive_new; -#[macro_use] -extern crate log; - -pub mod model; -mod ops; -pub mod parser; - -pub use model::Kaldi; -pub use model::KaldiProtoModel; - -pub fn kaldi() -> Kaldi { - let mut kaldi = Kaldi::default(); - ops::register_all_ops(&mut kaldi.op_register); - kaldi -} diff --git a/kaldi/src/model.rs b/kaldi/src/model.rs deleted file mode 100644 index 566ffcc703..0000000000 --- a/kaldi/src/model.rs +++ /dev/null @@ -1,286 +0,0 @@ -use std::collections::BTreeMap; - -use tract_hir::internal::*; - -#[derive(Clone, Debug)] -pub struct KaldiProtoModel { - pub config_lines: ConfigLines, - pub components: HashMap, - pub adjust_final_offset: isize, -} - -#[derive(Clone, Debug)] -pub struct ConfigLines { - pub input_name: String, - pub input_dim: usize, - pub nodes: Vec<(String, NodeLine)>, - pub outputs: Vec, -} - -#[derive(Clone, Debug)] -pub enum NodeLine { - Component(ComponentNode), - DimRange(DimRangeNode), -} - -#[derive(Clone, Debug)] -pub struct OutputLine { - pub output_alias: String, - pub descriptor: GeneralDescriptor, -} - -#[derive(Clone, Debug, PartialEq)] -pub enum GeneralDescriptor { - Append(Vec), - IfDefined(Box), - Name(String), - Offset(Box, isize), -} - -impl GeneralDescriptor { - pub fn inputs(&self) -> TVec<&str> { - match self { - GeneralDescriptor::Append(ref gds) => gds.iter().fold(tvec!(), |mut acc, gd| { - gd.inputs().iter().for_each(|i| { - if !acc.contains(i) { - acc.push(i) - } - }); - acc - }), - GeneralDescriptor::IfDefined(ref gd) => gd.inputs(), - GeneralDescriptor::Name(ref s) => tvec!(&**s), - GeneralDescriptor::Offset(ref gd, _) => gd.inputs(), - } - } - - pub fn as_conv_shape_dilation(&self) -> Option<(usize, usize)> { - if let GeneralDescriptor::Name(_) = self { - return Some((1, 1)); - } - if let GeneralDescriptor::Append(ref appendees) = self { - let mut offsets = vec![]; - for app in appendees { - match app { - GeneralDescriptor::Name(_) => offsets.push(0), - GeneralDescriptor::Offset(_, offset) => offsets.push(*offset), - _ => return None, - } - } - let dilation = offsets[1] - offsets[0]; - if offsets.windows(2).all(|pair| pair[1] - pair[0] == dilation) { - return Some((offsets.len(), dilation as usize)); - } - } - None - } - - fn wire( - &self, - inlet: InletId, - name: &str, - model: &mut InferenceModel, - deferred: &mut BTreeMap, - adjust_final_offset: Option, - ) -> TractResult<()> { - use GeneralDescriptor::*; - match self { - Name(n) => { - deferred.insert(inlet, n.to_string()); - return Ok(()); - } - Append(appendees) => { - let name = format!("{name}.Append"); - let id = model.add_node( - &*name, - expand(tract_hir::ops::array::Concat::new(1)), - tvec!(InferenceFact::default()), - )?; - model.add_edge(OutletId::new(id, 0), inlet)?; - for (ix, appendee) in appendees.iter().enumerate() { - let name = format!("{name}-{ix}"); - appendee.wire( - InletId::new(id, ix), - &name, - model, - deferred, - adjust_final_offset, - )?; - } - return Ok(()); - } - IfDefined(ref o) => { - if let Offset(n, o) = &**o { - if let Name(n) = &**n { - let name = format!("{name}.memory"); - model.add_node( - &*name, - crate::ops::memory::Memory::new(n.to_string(), *o), - tvec!(InferenceFact::default()), - )?; - deferred.insert(inlet, name); - return Ok(()); - } - } - } - Offset(ref n, o) if *o > 0 => { - let name = format!("{name}-Delay"); - let crop = *o + adjust_final_offset.unwrap_or(0); - if crop < 0 { - bail!("Invalid offset adjustment (network as {}, adjustment is {}", o, crop) - } - let id = model.add_node( - &*name, - expand(tract_hir::ops::array::Crop::new(0, crop as usize, 0)), - tvec!(InferenceFact::default()), - )?; - model.add_edge(OutletId::new(id, 0), inlet)?; - n.wire(InletId::new(id, 0), &name, model, deferred, adjust_final_offset)?; - return Ok(()); - } - _ => (), - } - bail!("Unhandled input descriptor: {:?}", self) - } -} - -#[derive(Clone, Debug)] -pub struct DimRangeNode { - pub input: GeneralDescriptor, - pub offset: usize, - pub dim: usize, -} - -#[derive(Clone, Debug)] -pub struct ComponentNode { - pub input: GeneralDescriptor, - pub component: String, -} - -#[derive(Clone, Debug, Default)] -pub struct Component { - pub klass: String, - pub attributes: HashMap>, -} - -pub struct ParsingContext<'a> { - pub proto_model: &'a KaldiProtoModel, -} - -type OpBuilder = fn(&ParsingContext, node: &str) -> TractResult>; - -#[derive(Clone, Default)] -pub struct KaldiOpRegister(pub HashMap); - -impl KaldiOpRegister { - pub fn insert(&mut self, s: &'static str, builder: OpBuilder) { - self.0.insert(s.into(), builder); - } -} - -#[derive(Clone, Default)] -pub struct Kaldi { - pub op_register: KaldiOpRegister, -} - -impl Framework for Kaldi { - fn proto_model_for_read(&self, r: &mut dyn std::io::Read) -> TractResult { - use crate::parser; - let mut v = vec![]; - r.read_to_end(&mut v)?; - parser::nnet3(&v) - } - - fn model_for_proto_model_with_symbols( - &self, - proto_model: &KaldiProtoModel, - symbols: &SymbolTable, - ) -> TractResult { - let ctx = ParsingContext { proto_model }; - let mut model = - InferenceModel { symbol_table: symbols.to_owned(), ..InferenceModel::default() }; - - let s = model.symbol_table.sym("S"); - model.add_source( - proto_model.config_lines.input_name.clone(), - f32::fact(dims!(s, proto_model.config_lines.input_dim)).into(), - )?; - let mut inputs_to_wire: BTreeMap = Default::default(); - for (name, node) in &proto_model.config_lines.nodes { - match node { - NodeLine::Component(line) => { - let component = &proto_model.components[&line.component]; - if crate::ops::AFFINE.contains(&&*component.klass) - && line.input.as_conv_shape_dilation().is_some() - { - let op = crate::ops::affine::affine_component(&ctx, name)?; - let id = model.add_node( - name.to_string(), - op, - tvec!(InferenceFact::default()), - )?; - inputs_to_wire - .insert(InletId::new(id, 0), line.input.inputs()[0].to_owned()); - } else { - let op = match self.op_register.0.get(&*component.klass) { - Some(builder) => (builder)(&ctx, name)?, - None => Box::new(tract_hir::ops::unimpl::UnimplementedOp::new( - 1, - &component.klass, - format!("{line:?}"), - )), - }; - let id = model.add_node( - name.to_string(), - op, - tvec!(InferenceFact::default()), - )?; - line.input.wire( - InletId::new(id, 0), - name, - &mut model, - &mut inputs_to_wire, - None, - )? - } - } - NodeLine::DimRange(line) => { - let op = - tract_hir::ops::array::Slice::new(1, line.offset, line.offset + line.dim); - let id = - model.add_node(name.to_string(), op, tvec!(InferenceFact::default()))?; - line.input.wire( - InletId::new(id, 0), - name, - &mut model, - &mut inputs_to_wire, - None, - )? - } - } - } - let mut outputs = vec![]; - for o in &proto_model.config_lines.outputs { - let output = model.add_node( - &*o.output_alias, - tract_hir::ops::identity::Identity::default(), - tvec!(InferenceFact::default()), - )?; - model.set_outlet_label(output.into(), o.output_alias.to_string())?; - o.descriptor.wire( - InletId::new(output, 0), - "output", - &mut model, - &mut inputs_to_wire, - Some(proto_model.adjust_final_offset), - )?; - outputs.push(OutletId::new(output, 0)); - } - for (inlet, name) in inputs_to_wire { - let src = OutletId::new(model.node_by_name(&*name)?.id, 0); - model.add_edge(src, inlet)?; - } - model.set_output_outlets(&outputs)?; - Ok(model) - } -} diff --git a/kaldi/src/ops.rs b/kaldi/src/ops.rs deleted file mode 100644 index 857be23958..0000000000 --- a/kaldi/src/ops.rs +++ /dev/null @@ -1,23 +0,0 @@ -use crate::model::KaldiOpRegister; -use tract_hir::internal::*; - -pub(crate) mod affine; -pub(crate) mod lstm_nonlin; -pub(crate) mod memory; -mod renorm; - -pub const AFFINE: &[&str] = &["FixedAffineComponent", "NaturalGradientAffineComponent"]; - -pub fn register_all_ops(reg: &mut KaldiOpRegister) { - for affine in AFFINE { - reg.insert(affine, affine::affine_component); - } - reg.insert("BackpropTruncationComponent", |_, _| { - Ok(Box::::default()) - }); - reg.insert("NormalizeComponent", renorm::renorm); - reg.insert("LstmNonlinearityComponent", lstm_nonlin::lstm_nonlin); - reg.insert("RectifiedLinearComponent", |_, _| { - Ok(expand(tract_hir::ops::activations::Clip::new(Some(0.0), None))) - }); -} diff --git a/kaldi/src/ops/affine.rs b/kaldi/src/ops/affine.rs deleted file mode 100644 index 90582beaed..0000000000 --- a/kaldi/src/ops/affine.rs +++ /dev/null @@ -1,109 +0,0 @@ -use tract_hir::internal::*; - -use crate::model::NodeLine; -use crate::model::ParsingContext; - -pub fn affine_component(ctx: &ParsingContext, name: &str) -> TractResult> { - let node = &ctx.proto_model.config_lines.nodes.iter().find(|l| l.0 == name); - let line = if let Some((_, NodeLine::Component(line))) = node { - line - } else { - bail!("Could not find component {}", name); - }; - let component = &ctx.proto_model.components[&line.component]; - let (kernel_len, dilation) = line.input.as_conv_shape_dilation().unwrap_or((1, 1)); - let kernel: &Tensor = - component.attributes.get("LinearParams").context("missing attribute LinearParams")?; - let bias = component.attributes.get("BiasParams").context("missing attribute BiasParams")?; - // O•TI -> t -> TI•O -> T•I•O = HWIO - let o_ti = kernel.to_array_view::()?; - let t_i_o_shape = (kernel_len, kernel.len() / kernel_len / bias.len(), bias.len()); - let t_i_o = - tract_ndarray::Array::from_shape_vec(t_i_o_shape, o_ti.t().iter().cloned().collect())?; - Ok(expand(Affine { - kernel_len, - dilation, - linear_params: t_i_o.into_arc_tensor(), - bias_params: Arc::clone(bias), - })) -} - -#[derive(Clone, Debug, new, Hash)] -struct Affine { - kernel_len: usize, - dilation: usize, - linear_params: Arc, // TIO - bias_params: Arc, -} - - - -impl Affine { - fn as_conv(&self) -> tract_hir::ops::cnn::Conv { - use tract_hir::ops::cnn::*; - Conv::default() - .hwc() - .hwio() - .bias_input(2) - .dilations(tvec!(self.dilation)) - .kernel_shape(tvec!(self.kernel_len)) - } -} - -impl Expansion for Affine { - fn name(&self) -> std::borrow::Cow { - "Affine".into() - } - - - fn rules<'r, 'p: 'r, 's: 'r>( - &'s self, - s: &mut Solver<'r>, - inputs: &'p [TensorProxy], - outputs: &'p [TensorProxy], - ) -> InferenceResult { - check_input_arity(inputs, 1)?; - check_output_arity(outputs, 1)?; - s.equals(&inputs[0].datum_type, self.linear_params.datum_type())?; - s.equals(&outputs[0].datum_type, self.linear_params.datum_type())?; - s.equals(&inputs[0].rank, 2)?; - s.equals(&outputs[0].rank, 2)?; - s.equals(&outputs[0].shape[1], &self.linear_params.shape()[2].to_dim())?; - s.equals(&inputs[0].shape[1], &self.linear_params.shape()[1].to_dim())?; - s.given(&inputs[0].shape, move |s, ishape| { - let oshape = self.as_conv().output_shape(&ishape, self.linear_params.shape())?; - s.equals(&outputs[0].shape[0], &oshape[0]) - })?; - Ok(()) - } - - fn wire( - &self, - prefix: &str, - model: &mut TypedModel, - inputs: &[OutletId], - ) -> TractResult> { - use tract_hir::ops::cnn::*; - use tract_hir::ops::nn::*; - use tract_hir::tract_core::ops::cnn::KernelFormat; - model.wire_node( - prefix, - ConvUnary { - pool_spec: PoolSpec::new( - DataFormat::HWC, - tvec!(self.kernel_len), - PaddingSpec::Valid, - Some(tvec!(self.dilation)), - None, - Some(self.bias_params.len()), - ), - kernel_fmt: KernelFormat::HWIO, - kernel: self.linear_params.clone(), - group: 1, - bias: Some(self.bias_params.clone().into_arc_tensor()), - q_params: None, - }, - inputs, - ) - } -} diff --git a/kaldi/src/ops/lstm_nonlin.rs b/kaldi/src/ops/lstm_nonlin.rs deleted file mode 100644 index 6ca9506bcc..0000000000 --- a/kaldi/src/ops/lstm_nonlin.rs +++ /dev/null @@ -1,124 +0,0 @@ -use crate::model::NodeLine; -use crate::model::ParsingContext; -use tract_hir::internal::*; - -pub fn lstm_nonlin(ctx: &ParsingContext, name: &str) -> TractResult> { - let node = &ctx.proto_model.config_lines.nodes.iter().find(|l| l.0 == name); - let line = if let Some((_, NodeLine::Component(line))) = node { - line - } else { - bail!("Could not find component {}", name); - }; - let component = &ctx.proto_model.components[&line.component]; - let params: &Tensor = component.attributes.get("Params").context("missing attribute Params")?; - Ok(expand(LstmNonlin { peepholes_params: params.to_owned() })) -} - -#[derive(Clone, Debug, new, Hash)] -pub struct LstmNonlin { - peepholes_params: Tensor, -} - - - -impl Expansion for LstmNonlin { - fn name(&self) -> std::borrow::Cow { - "LstmNonlin".into() - } - - - fn rules<'r, 'p: 'r, 's: 'r>( - &'s self, - s: &mut Solver<'r>, - inputs: &'p [TensorProxy], - outputs: &'p [TensorProxy], - ) -> InferenceResult { - check_input_arity(inputs, 1)?; - check_output_arity(outputs, 1)?; - s.equals(&inputs[0].datum_type, f32::datum_type())?; - s.equals(&outputs[0].datum_type, f32::datum_type())?; - s.equals(&inputs[0].rank, 2)?; - s.equals(&outputs[0].rank, 2)?; - s.equals(&outputs[0].shape[0], &inputs[0].shape[0])?; - s.equals(5 * outputs[0].shape[1].bex(), 2 * inputs[0].shape[1].bex())?; - Ok(()) - } - - fn wire( - &self, - prefix: &str, - target: &mut TypedModel, - inputs: &[OutletId], - ) -> TractResult> { - use math::add; - use math::mul; - use tract_hir::ops::{array, math, nn}; - - let params = self - .peepholes_params - .to_array_view::()? - .into_dimensionality::()?; - let w_ic: OutletId = target.add_const( - format!("{prefix}.w_ic"), - params.slice_axis(tract_ndarray::Axis(0), (0..1).into()).to_owned(), - )?; - let w_fc: OutletId = target.add_const( - format!("{prefix}.w_fc"), - params.slice_axis(tract_ndarray::Axis(0), (1..2).into()).to_owned(), - )?; - let w_oc: OutletId = target.add_const( - format!("{prefix}.w_oc"), - params.slice_axis(tract_ndarray::Axis(0), (2..3).into()).to_owned(), - )?; - - let cell_hidden_dim = params.shape()[1]; - - let mut five_parts = (0..5) - .map(|ix| { - Ok(target.wire_node( - format!("{prefix}.part-{ix}"), - array::Slice::new(1, cell_hidden_dim * ix, cell_hidden_dim * (ix + 1)), - inputs, - )?[0]) - }) - .collect::>>()?; - let (i_part, f_part, c_part, o_part, c_prev) = args_5!(five_parts); - - macro_rules! wire { - ($name: ident = $op: expr, $($param: expr),*) => { - let $name = target.wire_node( - format!("{}.{}", prefix, stringify!($name)), - $op, [$($param),*].as_ref())?[0]; - } - } - - // let i_t = sigmoid_f32(i_part + w_ic * c_prev); - wire!(w_ic_c_prev = mul(), w_ic, c_prev); - wire!(i_part_w_ic_c_prev = add(), i_part, w_ic_c_prev); - wire!(i_t = nn::sigmoid(), i_part_w_ic_c_prev); - - // let f_t = sigmoid_f32(f_part + w_fc * c_prev); - wire!(w_fc_c_prev = mul(), w_fc, c_prev); - wire!(f_part_w_fc_c_prev = add(), f_part, w_fc_c_prev); - wire!(f_t = nn::sigmoid(), f_part_w_fc_c_prev); - - // let c_t = f_t * c_prev + i_t * tanh_f32(c_part); - wire!(tanh_c_part = math::tanh(), c_part); - wire!(i_t_tanh_c_part = mul(), i_t, tanh_c_part); - wire!(f_t_c_prev = mul(), f_t, c_prev); - wire!(c_t = add(), f_t_c_prev, i_t_tanh_c_part); - - // let o_t = sigmoid_f32(o_part + w_oc * c_t); - wire!(w_oc_c_t = mul(), w_oc, c_t); - wire!(o_part_w_oc_c_t = add(), o_part, w_oc_c_t); - wire!(o_t = nn::sigmoid(), o_part_w_oc_c_t); - - // let m_t = o_t * tanh_f32(c_t); - wire!(tanh_c_t = math::tanh(), c_t); - wire!(m_t = mul(), o_t, tanh_c_t); - - wire!(output = array::TypedConcat::new(1), c_t, m_t); - - Ok(tvec!(output)) - } -} diff --git a/kaldi/src/ops/memory.rs b/kaldi/src/ops/memory.rs deleted file mode 100644 index 30246578d4..0000000000 --- a/kaldi/src/ops/memory.rs +++ /dev/null @@ -1,278 +0,0 @@ -use bit_set::BitSet; -use std::collections::BTreeMap; -use tract_hir::tract_core::ops::scan::ScanInfo; -use tract_itertools::Itertools; - -use tract_hir::internal::*; - -#[derive(Clone, Debug, new, Hash)] -pub struct Memory { - pub name: String, - pub offset: isize, -} - -impl Op for Memory { - fn name(&self) -> Cow { - "Memory".into() - } - - not_a_typed_op!(); -} - -impl EvalOp for Memory { - fn is_stateless(&self) -> bool { - false - } - - fn state( - &self, - _session: &mut SessionState, - _id: usize, - ) -> TractResult>> { - unimplemented!() - } -} - -impl InferenceOp for Memory { - fn infer_facts( - &mut self, - _inputs: TVec<&InferenceFact>, - outputs: TVec<&InferenceFact>, - observed: TVec<&InferenceFact>, - ) -> TractResult<(TVec, TVec, TVec)> { - let unified = outputs[0].unify(observed[0])?; - Ok((tvec!(), tvec!(unified.clone()), tvec!(unified))) - } - - fn observe_outlets( - &self, - model: &InferenceModel, - _node: &InferenceNode, - ) -> TractResult> { - Ok(vec![OutletId::new(model.node_by_name(&self.name)?.id, 0)]) - } - - fn incorporate( - &self, - model: &InferenceModel, - node: &InferenceNode, - ) -> TractResult> { - Ok(Some(incorporate_memory_ops_as_scans(model, node)?)) - } - - as_op!(); -} - -fn incorporate_memory_ops_as_scans( - model: &InferenceModel, - _: &InferenceNode, -) -> TractResult { - let memory_node_ids: Vec = - model.nodes().iter().filter(|n| n.op_is::()).map(|n| n.id).collect(); - - trace!("Identified memory nodes: {:?}", memory_node_ids); - - let mut loops: BTreeMap = memory_node_ids - .iter() - .map(|id| Ok((*id, time_loop_nodes_for_memory(model, *id)?))) - .collect::>()?; - - let mut patch = InferenceModelPatch::default(); - while loops.len() > 0 { - let (mem, time_loop) = loops.iter().next().unwrap(); - - trace!("Dealing with node {} / loop: {:?}", model.node(*mem), time_loop); - - let coupled_mem_ops: Vec = loops - .iter() - .filter_map(|other| if !other.1.is_disjoint(time_loop) { Some(*other.0) } else { None }) - .collect(); - let mut time_loop = BitSet::new(); - coupled_mem_ops.iter().for_each(|i| time_loop.union_with(&loops[i])); - coupled_mem_ops.iter().for_each(|i| { - loops.remove(i); - }); - trace!("Loops still in queue: {:?}. Processing: {:?}", loops, coupled_mem_ops); - - let scan_inputs: Vec = time_loop - .iter() - .flat_map(|node_id| model.node(node_id).inputs.iter()) - .filter(|outlet| !time_loop.contains(outlet.node)) - .cloned() - .collect(); - let scan_outputs: Vec = time_loop - .iter() - .flat_map(|node_id| { - model - .node(node_id) - .outputs - .iter() - .enumerate() - .map(move |(ix, outlet_fact)| (OutletId::new(node_id, ix), outlet_fact)) - }) - .filter(|(_, outlet_fact)| { - outlet_fact.successors.iter().any(|inlet| !time_loop.contains(inlet.node)) - }) - .map(|(id, _fact)| id) - .collect(); - let name = - format!("scan-{}", scan_inputs.iter().map(|li| &model.node(li.node).name).join("-")); - let mut inner_model = InferenceModel::default(); - let mut mapped_inputs = vec![]; - let mut mapped_outputs = vec![]; - let mut node_id_old_to_new: HashMap = HashMap::new(); - let mut outer_inputs = tvec!(); - for &mem in &coupled_mem_ops { - let mem_node = model.node(mem); - let op = mem_node.op_as::().unwrap(); - let channel = - mem_node.outputs[0].fact.shape.dim(1).unwrap().concretize().unwrap().to_usize()?; - let id = inner_model - .add_source(&*mem_node.name, f32::fact([(-op.offset) as usize, channel]).into())?; - node_id_old_to_new.insert(mem, id.node); - - let zeroes = patch.add_const( - format!("{name}.{}", mem_node.name), - Tensor::zero::(&[(-op.offset) as usize, channel])?, - )?; - mapped_inputs.push(tract_hir::ops::scan::InputMapping::State); - outer_inputs.push(zeroes); - mapped_outputs.push(tract_hir::ops::scan::OutputMapping { - state: true, - full_dim_hint: None, - scan: None, - last_value_slot: None, - }); - } - for scan_input in &scan_inputs { - let old_node = model.node(scan_input.node); - let channel = - old_node.outputs[0].fact.shape.dim(1).unwrap().concretize().unwrap().to_usize()?; - let new_id = inner_model.add_source( - format!("{}-scan", old_node.name), - InferenceFact::dt_shape(f32::datum_type(), shapefactoid!(_, channel)), - )?; - node_id_old_to_new.insert(scan_input.node, new_id.node); - } - - for old_node_id in time_loop.iter() { - if coupled_mem_ops.contains(&old_node_id) { - continue; - } - let node = model.node(old_node_id); - let new_id = inner_model.add_node( - &*node.name, - node.op.clone(), - (0..node.outputs.len()).map(|_| InferenceFact::default()).collect(), - )?; - node_id_old_to_new.insert(node.id, new_id); - } - for node in time_loop.iter() { - let node = model.node(node); - for (ix, input) in node.inputs.iter().enumerate() { - inner_model.add_edge( - OutletId::new(node_id_old_to_new[&input.node], input.slot), - InletId::new(node_id_old_to_new[&node.id], ix), - )?; - } - } - let mut inner_outputs: Vec = coupled_mem_ops - .iter() - .map(|node| { - let op = model.node(*node).op_as::().unwrap(); - let observed_id = model.node_by_name(&op.name)?.id; - Ok(OutletId::new(node_id_old_to_new[&observed_id], 0)) - }) - .collect::>()?; - - for output in &scan_outputs { - inner_outputs.push(OutletId::new(node_id_old_to_new[&output.node], output.slot)); - } - - inner_model.set_output_outlets(&inner_outputs)?; - inner_model.analyse(false).context("Analysing inner model")?; - - for (ix, scan_input) in scan_inputs.iter().enumerate() { - let old_node = model.node(scan_input.node); - let fact = inner_model.input_fact(coupled_mem_ops.len() + ix)?; - let chunk = fact.shape.dim(0).unwrap().concretize().unwrap().to_isize()?; - mapped_inputs - .push(tract_hir::ops::scan::InputMapping::Scan(ScanInfo { axis: 0, chunk })); - mapped_outputs.push(tract_hir::ops::scan::OutputMapping { - state: false, - scan: Some((ix, ScanInfo { axis: 0, chunk })), - last_value_slot: None, - full_dim_hint: old_node.outputs[0].fact.shape.dim(0).unwrap().concretize(), - }); - outer_inputs.push(patch.tap_model(model, *scan_input)?); - } - - let scan = tract_hir::ops::scan::InferenceScan::new( - inner_model, - mapped_inputs, - mapped_outputs, - false, - GenericFactoid::default(), - ); - let new_outputs = patch.wire_node(name, scan, &outer_inputs)?; - - for (old, new) in scan_outputs.iter().zip(new_outputs.iter()) { - patch.shunt_outside(model, *old, *new)?; - } - - for mem in coupled_mem_ops { - patch.obliterate(mem)? - } - } - Ok(patch) -} - -pub fn time_loop_nodes_for_memory( - model: &InferenceModel, - memory_node_id: usize, -) -> TractResult { - let memory_name = if let Some(mem) = &model.node(memory_node_id).op_as::() { - &*mem.name - } else { - bail!("Should only be called for a memory name") - }; - let observed_node_id = model.node_by_name(memory_name)?.id; - let mut time_loop = all_successors(model, memory_node_id)?; - let precursors = all_precursors(model, observed_node_id)?; - time_loop.intersect_with(&precursors); - Ok(time_loop) -} - -pub fn all_successors(model: &InferenceModel, id: usize) -> TractResult { - let mut queue = vec![id]; - let mut visited = BitSet::with_capacity(model.nodes().len()); - visited.insert(id); - while let Some(next) = queue.pop() { - let node = model.node(next); - for out in &node.outputs { - for suc in &out.successors { - if !visited.contains(suc.node) { - queue.push(suc.node); - visited.insert(suc.node); - } - } - } - } - Ok(visited) -} - -pub fn all_precursors(model: &InferenceModel, id: usize) -> TractResult { - let mut queue = vec![id]; - let mut visited = BitSet::with_capacity(model.nodes().len()); - visited.insert(id); - while let Some(next) = queue.pop() { - let node = model.node(next); - for prec in &node.inputs { - if !visited.contains(prec.node) { - queue.push(prec.node); - visited.insert(prec.node); - } - } - } - Ok(visited) -} diff --git a/kaldi/src/ops/renorm.rs b/kaldi/src/ops/renorm.rs deleted file mode 100644 index b59a55cf4f..0000000000 --- a/kaldi/src/ops/renorm.rs +++ /dev/null @@ -1,79 +0,0 @@ -use tract_hir::internal::*; - -use crate::model::ParsingContext; - -pub fn renorm(ctx: &ParsingContext, name: &str) -> TractResult> { - let component = &ctx.proto_model.components[name]; - let rms = *component - .attributes - .get("TargetRms") - .context("missing attributes TargetRms")? - .to_scalar::()?; - Ok(expand(Renorm::new(rms))) -} - -#[derive(Clone, Debug, new)] -struct Renorm { - target_rms: f32, -} - -impl Expansion for Renorm { - fn name(&self) -> std::borrow::Cow { - "Renorm".into() - } - - fn rules<'r, 'p: 'r, 's: 'r>( - &'s self, - s: &mut Solver<'r>, - inputs: &'p [TensorProxy], - outputs: &'p [TensorProxy], - ) -> InferenceResult { - check_input_arity(inputs, 1)?; - check_output_arity(outputs, 1)?; - s.equals(&inputs[0].datum_type, &outputs[0].datum_type)?; - s.equals(&inputs[0].shape, &outputs[0].shape)?; - Ok(()) - } - - fn wire( - &self, - prefix: &str, - model: &mut TypedModel, - inputs: &[OutletId], - ) -> TractResult> { - let input = model.outlet_fact(inputs[0])?.clone(); - let sqr = - model.wire_node(prefix.to_string() + ".sqr", tract_hir::ops::math::square(), inputs)?; - let sum = model.wire_node( - prefix.to_string() + ".sum", - tract_hir::tract_core::ops::nn::Reduce::new( - tvec![1], - tract_hir::tract_core::ops::nn::Reducer::Sum, - ), - &sqr, - )?; - let sqrt = - model.wire_node(prefix.to_string() + ".sqrt", tract_hir::ops::math::sqrt(), &sum)?; - let epsilon = tensor0(std::f32::EPSILON).broadcast_into_rank(2)?.into_arc_tensor(); - let epsilon = model.add_const(prefix.to_string() + ".epsilon", epsilon)?; - let epsilon = model.wire_node( - prefix.to_string() + ".max.epsilon", - tract_hir::ops::math::max(), - &[sqrt[0], epsilon], - )?; - let recip = model.wire_node( - prefix.to_string() + ".recip", - tract_hir::ops::math::recip(), - &epsilon, - )?; - let rms_sqrt_d = self.target_rms * (input.shape[1].to_isize()? as f32).sqrt(); - let rms_sqrt_d = tensor0(rms_sqrt_d).broadcast_into_rank(2)?.into_arc_tensor(); - let rms_sqrt_d = model.add_const(prefix.to_string() + "rms_sqrt_d", rms_sqrt_d)?; - let mul = model.wire_node( - prefix.to_string() + ".mul", - tract_hir::ops::math::mul(), - &[rms_sqrt_d, recip[0]], - )?; - model.wire_node(prefix, tract_hir::ops::math::mul(), &[inputs[0], mul[0]]) - } -} diff --git a/kaldi/src/parser.rs b/kaldi/src/parser.rs deleted file mode 100644 index d101d95178..0000000000 --- a/kaldi/src/parser.rs +++ /dev/null @@ -1,136 +0,0 @@ -use tract_hir::internal::*; - -use nom::IResult; -use nom::{ - branch::alt, - bytes::complete::*, - character::complete::*, - combinator::*, - number::complete::{le_i32, le_i64}, - sequence::*, -}; - -use std::collections::HashMap; - -use crate::model::{Component, KaldiProtoModel}; - -use tract_itertools::Itertools; - -mod bin; -mod components; -mod config_lines; -mod descriptor; -mod text; - -pub fn nnet3(slice: &[u8]) -> TractResult { - let (_, (config, components)) = parse_top_level(slice).map_err(|e| match e { - nom::Err::Error(err) => format_err!( - "Parsing kaldi enveloppe at: {:?}", - err.input.iter().take(120).map(|b| format!("{}", *b as char)).join("") - ), - e => format_err!("{:?}", e), - })?; - let config_lines = config_lines::parse_config(config)?; - Ok(KaldiProtoModel { config_lines, components, adjust_final_offset: 0 }) -} - -pub fn if_then_else<'a, T>( - condition: bool, - then: impl FnMut(&'a [u8]) -> IResult<&'a [u8], T>, - otherwise: impl FnMut(&'a [u8]) -> IResult<&'a [u8], T>, -) -> impl FnMut(&'a [u8]) -> IResult<&'a [u8], T> { - map(pair(cond(condition, then), cond(!condition, otherwise)), |(a, b)| a.or(b).unwrap()) -} - -fn parse_top_level(i: &[u8]) -> IResult<&[u8], (&str, HashMap)> { - let (i, bin) = map(opt(tag([0, 0x42])), |o| Option::is_some(&o))(i)?; - let (i, _) = open(i, "Nnet3")?; - let (i, config_lines) = map_res(take_until(""), std::str::from_utf8)(i)?; - let (i, num_components) = num_components(bin, i)?; - let mut components = HashMap::new(); - let mut i = i; - for _ in 0..num_components { - let (new_i, name) = component_name(i)?; - debug!("Parsing component {}", name); - let (new_i, comp) = component(bin)(new_i)?; - i = new_i; - components.insert(name.to_owned(), comp); - } - let (i, _) = close(i, "Nnet3")?; - Ok((i, (config_lines, components))) -} - -fn num_components(bin: bool, i: &[u8]) -> IResult<&[u8], usize> { - let (i, _) = open(i, "NumComponents")?; - let (i, n) = multispaced(integer(bin))(i)?; - Ok((i, n as usize)) -} - -fn component(bin: bool) -> impl Fn(&[u8]) -> IResult<&[u8], Component> { - move |i: &[u8]| { - let (i, klass) = open_any(i)?; - let (i, attributes) = if bin { bin::attributes(i, klass)? } else { text::attributes(i)? }; - let (i, _) = close(i, klass)?; - Ok((i, Component { klass: klass.to_string(), attributes })) - } -} - -fn component_name(i: &[u8]) -> IResult<&[u8], &str> { - multispaced(delimited(|i| open(i, "ComponentName"), name, multispace0))(i) -} - -pub fn open<'a>(i: &'a [u8], t: &str) -> IResult<&'a [u8], ()> { - map(multispaced(tuple((tag("<"), tag(t.as_bytes()), tag(">")))), |_| ())(i) -} - -pub fn close<'a>(i: &'a [u8], t: &str) -> IResult<&'a [u8], ()> { - map(multispaced(tuple((tag("")))), |_| ())(i) -} - -pub fn open_any(i: &[u8]) -> IResult<&[u8], &str> { - multispaced(delimited(tag("<"), name, tag(">")))(i) -} - -pub fn name(i: &[u8]) -> IResult<&[u8], &str> { - map_res( - recognize(pair( - alpha1, - nom::multi::many0(nom::branch::alt((alphanumeric1, tag("."), tag("_"), tag("-")))), - )), - std::str::from_utf8, - )(i) -} - -pub fn integer<'a>(bin: bool) -> impl FnMut(&'a [u8]) -> IResult<&'a [u8], i32> { - if_then_else( - bin, - alt((preceded(tag([4]), le_i32), preceded(tag([8]), map(le_i64, |i| i as i32)))), - map_res( - map_res( - recognize(pair(opt(tag("-")), take_while(nom::character::is_digit))), - std::str::from_utf8, - ), - |s| s.parse::(), - ), - ) -} - -pub fn spaced, F>(it: F) -> impl FnMut(I) -> nom::IResult -where - I: nom::InputTakeAtPosition, - ::Item: nom::AsChar + Clone, - F: FnMut(I) -> nom::IResult, -{ - delimited(space0, it, space0) -} - -pub fn multispaced, F>( - it: F, -) -> impl FnMut(I) -> nom::IResult -where - I: nom::InputTakeAtPosition, - ::Item: nom::AsChar + Clone, - F: FnMut(I) -> nom::IResult, -{ - delimited(multispace0, it, multispace0) -} diff --git a/kaldi/src/parser/bin.rs b/kaldi/src/parser/bin.rs deleted file mode 100644 index 779f64b5fa..0000000000 --- a/kaldi/src/parser/bin.rs +++ /dev/null @@ -1,16 +0,0 @@ -use tract_hir::internal::*; - -use nom::combinator::*; -use nom::IResult; - -use super::components::COMPONENTS; - -pub fn attributes<'a>(i: &'a [u8], klass: &str) -> IResult<&'a [u8], HashMap>> { - map(nom::multi::many0(|j| attribute(j, klass)), |v| v.into_iter().collect())(i) -} - -fn attribute<'a>(i: &'a [u8], klass: &str) -> IResult<&'a [u8], (String, Arc)> { - let (i, name) = super::open_any(i)?; - let (i, value) = COMPONENTS[klass][name].parse_bin(i)?; - Ok((i, (name.to_string(), value.into_arc_tensor()))) -} diff --git a/kaldi/src/parser/components.rs b/kaldi/src/parser/components.rs deleted file mode 100644 index 65c279c14b..0000000000 --- a/kaldi/src/parser/components.rs +++ /dev/null @@ -1,144 +0,0 @@ -use tract_hir::prelude::*; - -use maplit::hashmap; -use std::collections::HashMap; - -use super::multispaced; - -use nom::{ - branch::*, - bytes::complete::*, - combinator::*, - multi::many_m_n, - number::complete::{le_f32, le_f64}, - sequence::*, - IResult, -}; - -pub enum KaldiAttributeKind { - Bool, - Int, - Float, - FloatVector, - FloatMatrix, -} - -impl KaldiAttributeKind { - pub fn parse_bin<'a>(&self, i: &'a [u8]) -> IResult<&'a [u8], Tensor> { - match self { - Bool => alt(( - map(tag("F"), |_| Tensor::from(false)), - map(tag("T"), |_| Tensor::from(true)), - ))(i), - Int => map(super::integer(true), Tensor::from)(i), - Float => map(Self::parse_float_value, Tensor::from)(i), - FloatVector => preceded(multispaced(tag("FV")), Self::parse_float_vector)(i), - FloatMatrix => preceded(multispaced(tag("FM")), Self::parse_float_matrix)(i), - } - } - - fn parse_float_value(i: &[u8]) -> IResult<&[u8], f32> { - alt((preceded(tag([4]), le_f32), map(preceded(tag([8]), le_f64), |f| f as f32)))(i) - } - - fn parse_float_vector(i: &[u8]) -> IResult<&[u8], Tensor> { - let (i, len) = super::integer(true)(i)?; - // FIXME pending merge of https://github.com/Geal/nom/pull/995 - if len == 0 { - Ok((i, tensor1(&[0.0f32]))) - } else { - map(many_m_n(len as usize, len as usize, le_f32), |data| tensor1(&data))(i) - } - } - - fn parse_float_matrix(i: &[u8]) -> IResult<&[u8], Tensor> { - let (i, rows) = super::integer(true)(i)?; - let (i, cols) = super::integer(true)(i)?; - let len = (rows * cols) as usize; - // FIXME pending merge of https://github.com/Geal/nom/pull/995 - if len == 0 { - Ok((i, tensor2(&[[0.0f32; 0]; 0]))) - } else { - map( - map_res(many_m_n(len, len, le_f32), move |buf| { - tract_ndarray::Array2::from_shape_vec((rows as usize, cols as usize), buf) - }), - Tensor::from, - )(i) - } - } -} - -use KaldiAttributeKind::*; - -lazy_static::lazy_static! { - pub static ref COMPONENTS: HashMap<&'static str, HashMap<&'static str, KaldiAttributeKind>> = hashmap! { - "FixedAffineComponent" => hashmap! { - "LinearParams" => FloatMatrix, - "BiasParams" => FloatVector, - }, - "NaturalGradientAffineComponent" => hashmap! { - "LearningRateFactor" => Float, - "MaxChange" => Float, - "LearningRate" => Float, - "LinearParams" => FloatMatrix, - "BiasParams" => FloatVector, - "RankIn" => Int, - "RankOut" => Int, - "UpdatePeriod" => Int, - "NumSamplesHistory" => Float, - "Alpha" => Float, - "IsGradient" => Bool, - }, - "NormalizeComponent" => hashmap!{ - "InputDim" => Int, - "TargetRms" => Float, - "AddLogStddev" => Bool, - }, - "FakeQuantizationComponent" => hashmap!{ - "Activated" => Bool, - "Dim" => Int, - "MaxValue" => Float, - "MinValue" => Float, - }, - "LstmNonlinearityComponent" => hashmap!{ - "MaxChange" => Float, - "LearningRate" => Float, - "Params" => FloatMatrix, - "ValueAvg" => FloatMatrix, - "DerivAvg" => FloatMatrix, - "SelfRepairConfig" => FloatVector, - "SelfRepairProb" => FloatVector, - "Count" => Float, - }, - "BackpropTruncationComponent" => hashmap!{ - "Dim" => Int, - "Scale" => Float, - "ClippingThreshold" => Float, - "ZeroingThreshold" => Float, - "ZeroingInterval" => Int, - "RecurrenceInterval" => Int, - "NumElementsClipped" => Float, - "NumElementsZeroed" => Float, - "NumElementsProcessed" => Float, - "NumZeroingBoundaries" => Float, - }, - "LogSoftmaxComponent" => hashmap!{ - "Dim" => Int, - "ValueAvg" => FloatVector, - "DerivAvg" => FloatVector, - "Count" => Int, - "NumDimsSelfRepaired" => Int, - "NumDimsProcessed" => Int, - }, - "RectifiedLinearComponent" => hashmap!{ - "Dim" => Int, - "ValueAvg" => FloatVector, - "DerivAvg" => FloatVector, - "Count" => Float, - "NumDimsSelfRepaired" => Float, - "NumDimsProcessed" => Float, - "SelfRepairScale" => Float, - } - }; -} diff --git a/kaldi/src/parser/config_lines.rs b/kaldi/src/parser/config_lines.rs deleted file mode 100644 index a5031af3be..0000000000 --- a/kaldi/src/parser/config_lines.rs +++ /dev/null @@ -1,114 +0,0 @@ -use tract_hir::internal::*; - -use nom::IResult; -use nom::{bytes::complete::*, character::complete::*, combinator::*, sequence::*}; - -use crate::model::{ComponentNode, ConfigLines, DimRangeNode, NodeLine, OutputLine}; -use crate::parser::spaced; - -pub fn parse_config(s: &str) -> TractResult { - let mut input_node: Option<(String, usize)> = None; - let mut nodes = vec![]; - let mut outputs = vec![]; - for line in s.lines() { - if line.trim().is_empty() { - continue; - } - let line = line.split('#').next().unwrap(); - if line.trim().is_empty() { - continue; - } - let line_kind = line.split(' ').next().unwrap(); - match line_kind { - "input-node" => { - input_node = Some( - parse_input_node_line(line) - .map_err(|e| format_err!("Error {:?} while parsing {}", e, line))? - .1, - ) - } - "dim-range-node" => { - let (name, it) = parse_dim_range_node_line(line) - .map_err(|e| format_err!("Error {:?} while parsing {}", e, line))? - .1; - nodes.push((name, NodeLine::DimRange(it))); - } - "component-node" => { - let (name, it) = parse_component_node_line(line) - .map_err(|e| format_err!("Error {:?} while parsing {}", e, line))? - .1; - nodes.push((name, NodeLine::Component(it))); - } - "output-node" => outputs.push( - parse_output_node_line(line) - .map_err(|e| format_err!("Error {:?} while parsing {}", e, line))? - .1, - ), - _ => bail!("Unknown config line {}", line_kind), - } - } - let (input_name, input_dim) = input_node.unwrap(); - Ok(ConfigLines { input_dim, input_name, nodes, outputs }) -} - -fn parse_input_node_line(i: &str) -> IResult<&str, (String, usize)> { - let (i, _) = tag("input-node")(i)?; - nom::branch::permutation(( - spaced(map(preceded(tag("name="), identifier), |n: &str| n.to_string())), - spaced(preceded(tag("dim="), uinteger)), - ))(i) -} - -fn parse_component_node_line(i: &str) -> IResult<&str, (String, ComponentNode)> { - let (i, _) = tag("component-node")(i)?; - let (i, (name, component, input)) = nom::branch::permutation(( - spaced(map(preceded(tag("name="), identifier), |n: &str| n.to_string())), - spaced(map(preceded(tag("component="), identifier), |n: &str| n.to_string())), - spaced(preceded(tag("input="), super::descriptor::parse_general)), - ))(i)?; - Ok((i, (name, ComponentNode { component, input }))) -} - -fn parse_dim_range_node_line(i: &str) -> IResult<&str, (String, DimRangeNode)> { - let (i, _) = tag("dim-range-node")(i)?; - let (i, (name, input, dim, offset)) = nom::branch::permutation(( - spaced(map(preceded(tag("name="), identifier), |n: &str| n.to_string())), - spaced(preceded(tag("input-node="), super::descriptor::parse_general)), - spaced(preceded(tag("dim="), uinteger)), - spaced(preceded(tag("dim-offset="), uinteger)), - ))(i)?; - Ok((i, (name, DimRangeNode { input, dim, offset }))) -} - -fn parse_output_node_line(i: &str) -> IResult<&str, OutputLine> { - let (i, _) = tag("output-node")(i)?; - map( - tuple(( - spaced(map(preceded(tag("name="), identifier), |n: &str| n.to_string())), - spaced(opt(map(preceded(tag("objective="), identifier), |n: &str| n.to_string()))), - spaced(preceded(tag("input="), super::descriptor::parse_general)), - )), - |(output_alias, _objective, descriptor)| OutputLine { output_alias, descriptor }, - )(i) -} - -pub fn identifier(i: &str) -> IResult<&str, &str> { - recognize(pair( - alpha1, - nom::multi::many0(nom::branch::alt((alphanumeric1, tag("."), tag("_"), tag("-")))), - ))(i) -} - -pub fn uinteger(i: &str) -> IResult<&str, usize> { - map(digit1, |s: &str| s.parse().unwrap())(i) -} - -#[cfg(test)] -mod test { - use super::*; - - #[test] - fn identifiet_with_dot() { - assert_eq!(identifier("lstm.c").unwrap().1, "lstm.c") - } -} diff --git a/kaldi/src/parser/descriptor.rs b/kaldi/src/parser/descriptor.rs deleted file mode 100644 index 2156f74080..0000000000 --- a/kaldi/src/parser/descriptor.rs +++ /dev/null @@ -1,81 +0,0 @@ -use nom::IResult; -use nom::{ - bytes::complete::*, character::complete::*, combinator::*, multi::separated_list0, sequence::*, -}; - -use crate::model::GeneralDescriptor; -use crate::parser::spaced; - -pub fn parse_general(i: &str) -> IResult<&str, GeneralDescriptor> { - spaced(nom::branch::alt(( - map( - preceded( - tag("Append"), - cut(delimited( - spaced(tag("(")), - separated_list0(spaced(tag(",")), parse_general), - spaced(tag(")")), - )), - ), - GeneralDescriptor::Append, - ), - map( - preceded( - tag("Offset"), - cut(delimited( - spaced(tag("(")), - separated_pair(parse_general, spaced(tag(",")), integer), - spaced(tag(")")), - )), - ), - |(inner, offset)| GeneralDescriptor::Offset(Box::new(inner), offset as isize), - ), - map( - preceded( - tag("IfDefined"), - cut(delimited(spaced(tag("(")), parse_general, spaced(tag(")")))), - ), - |inner| GeneralDescriptor::IfDefined(Box::new(inner)), - ), - map(super::config_lines::identifier, |i| GeneralDescriptor::Name(i.to_string())), - )))(i) -} - -pub fn integer(i: &str) -> IResult<&str, i32> { - map_res(recognize(pair(opt(tag("-")), digit1)), |s: &str| s.parse::())(i) -} - -#[cfg(test)] -mod test { - use super::*; - use GeneralDescriptor::*; - - fn name(s: &str) -> GeneralDescriptor { - GeneralDescriptor::Name(s.to_string()) - } - - #[test] - fn test_offset() { - assert_eq!(parse_general("Offset(input, -1)").unwrap().1, Offset(name("input").into(), -1)) - } - - #[test] - fn test_conv() { - assert_eq!( - parse_general("Append(Offset(input, -1), input, Offset(input, 1))").unwrap().1, - Append(vec!( - Offset(name("input").into(), -1), - name("input"), - Offset(name("input").into(), 1) - )) - ) - } - - #[test] - fn test_lstm() { - assert_eq!( - parse_general("Append(input, IfDefined(Offset(lstm1.c, -1)))").unwrap().1, - Append(vec!(name("input"), IfDefined(Offset(name("lstm1.c").into(), -1).into()))) - ) - } -} diff --git a/kaldi/src/parser/text.rs b/kaldi/src/parser/text.rs deleted file mode 100644 index aea46d7029..0000000000 --- a/kaldi/src/parser/text.rs +++ /dev/null @@ -1,97 +0,0 @@ -use tract_hir::internal::*; - -use nom::IResult; -use nom::{ - bytes::complete::*, character::complete::*, combinator::*, multi::separated_list0, - number::complete::float, sequence::*, -}; - -use super::{integer, multispaced, open_any, spaced}; - -pub fn attributes(i: &[u8]) -> IResult<&[u8], HashMap>> { - let (i, attributes) = nom::multi::many0(map(pair(open_any, tensor), |(k, v)| { - (k.to_string(), v.into_arc_tensor()) - }))(i)?; - Ok((i, attributes.into_iter().collect())) -} - -pub fn tensor(i: &[u8]) -> IResult<&[u8], Tensor> { - nom::branch::alt((scalar, vector, matrix))(i) -} - -pub fn scalar(i: &[u8]) -> IResult<&[u8], Tensor> { - nom::branch::alt(( - map(float, Tensor::from), - map(integer(false), Tensor::from), - map(tag("F"), |_| Tensor::from(false)), - map(tag("T"), |_| Tensor::from(true)), - ))(i) -} - -pub fn vector(i: &[u8]) -> IResult<&[u8], Tensor> { - map(delimited(spaced(tag("[")), separated_list0(space1, float), spaced(tag("]"))), |t| { - tensor1(&t) - })(i) -} - -pub fn matrix(i: &[u8]) -> IResult<&[u8], Tensor> { - let (i, v) = delimited( - multispaced(tag("[")), - separated_list0(spaced(tag("\n")), separated_list0(space1, float)), - multispaced(tag("]")), - )(i)?; - let lines = v.len(); - let data: Vec<_> = v.into_iter().flat_map(|v| v.into_iter()).collect(); - let cols = data.len() / lines; - let t = tract_ndarray::Array1::from(data); - let t = t.into_shape((lines, cols)).unwrap(); - Ok((i, t.into_tensor())) -} - -#[cfg(test)] -#[allow(non_snake_case)] -mod tests { - use super::super::nnet3; - use super::*; - - #[test] - fn test_nnet3_1() { - let slice = r#" - -input-node name=input dim=3 -component-node name=fixed1 input=input component=fixed1 -output-node name=output input=fixed1 - - 1 - foo [ - 1.0 2.0 3.0 - 4.0 5.0 6.0 ] - [ 7.0 8.0 ] - -"#; - nnet3(slice.as_bytes()).unwrap(); - } - - #[test] - fn test_vector() { - let slice = r#"[ 7.0 8.0 ]"#; - assert_eq!(tensor(slice.as_bytes()).unwrap().1, tensor1(&[7.0f32, 8.0])); - } - - #[test] - fn test_matrix() { - let slice = r#"[ - 1.0 2.0 3.0 - 4.0 5.0 6.0 ]"#; - assert_eq!( - tensor(slice.as_bytes()).unwrap().1, - tensor2(&[[1.0f32, 2.0, 3.0], [4.0, 5.0, 6.0]]) - ); - } - - #[test] - fn fixed_affine_40x10_T40_S3() { - let slice = std::fs::read("test_cases/fixed_affine_40x10_T40_S3/model.raw.txt").unwrap(); - nnet3(&slice).unwrap(); - } -} diff --git a/kaldi/test_cases/.gitignore b/kaldi/test_cases/.gitignore deleted file mode 100644 index 213dc8a5ce..0000000000 --- a/kaldi/test_cases/.gitignore +++ /dev/null @@ -1 +0,0 @@ -librispeech_clean_tdnn_lstm_1e_256 diff --git a/kaldi/test_cases/delay_1_D10_T15_S1/input.ark b/kaldi/test_cases/delay_1_D10_T15_S1/input.ark deleted file mode 100644 index 4b7ac14f91..0000000000 --- a/kaldi/test_cases/delay_1_D10_T15_S1/input.ark +++ /dev/null @@ -1,16 +0,0 @@ -idx [ - 0.49671414 -0.1382643 0.64768857 1.5230298 -0.23415338 -0.23413695 1.5792128 0.7674347 -0.46947438 0.54256004 - -0.46341768 -0.46572974 0.24196227 -1.9132802 -1.7249179 -0.5622875 -1.0128311 0.31424734 -0.9080241 -1.4123037 - 1.4656488 -0.2257763 0.0675282 -1.4247482 -0.54438275 0.11092259 -1.1509936 0.37569803 -0.6006387 -0.29169375 - -0.6017066 1.8522782 -0.013497225 -1.0577109 0.82254493 -1.2208437 0.2088636 -1.9596701 -1.328186 0.19686124 - 0.73846656 0.17136829 -0.115648285 -0.30110368 -1.478522 -0.7198442 -0.46063876 1.0571222 0.3436183 -1.7630402 - 0.32408398 -0.38508227 -0.676922 0.6116763 1.0309995 0.93128014 -0.83921754 -0.3092124 0.33126342 0.9755451 - -0.47917423 -0.18565898 -1.1063349 -1.1962066 0.8125258 1.35624 -0.07201012 1.0035329 0.361636 -0.6451197 - 0.3613956 1.5380366 -0.03582604 1.5646436 -2.619745 0.8219025 0.08704707 -0.29900736 0.09176078 -1.9875689 - -0.21967189 0.35711256 1.4778941 -0.5182702 -0.8084936 -0.501757 0.9154021 0.32875112 -0.5297602 0.51326746 - 0.09707755 0.968645 -0.70205307 -0.32766214 -0.39210814 -1.4635149 0.2961203 0.26105526 0.005113457 -0.23458713 - -1.4153707 -0.42064533 -0.34271452 -0.80227727 -0.16128571 0.40405086 1.8861859 0.17457782 0.2575504 -0.07444592 - -1.9187713 -0.026513875 0.06023021 2.463242 -0.19236097 0.30154735 -0.03471177 -1.168678 1.1428229 0.75193304 - 0.79103196 -0.90938747 1.4027944 -1.401851 0.5868571 2.1904557 -0.99053633 -0.5662977 0.09965137 -0.50347567 - -1.5506635 0.06856298 -1.0623037 0.47359243 -0.91942424 1.5499344 -0.7832533 -0.3220615 0.8135172 -1.2308643 - 0.22745994 1.3071427 -1.6074833 0.18463387 0.2598828 0.78182286 -1.2369508 -1.3204566 0.52194154 0.29698467] \ No newline at end of file diff --git a/kaldi/test_cases/delay_1_D10_T15_S1/io.npz b/kaldi/test_cases/delay_1_D10_T15_S1/io.npz deleted file mode 100644 index 8c13c5255f..0000000000 Binary files a/kaldi/test_cases/delay_1_D10_T15_S1/io.npz and /dev/null differ diff --git a/kaldi/test_cases/delay_1_D10_T15_S1/model.raw b/kaldi/test_cases/delay_1_D10_T15_S1/model.raw deleted file mode 100644 index cb52028c1d..0000000000 Binary files a/kaldi/test_cases/delay_1_D10_T15_S1/model.raw and /dev/null differ diff --git a/kaldi/test_cases/delay_1_D10_T15_S1/model.raw.txt b/kaldi/test_cases/delay_1_D10_T15_S1/model.raw.txt deleted file mode 100644 index 8e1ad037a7..0000000000 --- a/kaldi/test_cases/delay_1_D10_T15_S1/model.raw.txt +++ /dev/null @@ -1,7 +0,0 @@ - - -input-node name=input dim=10 -output-node name=output input=Offset(input, 1) - - 0 - \ No newline at end of file diff --git a/kaldi/test_cases/delay_1_D10_T15_S1/output.ark b/kaldi/test_cases/delay_1_D10_T15_S1/output.ark deleted file mode 100644 index 9fdf8c4be7..0000000000 --- a/kaldi/test_cases/delay_1_D10_T15_S1/output.ark +++ /dev/null @@ -1,16 +0,0 @@ -idx [ - -0.4634177 -0.4657297 0.2419623 -1.91328 -1.724918 -0.5622875 -1.012831 0.3142473 -0.9080241 -1.412304 - 1.465649 -0.2257763 0.0675282 -1.424748 -0.5443828 0.1109226 -1.150994 0.375698 -0.6006387 -0.2916937 - -0.6017066 1.852278 -0.01349723 -1.057711 0.8225449 -1.220844 0.2088636 -1.95967 -1.328186 0.1968612 - 0.7384666 0.1713683 -0.1156483 -0.3011037 -1.478522 -0.7198442 -0.4606388 1.057122 0.3436183 -1.76304 - 0.324084 -0.3850823 -0.676922 0.6116763 1.031 0.9312801 -0.8392175 -0.3092124 0.3312634 0.9755451 - -0.4791742 -0.185659 -1.106335 -1.196207 0.8125258 1.35624 -0.07201012 1.003533 0.361636 -0.6451197 - 0.3613956 1.538037 -0.03582604 1.564644 -2.619745 0.8219025 0.08704707 -0.2990074 0.09176078 -1.987569 - -0.2196719 0.3571126 1.477894 -0.5182702 -0.8084936 -0.501757 0.9154021 0.3287511 -0.5297602 0.5132675 - 0.09707755 0.968645 -0.7020531 -0.3276621 -0.3921081 -1.463515 0.2961203 0.2610553 0.005113457 -0.2345871 - -1.415371 -0.4206453 -0.3427145 -0.8022773 -0.1612857 0.4040509 1.886186 0.1745778 0.2575504 -0.07444592 - -1.918771 -0.02651387 0.06023021 2.463242 -0.192361 0.3015473 -0.03471177 -1.168678 1.142823 0.751933 - 0.791032 -0.9093875 1.402794 -1.401851 0.5868571 2.190456 -0.9905363 -0.5662977 0.09965137 -0.5034757 - -1.550663 0.06856298 -1.062304 0.4735924 -0.9194242 1.549934 -0.7832533 -0.3220615 0.8135172 -1.230864 - 0.2274599 1.307143 -1.607483 0.1846339 0.2598828 0.7818229 -1.236951 -1.320457 0.5219415 0.2969847 - 0.2274599 1.307143 -1.607483 0.1846339 0.2598828 0.7818229 -1.236951 -1.320457 0.5219415 0.2969847 ] diff --git a/kaldi/test_cases/delay_1_D10_T15_S1/subsampling b/kaldi/test_cases/delay_1_D10_T15_S1/subsampling deleted file mode 100644 index 56a6051ca2..0000000000 --- a/kaldi/test_cases/delay_1_D10_T15_S1/subsampling +++ /dev/null @@ -1 +0,0 @@ -1 \ No newline at end of file diff --git a/kaldi/test_cases/delay_1_D10_T15_S1/test.sh b/kaldi/test_cases/delay_1_D10_T15_S1/test.sh deleted file mode 100644 index a138fe2994..0000000000 --- a/kaldi/test_cases/delay_1_D10_T15_S1/test.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -nnet3-compute --frames-per-chunk=16 --frame-subsampling-factor=1 model.raw.txt ark:input.ark ark,t:predicted.ark 2>.error -fail=0 -diff output.ark predicted.ark || fail=1; -rm predicted.ark -echo "fail=$fail" && [ $fail -gt 0 ] && exit 1; diff --git a/kaldi/test_cases/delay_1_D10_T15_S1/vars.sh b/kaldi/test_cases/delay_1_D10_T15_S1/vars.sh deleted file mode 100644 index 65a4a4afdf..0000000000 --- a/kaldi/test_cases/delay_1_D10_T15_S1/vars.sh +++ /dev/null @@ -1,4 +0,0 @@ -left_context=0 -right_context=1 -subsampling=1 -adjust_final_offset=0 diff --git a/kaldi/test_cases/delay_3_D7_T17_S1/input.ark b/kaldi/test_cases/delay_3_D7_T17_S1/input.ark deleted file mode 100644 index 1f0ef51fb2..0000000000 --- a/kaldi/test_cases/delay_3_D7_T17_S1/input.ark +++ /dev/null @@ -1,18 +0,0 @@ -idx [ - 0.49671414 -0.1382643 0.64768857 1.5230298 -0.23415338 -0.23413695 1.5792128 - 0.7674347 -0.46947438 0.54256004 -0.46341768 -0.46572974 0.24196227 -1.9132802 - -1.7249179 -0.5622875 -1.0128311 0.31424734 -0.9080241 -1.4123037 1.4656488 - -0.2257763 0.0675282 -1.4247482 -0.54438275 0.11092259 -1.1509936 0.37569803 - -0.6006387 -0.29169375 -0.6017066 1.8522782 -0.013497225 -1.0577109 0.82254493 - -1.2208437 0.2088636 -1.9596701 -1.328186 0.19686124 0.73846656 0.17136829 - -0.115648285 -0.30110368 -1.478522 -0.7198442 -0.46063876 1.0571222 0.3436183 - -1.7630402 0.32408398 -0.38508227 -0.676922 0.6116763 1.0309995 0.93128014 - -0.83921754 -0.3092124 0.33126342 0.9755451 -0.47917423 -0.18565898 -1.1063349 - -1.1962066 0.8125258 1.35624 -0.07201012 1.0035329 0.361636 -0.6451197 - 0.3613956 1.5380366 -0.03582604 1.5646436 -2.619745 0.8219025 0.08704707 - -0.29900736 0.09176078 -1.9875689 -0.21967189 0.35711256 1.4778941 -0.5182702 - -0.8084936 -0.501757 0.9154021 0.32875112 -0.5297602 0.51326746 0.09707755 - 0.968645 -0.70205307 -0.32766214 -0.39210814 -1.4635149 0.2961203 0.26105526 - 0.005113457 -0.23458713 -1.4153707 -0.42064533 -0.34271452 -0.80227727 -0.16128571 - 0.40405086 1.8861859 0.17457782 0.2575504 -0.07444592 -1.9187713 -0.026513875 - 0.06023021 2.463242 -0.19236097 0.30154735 -0.03471177 -1.168678 1.1428229] \ No newline at end of file diff --git a/kaldi/test_cases/delay_3_D7_T17_S1/io.npz b/kaldi/test_cases/delay_3_D7_T17_S1/io.npz deleted file mode 100644 index e251fc3391..0000000000 Binary files a/kaldi/test_cases/delay_3_D7_T17_S1/io.npz and /dev/null differ diff --git a/kaldi/test_cases/delay_3_D7_T17_S1/model.raw b/kaldi/test_cases/delay_3_D7_T17_S1/model.raw deleted file mode 100644 index 859d7b66a1..0000000000 Binary files a/kaldi/test_cases/delay_3_D7_T17_S1/model.raw and /dev/null differ diff --git a/kaldi/test_cases/delay_3_D7_T17_S1/model.raw.txt b/kaldi/test_cases/delay_3_D7_T17_S1/model.raw.txt deleted file mode 100644 index ecf9a98d7c..0000000000 --- a/kaldi/test_cases/delay_3_D7_T17_S1/model.raw.txt +++ /dev/null @@ -1,7 +0,0 @@ - - -input-node name=input dim=7 -output-node name=output input=Offset(input, 3) - - 0 - \ No newline at end of file diff --git a/kaldi/test_cases/delay_3_D7_T17_S1/output.ark b/kaldi/test_cases/delay_3_D7_T17_S1/output.ark deleted file mode 100644 index d1754700e7..0000000000 --- a/kaldi/test_cases/delay_3_D7_T17_S1/output.ark +++ /dev/null @@ -1,18 +0,0 @@ -idx [ - -0.2257763 0.0675282 -1.424748 -0.5443828 0.1109226 -1.150994 0.375698 - -0.6006387 -0.2916937 -0.6017066 1.852278 -0.01349723 -1.057711 0.8225449 - -1.220844 0.2088636 -1.95967 -1.328186 0.1968612 0.7384666 0.1713683 - -0.1156483 -0.3011037 -1.478522 -0.7198442 -0.4606388 1.057122 0.3436183 - -1.76304 0.324084 -0.3850823 -0.676922 0.6116763 1.031 0.9312801 - -0.8392175 -0.3092124 0.3312634 0.9755451 -0.4791742 -0.185659 -1.106335 - -1.196207 0.8125258 1.35624 -0.07201012 1.003533 0.361636 -0.6451197 - 0.3613956 1.538037 -0.03582604 1.564644 -2.619745 0.8219025 0.08704707 - -0.2990074 0.09176078 -1.987569 -0.2196719 0.3571126 1.477894 -0.5182702 - -0.8084936 -0.501757 0.9154021 0.3287511 -0.5297602 0.5132675 0.09707755 - 0.968645 -0.7020531 -0.3276621 -0.3921081 -1.463515 0.2961203 0.2610553 - 0.005113457 -0.2345871 -1.415371 -0.4206453 -0.3427145 -0.8022773 -0.1612857 - 0.4040509 1.886186 0.1745778 0.2575504 -0.07444592 -1.918771 -0.02651387 - 0.06023021 2.463242 -0.192361 0.3015473 -0.03471177 -1.168678 1.142823 - 0.06023021 2.463242 -0.192361 0.3015473 -0.03471177 -1.168678 1.142823 - 0.06023021 2.463242 -0.192361 0.3015473 -0.03471177 -1.168678 1.142823 - 0.06023021 2.463242 -0.192361 0.3015473 -0.03471177 -1.168678 1.142823 ] diff --git a/kaldi/test_cases/delay_3_D7_T17_S1/subsampling b/kaldi/test_cases/delay_3_D7_T17_S1/subsampling deleted file mode 100644 index 56a6051ca2..0000000000 --- a/kaldi/test_cases/delay_3_D7_T17_S1/subsampling +++ /dev/null @@ -1 +0,0 @@ -1 \ No newline at end of file diff --git a/kaldi/test_cases/delay_3_D7_T17_S1/test.sh b/kaldi/test_cases/delay_3_D7_T17_S1/test.sh deleted file mode 100644 index 654347d36a..0000000000 --- a/kaldi/test_cases/delay_3_D7_T17_S1/test.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -nnet3-compute --frames-per-chunk=18 --frame-subsampling-factor=1 model.raw.txt ark:input.ark ark,t:predicted.ark 2>.error -fail=0 -diff output.ark predicted.ark || fail=1; -rm predicted.ark -echo "fail=$fail" && [ $fail -gt 0 ] && exit 1; diff --git a/kaldi/test_cases/delay_3_D7_T17_S1/vars.sh b/kaldi/test_cases/delay_3_D7_T17_S1/vars.sh deleted file mode 100644 index b1f72a4d72..0000000000 --- a/kaldi/test_cases/delay_3_D7_T17_S1/vars.sh +++ /dev/null @@ -1,4 +0,0 @@ -left_context=0 -right_context=3 -subsampling=1 -adjust_final_offset=0 diff --git a/kaldi/test_cases/delay_5_D15_T24_S1/input.ark b/kaldi/test_cases/delay_5_D15_T24_S1/input.ark deleted file mode 100644 index 79380cf1f5..0000000000 --- a/kaldi/test_cases/delay_5_D15_T24_S1/input.ark +++ /dev/null @@ -1,25 +0,0 @@ -idx [ - 0.49671414 -0.1382643 0.64768857 1.5230298 -0.23415338 -0.23413695 1.5792128 0.7674347 -0.46947438 0.54256004 -0.46341768 -0.46572974 0.24196227 -1.9132802 -1.7249179 - -0.5622875 -1.0128311 0.31424734 -0.9080241 -1.4123037 1.4656488 -0.2257763 0.0675282 -1.4247482 -0.54438275 0.11092259 -1.1509936 0.37569803 -0.6006387 -0.29169375 - -0.6017066 1.8522782 -0.013497225 -1.0577109 0.82254493 -1.2208437 0.2088636 -1.9596701 -1.328186 0.19686124 0.73846656 0.17136829 -0.115648285 -0.30110368 -1.478522 - -0.7198442 -0.46063876 1.0571222 0.3436183 -1.7630402 0.32408398 -0.38508227 -0.676922 0.6116763 1.0309995 0.93128014 -0.83921754 -0.3092124 0.33126342 0.9755451 - -0.47917423 -0.18565898 -1.1063349 -1.1962066 0.8125258 1.35624 -0.07201012 1.0035329 0.361636 -0.6451197 0.3613956 1.5380366 -0.03582604 1.5646436 -2.619745 - 0.8219025 0.08704707 -0.29900736 0.09176078 -1.9875689 -0.21967189 0.35711256 1.4778941 -0.5182702 -0.8084936 -0.501757 0.9154021 0.32875112 -0.5297602 0.51326746 - 0.09707755 0.968645 -0.70205307 -0.32766214 -0.39210814 -1.4635149 0.2961203 0.26105526 0.005113457 -0.23458713 -1.4153707 -0.42064533 -0.34271452 -0.80227727 -0.16128571 - 0.40405086 1.8861859 0.17457782 0.2575504 -0.07444592 -1.9187713 -0.026513875 0.06023021 2.463242 -0.19236097 0.30154735 -0.03471177 -1.168678 1.1428229 0.75193304 - 0.79103196 -0.90938747 1.4027944 -1.401851 0.5868571 2.1904557 -0.99053633 -0.5662977 0.09965137 -0.50347567 -1.5506635 0.06856298 -1.0623037 0.47359243 -0.91942424 - 1.5499344 -0.7832533 -0.3220615 0.8135172 -1.2308643 0.22745994 1.3071427 -1.6074833 0.18463387 0.2598828 0.78182286 -1.2369508 -1.3204566 0.52194154 0.29698467 - 0.25049284 0.3464482 -0.68002474 0.2322537 0.29307246 -0.7143514 1.8657745 0.47383294 -1.1913035 0.6565536 -0.9746817 0.7870846 1.1585956 -0.82068235 0.9633761 - 0.41278094 0.82206017 1.896793 -0.24538812 -0.75373614 -0.88951445 -0.81581026 -0.07710171 0.34115198 0.2766908 0.82718325 0.013001892 1.4535341 -0.26465684 2.720169 - 0.62566733 -0.8571575 -1.0708925 0.48247242 -0.22346279 0.7140005 0.47323763 -0.07282891 -0.8467937 -1.5148473 -0.44651496 0.8563988 0.21409374 -1.2457387 0.17318092 - 0.3853174 -0.8838574 0.1537251 0.05820872 -1.1429703 0.35778737 0.5607845 1.0830512 1.053802 -1.3776693 -0.937825 0.5150353 0.51378596 0.51504767 3.8527315 - 0.5708905 1.1355656 0.9540018 0.65139127 -0.31526923 0.75896925 -0.77282524 -0.23681861 -0.48536354 0.08187414 2.3146586 -1.8672652 0.68626016 -1.6127158 -0.47193187 - 1.0889506 0.06428002 -1.0777447 -0.7153037 0.67959774 -0.73036665 0.21645859 0.04557184 -0.65160036 2.143944 0.633919 -2.0251427 0.18645431 -0.66178644 0.8524333 - -0.79252076 -0.11473644 0.5049873 0.8657552 -1.2002964 -0.33450124 -0.4749453 -0.65332925 1.7654543 0.4049817 -1.2608839 0.91786194 2.1221561 1.0324652 -1.51937 - -0.48423406 1.2669111 -0.70766944 0.44381943 0.77463406 -0.9269305 -0.059525356 -3.2412674 -1.0243876 -0.25256816 -1.2477832 1.6324114 -1.4301413 -0.4400445 0.13074058 - 1.4412733 -1.4358622 1.1631638 0.010233061 -0.9815087 0.4621035 0.1990597 -0.60021687 0.06980208 -0.3853136 0.113517344 0.66213065 1.5860168 -1.2378155 2.1330333 - -1.9520878 -0.15178509 0.5883172 0.28099188 -0.6226995 -0.20812225 -0.49300092 -0.58936477 0.8496021 0.3570155 -0.6929096 0.89959985 0.30729952 0.8128621 0.62962884 - -0.828995 -0.560181 0.7472936 0.6103703 -0.020901594 0.117327385 1.2776649 -0.5915714 0.5470974 -0.20219265 -0.2176812 1.0987768 0.8254163 0.81350964 1.3054788 - 0.021003842 0.68195295 -0.31026676 0.32416636 -0.13014306 0.096995965 0.595157 -0.8182207 2.0923872 -1.0060173 -1.2141886 1.1581109 0.7916627 0.6241198 0.6283455 - -0.012246773 -0.89725435 0.07580456 -0.6771617 0.9751197 -0.14705738 -0.8254972 -0.32138583 0.41293144 -0.5637246 -0.8222204 0.24368721 0.24496657 -0.50694317 -0.4710383 - 0.23204994 -1.4480844 -1.4074638 -0.7184442 -0.21344715 0.31090757 1.4753562 0.85765964 -0.15993853 -0.019016208 -1.0025294 -0.018513136 -0.28865865 0.32271856 -0.82723093] \ No newline at end of file diff --git a/kaldi/test_cases/delay_5_D15_T24_S1/io.npz b/kaldi/test_cases/delay_5_D15_T24_S1/io.npz deleted file mode 100644 index 28cb2a58bd..0000000000 Binary files a/kaldi/test_cases/delay_5_D15_T24_S1/io.npz and /dev/null differ diff --git a/kaldi/test_cases/delay_5_D15_T24_S1/model.raw b/kaldi/test_cases/delay_5_D15_T24_S1/model.raw deleted file mode 100644 index d0001ae2bc..0000000000 Binary files a/kaldi/test_cases/delay_5_D15_T24_S1/model.raw and /dev/null differ diff --git a/kaldi/test_cases/delay_5_D15_T24_S1/model.raw.txt b/kaldi/test_cases/delay_5_D15_T24_S1/model.raw.txt deleted file mode 100644 index a48e19f2ed..0000000000 --- a/kaldi/test_cases/delay_5_D15_T24_S1/model.raw.txt +++ /dev/null @@ -1,7 +0,0 @@ - - -input-node name=input dim=15 -output-node name=output input=Offset(input, 5) - - 0 - \ No newline at end of file diff --git a/kaldi/test_cases/delay_5_D15_T24_S1/output.ark b/kaldi/test_cases/delay_5_D15_T24_S1/output.ark deleted file mode 100644 index 07069ee5f3..0000000000 --- a/kaldi/test_cases/delay_5_D15_T24_S1/output.ark +++ /dev/null @@ -1,25 +0,0 @@ -idx [ - 0.8219025 0.08704707 -0.2990074 0.09176078 -1.987569 -0.2196719 0.3571126 1.477894 -0.5182702 -0.8084936 -0.501757 0.9154021 0.3287511 -0.5297602 0.5132675 - 0.09707755 0.968645 -0.7020531 -0.3276621 -0.3921081 -1.463515 0.2961203 0.2610553 0.005113457 -0.2345871 -1.415371 -0.4206453 -0.3427145 -0.8022773 -0.1612857 - 0.4040509 1.886186 0.1745778 0.2575504 -0.07444592 -1.918771 -0.02651387 0.06023021 2.463242 -0.192361 0.3015473 -0.03471177 -1.168678 1.142823 0.751933 - 0.791032 -0.9093875 1.402794 -1.401851 0.5868571 2.190456 -0.9905363 -0.5662977 0.09965137 -0.5034757 -1.550663 0.06856298 -1.062304 0.4735924 -0.9194242 - 1.549934 -0.7832533 -0.3220615 0.8135172 -1.230864 0.2274599 1.307143 -1.607483 0.1846339 0.2598828 0.7818229 -1.236951 -1.320457 0.5219415 0.2969847 - 0.2504928 0.3464482 -0.6800247 0.2322537 0.2930725 -0.7143514 1.865775 0.4738329 -1.191303 0.6565536 -0.9746817 0.7870846 1.158596 -0.8206823 0.9633761 - 0.4127809 0.8220602 1.896793 -0.2453881 -0.7537361 -0.8895144 -0.8158103 -0.07710171 0.341152 0.2766908 0.8271832 0.01300189 1.453534 -0.2646568 2.720169 - 0.6256673 -0.8571575 -1.070892 0.4824724 -0.2234628 0.7140005 0.4732376 -0.07282891 -0.8467937 -1.514847 -0.446515 0.8563988 0.2140937 -1.245739 0.1731809 - 0.3853174 -0.8838574 0.1537251 0.05820872 -1.14297 0.3577874 0.5607845 1.083051 1.053802 -1.377669 -0.937825 0.5150353 0.513786 0.5150477 3.852731 - 0.5708905 1.135566 0.9540018 0.6513913 -0.3152692 0.7589692 -0.7728252 -0.2368186 -0.4853635 0.08187414 2.314659 -1.867265 0.6862602 -1.612716 -0.4719319 - 1.088951 0.06428002 -1.077745 -0.7153037 0.6795977 -0.7303666 0.2164586 0.04557184 -0.6516004 2.143944 0.633919 -2.025143 0.1864543 -0.6617864 0.8524333 - -0.7925208 -0.1147364 0.5049873 0.8657552 -1.200296 -0.3345012 -0.4749453 -0.6533293 1.765454 0.4049817 -1.260884 0.9178619 2.122156 1.032465 -1.51937 - -0.4842341 1.266911 -0.7076694 0.4438194 0.7746341 -0.9269305 -0.05952536 -3.241267 -1.024388 -0.2525682 -1.247783 1.632411 -1.430141 -0.4400445 0.1307406 - 1.441273 -1.435862 1.163164 0.01023306 -0.9815087 0.4621035 0.1990597 -0.6002169 0.06980208 -0.3853136 0.1135173 0.6621307 1.586017 -1.237815 2.133033 - -1.952088 -0.1517851 0.5883172 0.2809919 -0.6226995 -0.2081223 -0.4930009 -0.5893648 0.8496021 0.3570155 -0.6929096 0.8995999 0.3072995 0.8128621 0.6296288 - -0.828995 -0.560181 0.7472936 0.6103703 -0.02090159 0.1173274 1.277665 -0.5915714 0.5470974 -0.2021926 -0.2176812 1.098777 0.8254163 0.8135096 1.305479 - 0.02100384 0.681953 -0.3102668 0.3241664 -0.1301431 0.09699596 0.595157 -0.8182207 2.092387 -1.006017 -1.214189 1.158111 0.7916627 0.6241198 0.6283455 - -0.01224677 -0.8972543 0.07580456 -0.6771617 0.9751197 -0.1470574 -0.8254972 -0.3213858 0.4129314 -0.5637246 -0.8222204 0.2436872 0.2449666 -0.5069432 -0.4710383 - 0.2320499 -1.448084 -1.407464 -0.7184442 -0.2134472 0.3109076 1.475356 0.8576596 -0.1599385 -0.01901621 -1.002529 -0.01851314 -0.2886586 0.3227186 -0.8272309 - 0.2320499 -1.448084 -1.407464 -0.7184442 -0.2134472 0.3109076 1.475356 0.8576596 -0.1599385 -0.01901621 -1.002529 -0.01851314 -0.2886586 0.3227186 -0.8272309 - 0.2320499 -1.448084 -1.407464 -0.7184442 -0.2134472 0.3109076 1.475356 0.8576596 -0.1599385 -0.01901621 -1.002529 -0.01851314 -0.2886586 0.3227186 -0.8272309 - 0.2320499 -1.448084 -1.407464 -0.7184442 -0.2134472 0.3109076 1.475356 0.8576596 -0.1599385 -0.01901621 -1.002529 -0.01851314 -0.2886586 0.3227186 -0.8272309 - 0.2320499 -1.448084 -1.407464 -0.7184442 -0.2134472 0.3109076 1.475356 0.8576596 -0.1599385 -0.01901621 -1.002529 -0.01851314 -0.2886586 0.3227186 -0.8272309 - 0.2320499 -1.448084 -1.407464 -0.7184442 -0.2134472 0.3109076 1.475356 0.8576596 -0.1599385 -0.01901621 -1.002529 -0.01851314 -0.2886586 0.3227186 -0.8272309 ] diff --git a/kaldi/test_cases/delay_5_D15_T24_S1/subsampling b/kaldi/test_cases/delay_5_D15_T24_S1/subsampling deleted file mode 100644 index 56a6051ca2..0000000000 --- a/kaldi/test_cases/delay_5_D15_T24_S1/subsampling +++ /dev/null @@ -1 +0,0 @@ -1 \ No newline at end of file diff --git a/kaldi/test_cases/delay_5_D15_T24_S1/test.sh b/kaldi/test_cases/delay_5_D15_T24_S1/test.sh deleted file mode 100644 index 2a4860a91c..0000000000 --- a/kaldi/test_cases/delay_5_D15_T24_S1/test.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -nnet3-compute --frames-per-chunk=25 --frame-subsampling-factor=1 model.raw.txt ark:input.ark ark,t:predicted.ark 2>.error -fail=0 -diff output.ark predicted.ark || fail=1; -rm predicted.ark -echo "fail=$fail" && [ $fail -gt 0 ] && exit 1; diff --git a/kaldi/test_cases/delay_5_D15_T24_S1/vars.sh b/kaldi/test_cases/delay_5_D15_T24_S1/vars.sh deleted file mode 100644 index 42d744afe4..0000000000 --- a/kaldi/test_cases/delay_5_D15_T24_S1/vars.sh +++ /dev/null @@ -1,4 +0,0 @@ -left_context=0 -right_context=5 -subsampling=1 -adjust_final_offset=0 diff --git a/kaldi/test_cases/delay_5_D20_T259_S3/final.mdl b/kaldi/test_cases/delay_5_D20_T259_S3/final.mdl deleted file mode 100644 index ebbf108ed0..0000000000 Binary files a/kaldi/test_cases/delay_5_D20_T259_S3/final.mdl and /dev/null differ diff --git a/kaldi/test_cases/delay_5_D20_T259_S3/input.ark b/kaldi/test_cases/delay_5_D20_T259_S3/input.ark deleted file mode 100644 index 8394ed6b3d..0000000000 --- a/kaldi/test_cases/delay_5_D20_T259_S3/input.ark +++ /dev/null @@ -1,260 +0,0 @@ -idx [ - 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0 10.0 11.0 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0 20.0 - 11.0 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0 20.0 21.0 22.0 23.0 24.0 25.0 26.0 27.0 28.0 29.0 30.0 - 21.0 22.0 23.0 24.0 25.0 26.0 27.0 28.0 29.0 30.0 31.0 32.0 33.0 34.0 35.0 36.0 37.0 38.0 39.0 40.0 - 31.0 32.0 33.0 34.0 35.0 36.0 37.0 38.0 39.0 40.0 41.0 42.0 43.0 44.0 45.0 46.0 47.0 48.0 49.0 50.0 - 41.0 42.0 43.0 44.0 45.0 46.0 47.0 48.0 49.0 50.0 51.0 52.0 53.0 54.0 55.0 56.0 57.0 58.0 59.0 60.0 - 51.0 52.0 53.0 54.0 55.0 56.0 57.0 58.0 59.0 60.0 61.0 62.0 63.0 64.0 65.0 66.0 67.0 68.0 69.0 70.0 - 61.0 62.0 63.0 64.0 65.0 66.0 67.0 68.0 69.0 70.0 71.0 72.0 73.0 74.0 75.0 76.0 77.0 78.0 79.0 80.0 - 71.0 72.0 73.0 74.0 75.0 76.0 77.0 78.0 79.0 80.0 81.0 82.0 83.0 84.0 85.0 86.0 87.0 88.0 89.0 90.0 - 81.0 82.0 83.0 84.0 85.0 86.0 87.0 88.0 89.0 90.0 91.0 92.0 93.0 94.0 95.0 96.0 97.0 98.0 99.0 100.0 - 91.0 92.0 93.0 94.0 95.0 96.0 97.0 98.0 99.0 100.0 101.0 102.0 103.0 104.0 105.0 106.0 107.0 108.0 109.0 110.0 - 101.0 102.0 103.0 104.0 105.0 106.0 107.0 108.0 109.0 110.0 111.0 112.0 113.0 114.0 115.0 116.0 117.0 118.0 119.0 120.0 - 111.0 112.0 113.0 114.0 115.0 116.0 117.0 118.0 119.0 120.0 121.0 122.0 123.0 124.0 125.0 126.0 127.0 128.0 129.0 130.0 - 121.0 122.0 123.0 124.0 125.0 126.0 127.0 128.0 129.0 130.0 131.0 132.0 133.0 134.0 135.0 136.0 137.0 138.0 139.0 140.0 - 131.0 132.0 133.0 134.0 135.0 136.0 137.0 138.0 139.0 140.0 141.0 142.0 143.0 144.0 145.0 146.0 147.0 148.0 149.0 150.0 - 141.0 142.0 143.0 144.0 145.0 146.0 147.0 148.0 149.0 150.0 151.0 152.0 153.0 154.0 155.0 156.0 157.0 158.0 159.0 160.0 - 151.0 152.0 153.0 154.0 155.0 156.0 157.0 158.0 159.0 160.0 161.0 162.0 163.0 164.0 165.0 166.0 167.0 168.0 169.0 170.0 - 161.0 162.0 163.0 164.0 165.0 166.0 167.0 168.0 169.0 170.0 171.0 172.0 173.0 174.0 175.0 176.0 177.0 178.0 179.0 180.0 - 171.0 172.0 173.0 174.0 175.0 176.0 177.0 178.0 179.0 180.0 181.0 182.0 183.0 184.0 185.0 186.0 187.0 188.0 189.0 190.0 - 181.0 182.0 183.0 184.0 185.0 186.0 187.0 188.0 189.0 190.0 191.0 192.0 193.0 194.0 195.0 196.0 197.0 198.0 199.0 200.0 - 191.0 192.0 193.0 194.0 195.0 196.0 197.0 198.0 199.0 200.0 201.0 202.0 203.0 204.0 205.0 206.0 207.0 208.0 209.0 210.0 - 201.0 202.0 203.0 204.0 205.0 206.0 207.0 208.0 209.0 210.0 211.0 212.0 213.0 214.0 215.0 216.0 217.0 218.0 219.0 220.0 - 211.0 212.0 213.0 214.0 215.0 216.0 217.0 218.0 219.0 220.0 221.0 222.0 223.0 224.0 225.0 226.0 227.0 228.0 229.0 230.0 - 221.0 222.0 223.0 224.0 225.0 226.0 227.0 228.0 229.0 230.0 231.0 232.0 233.0 234.0 235.0 236.0 237.0 238.0 239.0 240.0 - 231.0 232.0 233.0 234.0 235.0 236.0 237.0 238.0 239.0 240.0 241.0 242.0 243.0 244.0 245.0 246.0 247.0 248.0 249.0 250.0 - 241.0 242.0 243.0 244.0 245.0 246.0 247.0 248.0 249.0 250.0 251.0 252.0 253.0 254.0 255.0 256.0 257.0 258.0 259.0 260.0 - 251.0 252.0 253.0 254.0 255.0 256.0 257.0 258.0 259.0 260.0 261.0 262.0 263.0 264.0 265.0 266.0 267.0 268.0 269.0 270.0 - 261.0 262.0 263.0 264.0 265.0 266.0 267.0 268.0 269.0 270.0 271.0 272.0 273.0 274.0 275.0 276.0 277.0 278.0 279.0 280.0 - 271.0 272.0 273.0 274.0 275.0 276.0 277.0 278.0 279.0 280.0 281.0 282.0 283.0 284.0 285.0 286.0 287.0 288.0 289.0 290.0 - 281.0 282.0 283.0 284.0 285.0 286.0 287.0 288.0 289.0 290.0 291.0 292.0 293.0 294.0 295.0 296.0 297.0 298.0 299.0 300.0 - 291.0 292.0 293.0 294.0 295.0 296.0 297.0 298.0 299.0 300.0 301.0 302.0 303.0 304.0 305.0 306.0 307.0 308.0 309.0 310.0 - 301.0 302.0 303.0 304.0 305.0 306.0 307.0 308.0 309.0 310.0 311.0 312.0 313.0 314.0 315.0 316.0 317.0 318.0 319.0 320.0 - 311.0 312.0 313.0 314.0 315.0 316.0 317.0 318.0 319.0 320.0 321.0 322.0 323.0 324.0 325.0 326.0 327.0 328.0 329.0 330.0 - 321.0 322.0 323.0 324.0 325.0 326.0 327.0 328.0 329.0 330.0 331.0 332.0 333.0 334.0 335.0 336.0 337.0 338.0 339.0 340.0 - 331.0 332.0 333.0 334.0 335.0 336.0 337.0 338.0 339.0 340.0 341.0 342.0 343.0 344.0 345.0 346.0 347.0 348.0 349.0 350.0 - 341.0 342.0 343.0 344.0 345.0 346.0 347.0 348.0 349.0 350.0 351.0 352.0 353.0 354.0 355.0 356.0 357.0 358.0 359.0 360.0 - 351.0 352.0 353.0 354.0 355.0 356.0 357.0 358.0 359.0 360.0 361.0 362.0 363.0 364.0 365.0 366.0 367.0 368.0 369.0 370.0 - 361.0 362.0 363.0 364.0 365.0 366.0 367.0 368.0 369.0 370.0 371.0 372.0 373.0 374.0 375.0 376.0 377.0 378.0 379.0 380.0 - 371.0 372.0 373.0 374.0 375.0 376.0 377.0 378.0 379.0 380.0 381.0 382.0 383.0 384.0 385.0 386.0 387.0 388.0 389.0 390.0 - 381.0 382.0 383.0 384.0 385.0 386.0 387.0 388.0 389.0 390.0 391.0 392.0 393.0 394.0 395.0 396.0 397.0 398.0 399.0 400.0 - 391.0 392.0 393.0 394.0 395.0 396.0 397.0 398.0 399.0 400.0 401.0 402.0 403.0 404.0 405.0 406.0 407.0 408.0 409.0 410.0 - 401.0 402.0 403.0 404.0 405.0 406.0 407.0 408.0 409.0 410.0 411.0 412.0 413.0 414.0 415.0 416.0 417.0 418.0 419.0 420.0 - 411.0 412.0 413.0 414.0 415.0 416.0 417.0 418.0 419.0 420.0 421.0 422.0 423.0 424.0 425.0 426.0 427.0 428.0 429.0 430.0 - 421.0 422.0 423.0 424.0 425.0 426.0 427.0 428.0 429.0 430.0 431.0 432.0 433.0 434.0 435.0 436.0 437.0 438.0 439.0 440.0 - 431.0 432.0 433.0 434.0 435.0 436.0 437.0 438.0 439.0 440.0 441.0 442.0 443.0 444.0 445.0 446.0 447.0 448.0 449.0 450.0 - 441.0 442.0 443.0 444.0 445.0 446.0 447.0 448.0 449.0 450.0 451.0 452.0 453.0 454.0 455.0 456.0 457.0 458.0 459.0 460.0 - 451.0 452.0 453.0 454.0 455.0 456.0 457.0 458.0 459.0 460.0 461.0 462.0 463.0 464.0 465.0 466.0 467.0 468.0 469.0 470.0 - 461.0 462.0 463.0 464.0 465.0 466.0 467.0 468.0 469.0 470.0 471.0 472.0 473.0 474.0 475.0 476.0 477.0 478.0 479.0 480.0 - 471.0 472.0 473.0 474.0 475.0 476.0 477.0 478.0 479.0 480.0 481.0 482.0 483.0 484.0 485.0 486.0 487.0 488.0 489.0 490.0 - 481.0 482.0 483.0 484.0 485.0 486.0 487.0 488.0 489.0 490.0 491.0 492.0 493.0 494.0 495.0 496.0 497.0 498.0 499.0 500.0 - 491.0 492.0 493.0 494.0 495.0 496.0 497.0 498.0 499.0 500.0 501.0 502.0 503.0 504.0 505.0 506.0 507.0 508.0 509.0 510.0 - 501.0 502.0 503.0 504.0 505.0 506.0 507.0 508.0 509.0 510.0 511.0 512.0 513.0 514.0 515.0 516.0 517.0 518.0 519.0 520.0 - 511.0 512.0 513.0 514.0 515.0 516.0 517.0 518.0 519.0 520.0 521.0 522.0 523.0 524.0 525.0 526.0 527.0 528.0 529.0 530.0 - 521.0 522.0 523.0 524.0 525.0 526.0 527.0 528.0 529.0 530.0 531.0 532.0 533.0 534.0 535.0 536.0 537.0 538.0 539.0 540.0 - 531.0 532.0 533.0 534.0 535.0 536.0 537.0 538.0 539.0 540.0 541.0 542.0 543.0 544.0 545.0 546.0 547.0 548.0 549.0 550.0 - 541.0 542.0 543.0 544.0 545.0 546.0 547.0 548.0 549.0 550.0 551.0 552.0 553.0 554.0 555.0 556.0 557.0 558.0 559.0 560.0 - 551.0 552.0 553.0 554.0 555.0 556.0 557.0 558.0 559.0 560.0 561.0 562.0 563.0 564.0 565.0 566.0 567.0 568.0 569.0 570.0 - 561.0 562.0 563.0 564.0 565.0 566.0 567.0 568.0 569.0 570.0 571.0 572.0 573.0 574.0 575.0 576.0 577.0 578.0 579.0 580.0 - 571.0 572.0 573.0 574.0 575.0 576.0 577.0 578.0 579.0 580.0 581.0 582.0 583.0 584.0 585.0 586.0 587.0 588.0 589.0 590.0 - 581.0 582.0 583.0 584.0 585.0 586.0 587.0 588.0 589.0 590.0 591.0 592.0 593.0 594.0 595.0 596.0 597.0 598.0 599.0 600.0 - 591.0 592.0 593.0 594.0 595.0 596.0 597.0 598.0 599.0 600.0 601.0 602.0 603.0 604.0 605.0 606.0 607.0 608.0 609.0 610.0 - 601.0 602.0 603.0 604.0 605.0 606.0 607.0 608.0 609.0 610.0 611.0 612.0 613.0 614.0 615.0 616.0 617.0 618.0 619.0 620.0 - 611.0 612.0 613.0 614.0 615.0 616.0 617.0 618.0 619.0 620.0 621.0 622.0 623.0 624.0 625.0 626.0 627.0 628.0 629.0 630.0 - 621.0 622.0 623.0 624.0 625.0 626.0 627.0 628.0 629.0 630.0 631.0 632.0 633.0 634.0 635.0 636.0 637.0 638.0 639.0 640.0 - 631.0 632.0 633.0 634.0 635.0 636.0 637.0 638.0 639.0 640.0 641.0 642.0 643.0 644.0 645.0 646.0 647.0 648.0 649.0 650.0 - 641.0 642.0 643.0 644.0 645.0 646.0 647.0 648.0 649.0 650.0 651.0 652.0 653.0 654.0 655.0 656.0 657.0 658.0 659.0 660.0 - 651.0 652.0 653.0 654.0 655.0 656.0 657.0 658.0 659.0 660.0 661.0 662.0 663.0 664.0 665.0 666.0 667.0 668.0 669.0 670.0 - 661.0 662.0 663.0 664.0 665.0 666.0 667.0 668.0 669.0 670.0 671.0 672.0 673.0 674.0 675.0 676.0 677.0 678.0 679.0 680.0 - 671.0 672.0 673.0 674.0 675.0 676.0 677.0 678.0 679.0 680.0 681.0 682.0 683.0 684.0 685.0 686.0 687.0 688.0 689.0 690.0 - 681.0 682.0 683.0 684.0 685.0 686.0 687.0 688.0 689.0 690.0 691.0 692.0 693.0 694.0 695.0 696.0 697.0 698.0 699.0 700.0 - 691.0 692.0 693.0 694.0 695.0 696.0 697.0 698.0 699.0 700.0 701.0 702.0 703.0 704.0 705.0 706.0 707.0 708.0 709.0 710.0 - 701.0 702.0 703.0 704.0 705.0 706.0 707.0 708.0 709.0 710.0 711.0 712.0 713.0 714.0 715.0 716.0 717.0 718.0 719.0 720.0 - 711.0 712.0 713.0 714.0 715.0 716.0 717.0 718.0 719.0 720.0 721.0 722.0 723.0 724.0 725.0 726.0 727.0 728.0 729.0 730.0 - 721.0 722.0 723.0 724.0 725.0 726.0 727.0 728.0 729.0 730.0 731.0 732.0 733.0 734.0 735.0 736.0 737.0 738.0 739.0 740.0 - 731.0 732.0 733.0 734.0 735.0 736.0 737.0 738.0 739.0 740.0 741.0 742.0 743.0 744.0 745.0 746.0 747.0 748.0 749.0 750.0 - 741.0 742.0 743.0 744.0 745.0 746.0 747.0 748.0 749.0 750.0 751.0 752.0 753.0 754.0 755.0 756.0 757.0 758.0 759.0 760.0 - 751.0 752.0 753.0 754.0 755.0 756.0 757.0 758.0 759.0 760.0 761.0 762.0 763.0 764.0 765.0 766.0 767.0 768.0 769.0 770.0 - 761.0 762.0 763.0 764.0 765.0 766.0 767.0 768.0 769.0 770.0 771.0 772.0 773.0 774.0 775.0 776.0 777.0 778.0 779.0 780.0 - 771.0 772.0 773.0 774.0 775.0 776.0 777.0 778.0 779.0 780.0 781.0 782.0 783.0 784.0 785.0 786.0 787.0 788.0 789.0 790.0 - 781.0 782.0 783.0 784.0 785.0 786.0 787.0 788.0 789.0 790.0 791.0 792.0 793.0 794.0 795.0 796.0 797.0 798.0 799.0 800.0 - 791.0 792.0 793.0 794.0 795.0 796.0 797.0 798.0 799.0 800.0 801.0 802.0 803.0 804.0 805.0 806.0 807.0 808.0 809.0 810.0 - 801.0 802.0 803.0 804.0 805.0 806.0 807.0 808.0 809.0 810.0 811.0 812.0 813.0 814.0 815.0 816.0 817.0 818.0 819.0 820.0 - 811.0 812.0 813.0 814.0 815.0 816.0 817.0 818.0 819.0 820.0 821.0 822.0 823.0 824.0 825.0 826.0 827.0 828.0 829.0 830.0 - 821.0 822.0 823.0 824.0 825.0 826.0 827.0 828.0 829.0 830.0 831.0 832.0 833.0 834.0 835.0 836.0 837.0 838.0 839.0 840.0 - 831.0 832.0 833.0 834.0 835.0 836.0 837.0 838.0 839.0 840.0 841.0 842.0 843.0 844.0 845.0 846.0 847.0 848.0 849.0 850.0 - 841.0 842.0 843.0 844.0 845.0 846.0 847.0 848.0 849.0 850.0 851.0 852.0 853.0 854.0 855.0 856.0 857.0 858.0 859.0 860.0 - 851.0 852.0 853.0 854.0 855.0 856.0 857.0 858.0 859.0 860.0 861.0 862.0 863.0 864.0 865.0 866.0 867.0 868.0 869.0 870.0 - 861.0 862.0 863.0 864.0 865.0 866.0 867.0 868.0 869.0 870.0 871.0 872.0 873.0 874.0 875.0 876.0 877.0 878.0 879.0 880.0 - 871.0 872.0 873.0 874.0 875.0 876.0 877.0 878.0 879.0 880.0 881.0 882.0 883.0 884.0 885.0 886.0 887.0 888.0 889.0 890.0 - 881.0 882.0 883.0 884.0 885.0 886.0 887.0 888.0 889.0 890.0 891.0 892.0 893.0 894.0 895.0 896.0 897.0 898.0 899.0 900.0 - 891.0 892.0 893.0 894.0 895.0 896.0 897.0 898.0 899.0 900.0 901.0 902.0 903.0 904.0 905.0 906.0 907.0 908.0 909.0 910.0 - 901.0 902.0 903.0 904.0 905.0 906.0 907.0 908.0 909.0 910.0 911.0 912.0 913.0 914.0 915.0 916.0 917.0 918.0 919.0 920.0 - 911.0 912.0 913.0 914.0 915.0 916.0 917.0 918.0 919.0 920.0 921.0 922.0 923.0 924.0 925.0 926.0 927.0 928.0 929.0 930.0 - 921.0 922.0 923.0 924.0 925.0 926.0 927.0 928.0 929.0 930.0 931.0 932.0 933.0 934.0 935.0 936.0 937.0 938.0 939.0 940.0 - 931.0 932.0 933.0 934.0 935.0 936.0 937.0 938.0 939.0 940.0 941.0 942.0 943.0 944.0 945.0 946.0 947.0 948.0 949.0 950.0 - 941.0 942.0 943.0 944.0 945.0 946.0 947.0 948.0 949.0 950.0 951.0 952.0 953.0 954.0 955.0 956.0 957.0 958.0 959.0 960.0 - 951.0 952.0 953.0 954.0 955.0 956.0 957.0 958.0 959.0 960.0 961.0 962.0 963.0 964.0 965.0 966.0 967.0 968.0 969.0 970.0 - 961.0 962.0 963.0 964.0 965.0 966.0 967.0 968.0 969.0 970.0 971.0 972.0 973.0 974.0 975.0 976.0 977.0 978.0 979.0 980.0 - 971.0 972.0 973.0 974.0 975.0 976.0 977.0 978.0 979.0 980.0 981.0 982.0 983.0 984.0 985.0 986.0 987.0 988.0 989.0 990.0 - 981.0 982.0 983.0 984.0 985.0 986.0 987.0 988.0 989.0 990.0 991.0 992.0 993.0 994.0 995.0 996.0 997.0 998.0 999.0 1000.0 - 991.0 992.0 993.0 994.0 995.0 996.0 997.0 998.0 999.0 1000.0 1001.0 1002.0 1003.0 1004.0 1005.0 1006.0 1007.0 1008.0 1009.0 1010.0 - 1001.0 1002.0 1003.0 1004.0 1005.0 1006.0 1007.0 1008.0 1009.0 1010.0 1011.0 1012.0 1013.0 1014.0 1015.0 1016.0 1017.0 1018.0 1019.0 1020.0 - 1011.0 1012.0 1013.0 1014.0 1015.0 1016.0 1017.0 1018.0 1019.0 1020.0 1021.0 1022.0 1023.0 1024.0 1025.0 1026.0 1027.0 1028.0 1029.0 1030.0 - 1021.0 1022.0 1023.0 1024.0 1025.0 1026.0 1027.0 1028.0 1029.0 1030.0 1031.0 1032.0 1033.0 1034.0 1035.0 1036.0 1037.0 1038.0 1039.0 1040.0 - 1031.0 1032.0 1033.0 1034.0 1035.0 1036.0 1037.0 1038.0 1039.0 1040.0 1041.0 1042.0 1043.0 1044.0 1045.0 1046.0 1047.0 1048.0 1049.0 1050.0 - 1041.0 1042.0 1043.0 1044.0 1045.0 1046.0 1047.0 1048.0 1049.0 1050.0 1051.0 1052.0 1053.0 1054.0 1055.0 1056.0 1057.0 1058.0 1059.0 1060.0 - 1051.0 1052.0 1053.0 1054.0 1055.0 1056.0 1057.0 1058.0 1059.0 1060.0 1061.0 1062.0 1063.0 1064.0 1065.0 1066.0 1067.0 1068.0 1069.0 1070.0 - 1061.0 1062.0 1063.0 1064.0 1065.0 1066.0 1067.0 1068.0 1069.0 1070.0 1071.0 1072.0 1073.0 1074.0 1075.0 1076.0 1077.0 1078.0 1079.0 1080.0 - 1071.0 1072.0 1073.0 1074.0 1075.0 1076.0 1077.0 1078.0 1079.0 1080.0 1081.0 1082.0 1083.0 1084.0 1085.0 1086.0 1087.0 1088.0 1089.0 1090.0 - 1081.0 1082.0 1083.0 1084.0 1085.0 1086.0 1087.0 1088.0 1089.0 1090.0 1091.0 1092.0 1093.0 1094.0 1095.0 1096.0 1097.0 1098.0 1099.0 1100.0 - 1091.0 1092.0 1093.0 1094.0 1095.0 1096.0 1097.0 1098.0 1099.0 1100.0 1101.0 1102.0 1103.0 1104.0 1105.0 1106.0 1107.0 1108.0 1109.0 1110.0 - 1101.0 1102.0 1103.0 1104.0 1105.0 1106.0 1107.0 1108.0 1109.0 1110.0 1111.0 1112.0 1113.0 1114.0 1115.0 1116.0 1117.0 1118.0 1119.0 1120.0 - 1111.0 1112.0 1113.0 1114.0 1115.0 1116.0 1117.0 1118.0 1119.0 1120.0 1121.0 1122.0 1123.0 1124.0 1125.0 1126.0 1127.0 1128.0 1129.0 1130.0 - 1121.0 1122.0 1123.0 1124.0 1125.0 1126.0 1127.0 1128.0 1129.0 1130.0 1131.0 1132.0 1133.0 1134.0 1135.0 1136.0 1137.0 1138.0 1139.0 1140.0 - 1131.0 1132.0 1133.0 1134.0 1135.0 1136.0 1137.0 1138.0 1139.0 1140.0 1141.0 1142.0 1143.0 1144.0 1145.0 1146.0 1147.0 1148.0 1149.0 1150.0 - 1141.0 1142.0 1143.0 1144.0 1145.0 1146.0 1147.0 1148.0 1149.0 1150.0 1151.0 1152.0 1153.0 1154.0 1155.0 1156.0 1157.0 1158.0 1159.0 1160.0 - 1151.0 1152.0 1153.0 1154.0 1155.0 1156.0 1157.0 1158.0 1159.0 1160.0 1161.0 1162.0 1163.0 1164.0 1165.0 1166.0 1167.0 1168.0 1169.0 1170.0 - 1161.0 1162.0 1163.0 1164.0 1165.0 1166.0 1167.0 1168.0 1169.0 1170.0 1171.0 1172.0 1173.0 1174.0 1175.0 1176.0 1177.0 1178.0 1179.0 1180.0 - 1171.0 1172.0 1173.0 1174.0 1175.0 1176.0 1177.0 1178.0 1179.0 1180.0 1181.0 1182.0 1183.0 1184.0 1185.0 1186.0 1187.0 1188.0 1189.0 1190.0 - 1181.0 1182.0 1183.0 1184.0 1185.0 1186.0 1187.0 1188.0 1189.0 1190.0 1191.0 1192.0 1193.0 1194.0 1195.0 1196.0 1197.0 1198.0 1199.0 1200.0 - 1191.0 1192.0 1193.0 1194.0 1195.0 1196.0 1197.0 1198.0 1199.0 1200.0 1201.0 1202.0 1203.0 1204.0 1205.0 1206.0 1207.0 1208.0 1209.0 1210.0 - 1201.0 1202.0 1203.0 1204.0 1205.0 1206.0 1207.0 1208.0 1209.0 1210.0 1211.0 1212.0 1213.0 1214.0 1215.0 1216.0 1217.0 1218.0 1219.0 1220.0 - 1211.0 1212.0 1213.0 1214.0 1215.0 1216.0 1217.0 1218.0 1219.0 1220.0 1221.0 1222.0 1223.0 1224.0 1225.0 1226.0 1227.0 1228.0 1229.0 1230.0 - 1221.0 1222.0 1223.0 1224.0 1225.0 1226.0 1227.0 1228.0 1229.0 1230.0 1231.0 1232.0 1233.0 1234.0 1235.0 1236.0 1237.0 1238.0 1239.0 1240.0 - 1231.0 1232.0 1233.0 1234.0 1235.0 1236.0 1237.0 1238.0 1239.0 1240.0 1241.0 1242.0 1243.0 1244.0 1245.0 1246.0 1247.0 1248.0 1249.0 1250.0 - 1241.0 1242.0 1243.0 1244.0 1245.0 1246.0 1247.0 1248.0 1249.0 1250.0 1251.0 1252.0 1253.0 1254.0 1255.0 1256.0 1257.0 1258.0 1259.0 1260.0 - 1251.0 1252.0 1253.0 1254.0 1255.0 1256.0 1257.0 1258.0 1259.0 1260.0 1261.0 1262.0 1263.0 1264.0 1265.0 1266.0 1267.0 1268.0 1269.0 1270.0 - 1261.0 1262.0 1263.0 1264.0 1265.0 1266.0 1267.0 1268.0 1269.0 1270.0 1271.0 1272.0 1273.0 1274.0 1275.0 1276.0 1277.0 1278.0 1279.0 1280.0 - 1271.0 1272.0 1273.0 1274.0 1275.0 1276.0 1277.0 1278.0 1279.0 1280.0 1281.0 1282.0 1283.0 1284.0 1285.0 1286.0 1287.0 1288.0 1289.0 1290.0 - 1281.0 1282.0 1283.0 1284.0 1285.0 1286.0 1287.0 1288.0 1289.0 1290.0 1291.0 1292.0 1293.0 1294.0 1295.0 1296.0 1297.0 1298.0 1299.0 1300.0 - 1291.0 1292.0 1293.0 1294.0 1295.0 1296.0 1297.0 1298.0 1299.0 1300.0 1301.0 1302.0 1303.0 1304.0 1305.0 1306.0 1307.0 1308.0 1309.0 1310.0 - 1301.0 1302.0 1303.0 1304.0 1305.0 1306.0 1307.0 1308.0 1309.0 1310.0 1311.0 1312.0 1313.0 1314.0 1315.0 1316.0 1317.0 1318.0 1319.0 1320.0 - 1311.0 1312.0 1313.0 1314.0 1315.0 1316.0 1317.0 1318.0 1319.0 1320.0 1321.0 1322.0 1323.0 1324.0 1325.0 1326.0 1327.0 1328.0 1329.0 1330.0 - 1321.0 1322.0 1323.0 1324.0 1325.0 1326.0 1327.0 1328.0 1329.0 1330.0 1331.0 1332.0 1333.0 1334.0 1335.0 1336.0 1337.0 1338.0 1339.0 1340.0 - 1331.0 1332.0 1333.0 1334.0 1335.0 1336.0 1337.0 1338.0 1339.0 1340.0 1341.0 1342.0 1343.0 1344.0 1345.0 1346.0 1347.0 1348.0 1349.0 1350.0 - 1341.0 1342.0 1343.0 1344.0 1345.0 1346.0 1347.0 1348.0 1349.0 1350.0 1351.0 1352.0 1353.0 1354.0 1355.0 1356.0 1357.0 1358.0 1359.0 1360.0 - 1351.0 1352.0 1353.0 1354.0 1355.0 1356.0 1357.0 1358.0 1359.0 1360.0 1361.0 1362.0 1363.0 1364.0 1365.0 1366.0 1367.0 1368.0 1369.0 1370.0 - 1361.0 1362.0 1363.0 1364.0 1365.0 1366.0 1367.0 1368.0 1369.0 1370.0 1371.0 1372.0 1373.0 1374.0 1375.0 1376.0 1377.0 1378.0 1379.0 1380.0 - 1371.0 1372.0 1373.0 1374.0 1375.0 1376.0 1377.0 1378.0 1379.0 1380.0 1381.0 1382.0 1383.0 1384.0 1385.0 1386.0 1387.0 1388.0 1389.0 1390.0 - 1381.0 1382.0 1383.0 1384.0 1385.0 1386.0 1387.0 1388.0 1389.0 1390.0 1391.0 1392.0 1393.0 1394.0 1395.0 1396.0 1397.0 1398.0 1399.0 1400.0 - 1391.0 1392.0 1393.0 1394.0 1395.0 1396.0 1397.0 1398.0 1399.0 1400.0 1401.0 1402.0 1403.0 1404.0 1405.0 1406.0 1407.0 1408.0 1409.0 1410.0 - 1401.0 1402.0 1403.0 1404.0 1405.0 1406.0 1407.0 1408.0 1409.0 1410.0 1411.0 1412.0 1413.0 1414.0 1415.0 1416.0 1417.0 1418.0 1419.0 1420.0 - 1411.0 1412.0 1413.0 1414.0 1415.0 1416.0 1417.0 1418.0 1419.0 1420.0 1421.0 1422.0 1423.0 1424.0 1425.0 1426.0 1427.0 1428.0 1429.0 1430.0 - 1421.0 1422.0 1423.0 1424.0 1425.0 1426.0 1427.0 1428.0 1429.0 1430.0 1431.0 1432.0 1433.0 1434.0 1435.0 1436.0 1437.0 1438.0 1439.0 1440.0 - 1431.0 1432.0 1433.0 1434.0 1435.0 1436.0 1437.0 1438.0 1439.0 1440.0 1441.0 1442.0 1443.0 1444.0 1445.0 1446.0 1447.0 1448.0 1449.0 1450.0 - 1441.0 1442.0 1443.0 1444.0 1445.0 1446.0 1447.0 1448.0 1449.0 1450.0 1451.0 1452.0 1453.0 1454.0 1455.0 1456.0 1457.0 1458.0 1459.0 1460.0 - 1451.0 1452.0 1453.0 1454.0 1455.0 1456.0 1457.0 1458.0 1459.0 1460.0 1461.0 1462.0 1463.0 1464.0 1465.0 1466.0 1467.0 1468.0 1469.0 1470.0 - 1461.0 1462.0 1463.0 1464.0 1465.0 1466.0 1467.0 1468.0 1469.0 1470.0 1471.0 1472.0 1473.0 1474.0 1475.0 1476.0 1477.0 1478.0 1479.0 1480.0 - 1471.0 1472.0 1473.0 1474.0 1475.0 1476.0 1477.0 1478.0 1479.0 1480.0 1481.0 1482.0 1483.0 1484.0 1485.0 1486.0 1487.0 1488.0 1489.0 1490.0 - 1481.0 1482.0 1483.0 1484.0 1485.0 1486.0 1487.0 1488.0 1489.0 1490.0 1491.0 1492.0 1493.0 1494.0 1495.0 1496.0 1497.0 1498.0 1499.0 1500.0 - 1491.0 1492.0 1493.0 1494.0 1495.0 1496.0 1497.0 1498.0 1499.0 1500.0 1501.0 1502.0 1503.0 1504.0 1505.0 1506.0 1507.0 1508.0 1509.0 1510.0 - 1501.0 1502.0 1503.0 1504.0 1505.0 1506.0 1507.0 1508.0 1509.0 1510.0 1511.0 1512.0 1513.0 1514.0 1515.0 1516.0 1517.0 1518.0 1519.0 1520.0 - 1511.0 1512.0 1513.0 1514.0 1515.0 1516.0 1517.0 1518.0 1519.0 1520.0 1521.0 1522.0 1523.0 1524.0 1525.0 1526.0 1527.0 1528.0 1529.0 1530.0 - 1521.0 1522.0 1523.0 1524.0 1525.0 1526.0 1527.0 1528.0 1529.0 1530.0 1531.0 1532.0 1533.0 1534.0 1535.0 1536.0 1537.0 1538.0 1539.0 1540.0 - 1531.0 1532.0 1533.0 1534.0 1535.0 1536.0 1537.0 1538.0 1539.0 1540.0 1541.0 1542.0 1543.0 1544.0 1545.0 1546.0 1547.0 1548.0 1549.0 1550.0 - 1541.0 1542.0 1543.0 1544.0 1545.0 1546.0 1547.0 1548.0 1549.0 1550.0 1551.0 1552.0 1553.0 1554.0 1555.0 1556.0 1557.0 1558.0 1559.0 1560.0 - 1551.0 1552.0 1553.0 1554.0 1555.0 1556.0 1557.0 1558.0 1559.0 1560.0 1561.0 1562.0 1563.0 1564.0 1565.0 1566.0 1567.0 1568.0 1569.0 1570.0 - 1561.0 1562.0 1563.0 1564.0 1565.0 1566.0 1567.0 1568.0 1569.0 1570.0 1571.0 1572.0 1573.0 1574.0 1575.0 1576.0 1577.0 1578.0 1579.0 1580.0 - 1571.0 1572.0 1573.0 1574.0 1575.0 1576.0 1577.0 1578.0 1579.0 1580.0 1581.0 1582.0 1583.0 1584.0 1585.0 1586.0 1587.0 1588.0 1589.0 1590.0 - 1581.0 1582.0 1583.0 1584.0 1585.0 1586.0 1587.0 1588.0 1589.0 1590.0 1591.0 1592.0 1593.0 1594.0 1595.0 1596.0 1597.0 1598.0 1599.0 1600.0 - 1591.0 1592.0 1593.0 1594.0 1595.0 1596.0 1597.0 1598.0 1599.0 1600.0 1601.0 1602.0 1603.0 1604.0 1605.0 1606.0 1607.0 1608.0 1609.0 1610.0 - 1601.0 1602.0 1603.0 1604.0 1605.0 1606.0 1607.0 1608.0 1609.0 1610.0 1611.0 1612.0 1613.0 1614.0 1615.0 1616.0 1617.0 1618.0 1619.0 1620.0 - 1611.0 1612.0 1613.0 1614.0 1615.0 1616.0 1617.0 1618.0 1619.0 1620.0 1621.0 1622.0 1623.0 1624.0 1625.0 1626.0 1627.0 1628.0 1629.0 1630.0 - 1621.0 1622.0 1623.0 1624.0 1625.0 1626.0 1627.0 1628.0 1629.0 1630.0 1631.0 1632.0 1633.0 1634.0 1635.0 1636.0 1637.0 1638.0 1639.0 1640.0 - 1631.0 1632.0 1633.0 1634.0 1635.0 1636.0 1637.0 1638.0 1639.0 1640.0 1641.0 1642.0 1643.0 1644.0 1645.0 1646.0 1647.0 1648.0 1649.0 1650.0 - 1641.0 1642.0 1643.0 1644.0 1645.0 1646.0 1647.0 1648.0 1649.0 1650.0 1651.0 1652.0 1653.0 1654.0 1655.0 1656.0 1657.0 1658.0 1659.0 1660.0 - 1651.0 1652.0 1653.0 1654.0 1655.0 1656.0 1657.0 1658.0 1659.0 1660.0 1661.0 1662.0 1663.0 1664.0 1665.0 1666.0 1667.0 1668.0 1669.0 1670.0 - 1661.0 1662.0 1663.0 1664.0 1665.0 1666.0 1667.0 1668.0 1669.0 1670.0 1671.0 1672.0 1673.0 1674.0 1675.0 1676.0 1677.0 1678.0 1679.0 1680.0 - 1671.0 1672.0 1673.0 1674.0 1675.0 1676.0 1677.0 1678.0 1679.0 1680.0 1681.0 1682.0 1683.0 1684.0 1685.0 1686.0 1687.0 1688.0 1689.0 1690.0 - 1681.0 1682.0 1683.0 1684.0 1685.0 1686.0 1687.0 1688.0 1689.0 1690.0 1691.0 1692.0 1693.0 1694.0 1695.0 1696.0 1697.0 1698.0 1699.0 1700.0 - 1691.0 1692.0 1693.0 1694.0 1695.0 1696.0 1697.0 1698.0 1699.0 1700.0 1701.0 1702.0 1703.0 1704.0 1705.0 1706.0 1707.0 1708.0 1709.0 1710.0 - 1701.0 1702.0 1703.0 1704.0 1705.0 1706.0 1707.0 1708.0 1709.0 1710.0 1711.0 1712.0 1713.0 1714.0 1715.0 1716.0 1717.0 1718.0 1719.0 1720.0 - 1711.0 1712.0 1713.0 1714.0 1715.0 1716.0 1717.0 1718.0 1719.0 1720.0 1721.0 1722.0 1723.0 1724.0 1725.0 1726.0 1727.0 1728.0 1729.0 1730.0 - 1721.0 1722.0 1723.0 1724.0 1725.0 1726.0 1727.0 1728.0 1729.0 1730.0 1731.0 1732.0 1733.0 1734.0 1735.0 1736.0 1737.0 1738.0 1739.0 1740.0 - 1731.0 1732.0 1733.0 1734.0 1735.0 1736.0 1737.0 1738.0 1739.0 1740.0 1741.0 1742.0 1743.0 1744.0 1745.0 1746.0 1747.0 1748.0 1749.0 1750.0 - 1741.0 1742.0 1743.0 1744.0 1745.0 1746.0 1747.0 1748.0 1749.0 1750.0 1751.0 1752.0 1753.0 1754.0 1755.0 1756.0 1757.0 1758.0 1759.0 1760.0 - 1751.0 1752.0 1753.0 1754.0 1755.0 1756.0 1757.0 1758.0 1759.0 1760.0 1761.0 1762.0 1763.0 1764.0 1765.0 1766.0 1767.0 1768.0 1769.0 1770.0 - 1761.0 1762.0 1763.0 1764.0 1765.0 1766.0 1767.0 1768.0 1769.0 1770.0 1771.0 1772.0 1773.0 1774.0 1775.0 1776.0 1777.0 1778.0 1779.0 1780.0 - 1771.0 1772.0 1773.0 1774.0 1775.0 1776.0 1777.0 1778.0 1779.0 1780.0 1781.0 1782.0 1783.0 1784.0 1785.0 1786.0 1787.0 1788.0 1789.0 1790.0 - 1781.0 1782.0 1783.0 1784.0 1785.0 1786.0 1787.0 1788.0 1789.0 1790.0 1791.0 1792.0 1793.0 1794.0 1795.0 1796.0 1797.0 1798.0 1799.0 1800.0 - 1791.0 1792.0 1793.0 1794.0 1795.0 1796.0 1797.0 1798.0 1799.0 1800.0 1801.0 1802.0 1803.0 1804.0 1805.0 1806.0 1807.0 1808.0 1809.0 1810.0 - 1801.0 1802.0 1803.0 1804.0 1805.0 1806.0 1807.0 1808.0 1809.0 1810.0 1811.0 1812.0 1813.0 1814.0 1815.0 1816.0 1817.0 1818.0 1819.0 1820.0 - 1811.0 1812.0 1813.0 1814.0 1815.0 1816.0 1817.0 1818.0 1819.0 1820.0 1821.0 1822.0 1823.0 1824.0 1825.0 1826.0 1827.0 1828.0 1829.0 1830.0 - 1821.0 1822.0 1823.0 1824.0 1825.0 1826.0 1827.0 1828.0 1829.0 1830.0 1831.0 1832.0 1833.0 1834.0 1835.0 1836.0 1837.0 1838.0 1839.0 1840.0 - 1831.0 1832.0 1833.0 1834.0 1835.0 1836.0 1837.0 1838.0 1839.0 1840.0 1841.0 1842.0 1843.0 1844.0 1845.0 1846.0 1847.0 1848.0 1849.0 1850.0 - 1841.0 1842.0 1843.0 1844.0 1845.0 1846.0 1847.0 1848.0 1849.0 1850.0 1851.0 1852.0 1853.0 1854.0 1855.0 1856.0 1857.0 1858.0 1859.0 1860.0 - 1851.0 1852.0 1853.0 1854.0 1855.0 1856.0 1857.0 1858.0 1859.0 1860.0 1861.0 1862.0 1863.0 1864.0 1865.0 1866.0 1867.0 1868.0 1869.0 1870.0 - 1861.0 1862.0 1863.0 1864.0 1865.0 1866.0 1867.0 1868.0 1869.0 1870.0 1871.0 1872.0 1873.0 1874.0 1875.0 1876.0 1877.0 1878.0 1879.0 1880.0 - 1871.0 1872.0 1873.0 1874.0 1875.0 1876.0 1877.0 1878.0 1879.0 1880.0 1881.0 1882.0 1883.0 1884.0 1885.0 1886.0 1887.0 1888.0 1889.0 1890.0 - 1881.0 1882.0 1883.0 1884.0 1885.0 1886.0 1887.0 1888.0 1889.0 1890.0 1891.0 1892.0 1893.0 1894.0 1895.0 1896.0 1897.0 1898.0 1899.0 1900.0 - 1891.0 1892.0 1893.0 1894.0 1895.0 1896.0 1897.0 1898.0 1899.0 1900.0 1901.0 1902.0 1903.0 1904.0 1905.0 1906.0 1907.0 1908.0 1909.0 1910.0 - 1901.0 1902.0 1903.0 1904.0 1905.0 1906.0 1907.0 1908.0 1909.0 1910.0 1911.0 1912.0 1913.0 1914.0 1915.0 1916.0 1917.0 1918.0 1919.0 1920.0 - 1911.0 1912.0 1913.0 1914.0 1915.0 1916.0 1917.0 1918.0 1919.0 1920.0 1921.0 1922.0 1923.0 1924.0 1925.0 1926.0 1927.0 1928.0 1929.0 1930.0 - 1921.0 1922.0 1923.0 1924.0 1925.0 1926.0 1927.0 1928.0 1929.0 1930.0 1931.0 1932.0 1933.0 1934.0 1935.0 1936.0 1937.0 1938.0 1939.0 1940.0 - 1931.0 1932.0 1933.0 1934.0 1935.0 1936.0 1937.0 1938.0 1939.0 1940.0 1941.0 1942.0 1943.0 1944.0 1945.0 1946.0 1947.0 1948.0 1949.0 1950.0 - 1941.0 1942.0 1943.0 1944.0 1945.0 1946.0 1947.0 1948.0 1949.0 1950.0 1951.0 1952.0 1953.0 1954.0 1955.0 1956.0 1957.0 1958.0 1959.0 1960.0 - 1951.0 1952.0 1953.0 1954.0 1955.0 1956.0 1957.0 1958.0 1959.0 1960.0 1961.0 1962.0 1963.0 1964.0 1965.0 1966.0 1967.0 1968.0 1969.0 1970.0 - 1961.0 1962.0 1963.0 1964.0 1965.0 1966.0 1967.0 1968.0 1969.0 1970.0 1971.0 1972.0 1973.0 1974.0 1975.0 1976.0 1977.0 1978.0 1979.0 1980.0 - 1971.0 1972.0 1973.0 1974.0 1975.0 1976.0 1977.0 1978.0 1979.0 1980.0 1981.0 1982.0 1983.0 1984.0 1985.0 1986.0 1987.0 1988.0 1989.0 1990.0 - 1981.0 1982.0 1983.0 1984.0 1985.0 1986.0 1987.0 1988.0 1989.0 1990.0 1991.0 1992.0 1993.0 1994.0 1995.0 1996.0 1997.0 1998.0 1999.0 2000.0 - 1991.0 1992.0 1993.0 1994.0 1995.0 1996.0 1997.0 1998.0 1999.0 2000.0 2001.0 2002.0 2003.0 2004.0 2005.0 2006.0 2007.0 2008.0 2009.0 2010.0 - 2001.0 2002.0 2003.0 2004.0 2005.0 2006.0 2007.0 2008.0 2009.0 2010.0 2011.0 2012.0 2013.0 2014.0 2015.0 2016.0 2017.0 2018.0 2019.0 2020.0 - 2011.0 2012.0 2013.0 2014.0 2015.0 2016.0 2017.0 2018.0 2019.0 2020.0 2021.0 2022.0 2023.0 2024.0 2025.0 2026.0 2027.0 2028.0 2029.0 2030.0 - 2021.0 2022.0 2023.0 2024.0 2025.0 2026.0 2027.0 2028.0 2029.0 2030.0 2031.0 2032.0 2033.0 2034.0 2035.0 2036.0 2037.0 2038.0 2039.0 2040.0 - 2031.0 2032.0 2033.0 2034.0 2035.0 2036.0 2037.0 2038.0 2039.0 2040.0 2041.0 2042.0 2043.0 2044.0 2045.0 2046.0 2047.0 2048.0 2049.0 2050.0 - 2041.0 2042.0 2043.0 2044.0 2045.0 2046.0 2047.0 2048.0 2049.0 2050.0 2051.0 2052.0 2053.0 2054.0 2055.0 2056.0 2057.0 2058.0 2059.0 2060.0 - 2051.0 2052.0 2053.0 2054.0 2055.0 2056.0 2057.0 2058.0 2059.0 2060.0 2061.0 2062.0 2063.0 2064.0 2065.0 2066.0 2067.0 2068.0 2069.0 2070.0 - 2061.0 2062.0 2063.0 2064.0 2065.0 2066.0 2067.0 2068.0 2069.0 2070.0 2071.0 2072.0 2073.0 2074.0 2075.0 2076.0 2077.0 2078.0 2079.0 2080.0 - 2071.0 2072.0 2073.0 2074.0 2075.0 2076.0 2077.0 2078.0 2079.0 2080.0 2081.0 2082.0 2083.0 2084.0 2085.0 2086.0 2087.0 2088.0 2089.0 2090.0 - 2081.0 2082.0 2083.0 2084.0 2085.0 2086.0 2087.0 2088.0 2089.0 2090.0 2091.0 2092.0 2093.0 2094.0 2095.0 2096.0 2097.0 2098.0 2099.0 2100.0 - 2091.0 2092.0 2093.0 2094.0 2095.0 2096.0 2097.0 2098.0 2099.0 2100.0 2101.0 2102.0 2103.0 2104.0 2105.0 2106.0 2107.0 2108.0 2109.0 2110.0 - 2101.0 2102.0 2103.0 2104.0 2105.0 2106.0 2107.0 2108.0 2109.0 2110.0 2111.0 2112.0 2113.0 2114.0 2115.0 2116.0 2117.0 2118.0 2119.0 2120.0 - 2111.0 2112.0 2113.0 2114.0 2115.0 2116.0 2117.0 2118.0 2119.0 2120.0 2121.0 2122.0 2123.0 2124.0 2125.0 2126.0 2127.0 2128.0 2129.0 2130.0 - 2121.0 2122.0 2123.0 2124.0 2125.0 2126.0 2127.0 2128.0 2129.0 2130.0 2131.0 2132.0 2133.0 2134.0 2135.0 2136.0 2137.0 2138.0 2139.0 2140.0 - 2131.0 2132.0 2133.0 2134.0 2135.0 2136.0 2137.0 2138.0 2139.0 2140.0 2141.0 2142.0 2143.0 2144.0 2145.0 2146.0 2147.0 2148.0 2149.0 2150.0 - 2141.0 2142.0 2143.0 2144.0 2145.0 2146.0 2147.0 2148.0 2149.0 2150.0 2151.0 2152.0 2153.0 2154.0 2155.0 2156.0 2157.0 2158.0 2159.0 2160.0 - 2151.0 2152.0 2153.0 2154.0 2155.0 2156.0 2157.0 2158.0 2159.0 2160.0 2161.0 2162.0 2163.0 2164.0 2165.0 2166.0 2167.0 2168.0 2169.0 2170.0 - 2161.0 2162.0 2163.0 2164.0 2165.0 2166.0 2167.0 2168.0 2169.0 2170.0 2171.0 2172.0 2173.0 2174.0 2175.0 2176.0 2177.0 2178.0 2179.0 2180.0 - 2171.0 2172.0 2173.0 2174.0 2175.0 2176.0 2177.0 2178.0 2179.0 2180.0 2181.0 2182.0 2183.0 2184.0 2185.0 2186.0 2187.0 2188.0 2189.0 2190.0 - 2181.0 2182.0 2183.0 2184.0 2185.0 2186.0 2187.0 2188.0 2189.0 2190.0 2191.0 2192.0 2193.0 2194.0 2195.0 2196.0 2197.0 2198.0 2199.0 2200.0 - 2191.0 2192.0 2193.0 2194.0 2195.0 2196.0 2197.0 2198.0 2199.0 2200.0 2201.0 2202.0 2203.0 2204.0 2205.0 2206.0 2207.0 2208.0 2209.0 2210.0 - 2201.0 2202.0 2203.0 2204.0 2205.0 2206.0 2207.0 2208.0 2209.0 2210.0 2211.0 2212.0 2213.0 2214.0 2215.0 2216.0 2217.0 2218.0 2219.0 2220.0 - 2211.0 2212.0 2213.0 2214.0 2215.0 2216.0 2217.0 2218.0 2219.0 2220.0 2221.0 2222.0 2223.0 2224.0 2225.0 2226.0 2227.0 2228.0 2229.0 2230.0 - 2221.0 2222.0 2223.0 2224.0 2225.0 2226.0 2227.0 2228.0 2229.0 2230.0 2231.0 2232.0 2233.0 2234.0 2235.0 2236.0 2237.0 2238.0 2239.0 2240.0 - 2231.0 2232.0 2233.0 2234.0 2235.0 2236.0 2237.0 2238.0 2239.0 2240.0 2241.0 2242.0 2243.0 2244.0 2245.0 2246.0 2247.0 2248.0 2249.0 2250.0 - 2241.0 2242.0 2243.0 2244.0 2245.0 2246.0 2247.0 2248.0 2249.0 2250.0 2251.0 2252.0 2253.0 2254.0 2255.0 2256.0 2257.0 2258.0 2259.0 2260.0 - 2251.0 2252.0 2253.0 2254.0 2255.0 2256.0 2257.0 2258.0 2259.0 2260.0 2261.0 2262.0 2263.0 2264.0 2265.0 2266.0 2267.0 2268.0 2269.0 2270.0 - 2261.0 2262.0 2263.0 2264.0 2265.0 2266.0 2267.0 2268.0 2269.0 2270.0 2271.0 2272.0 2273.0 2274.0 2275.0 2276.0 2277.0 2278.0 2279.0 2280.0 - 2271.0 2272.0 2273.0 2274.0 2275.0 2276.0 2277.0 2278.0 2279.0 2280.0 2281.0 2282.0 2283.0 2284.0 2285.0 2286.0 2287.0 2288.0 2289.0 2290.0 - 2281.0 2282.0 2283.0 2284.0 2285.0 2286.0 2287.0 2288.0 2289.0 2290.0 2291.0 2292.0 2293.0 2294.0 2295.0 2296.0 2297.0 2298.0 2299.0 2300.0 - 2291.0 2292.0 2293.0 2294.0 2295.0 2296.0 2297.0 2298.0 2299.0 2300.0 2301.0 2302.0 2303.0 2304.0 2305.0 2306.0 2307.0 2308.0 2309.0 2310.0 - 2301.0 2302.0 2303.0 2304.0 2305.0 2306.0 2307.0 2308.0 2309.0 2310.0 2311.0 2312.0 2313.0 2314.0 2315.0 2316.0 2317.0 2318.0 2319.0 2320.0 - 2311.0 2312.0 2313.0 2314.0 2315.0 2316.0 2317.0 2318.0 2319.0 2320.0 2321.0 2322.0 2323.0 2324.0 2325.0 2326.0 2327.0 2328.0 2329.0 2330.0 - 2321.0 2322.0 2323.0 2324.0 2325.0 2326.0 2327.0 2328.0 2329.0 2330.0 2331.0 2332.0 2333.0 2334.0 2335.0 2336.0 2337.0 2338.0 2339.0 2340.0 - 2331.0 2332.0 2333.0 2334.0 2335.0 2336.0 2337.0 2338.0 2339.0 2340.0 2341.0 2342.0 2343.0 2344.0 2345.0 2346.0 2347.0 2348.0 2349.0 2350.0 - 2341.0 2342.0 2343.0 2344.0 2345.0 2346.0 2347.0 2348.0 2349.0 2350.0 2351.0 2352.0 2353.0 2354.0 2355.0 2356.0 2357.0 2358.0 2359.0 2360.0 - 2351.0 2352.0 2353.0 2354.0 2355.0 2356.0 2357.0 2358.0 2359.0 2360.0 2361.0 2362.0 2363.0 2364.0 2365.0 2366.0 2367.0 2368.0 2369.0 2370.0 - 2361.0 2362.0 2363.0 2364.0 2365.0 2366.0 2367.0 2368.0 2369.0 2370.0 2371.0 2372.0 2373.0 2374.0 2375.0 2376.0 2377.0 2378.0 2379.0 2380.0 - 2371.0 2372.0 2373.0 2374.0 2375.0 2376.0 2377.0 2378.0 2379.0 2380.0 2381.0 2382.0 2383.0 2384.0 2385.0 2386.0 2387.0 2388.0 2389.0 2390.0 - 2381.0 2382.0 2383.0 2384.0 2385.0 2386.0 2387.0 2388.0 2389.0 2390.0 2391.0 2392.0 2393.0 2394.0 2395.0 2396.0 2397.0 2398.0 2399.0 2400.0 - 2391.0 2392.0 2393.0 2394.0 2395.0 2396.0 2397.0 2398.0 2399.0 2400.0 2401.0 2402.0 2403.0 2404.0 2405.0 2406.0 2407.0 2408.0 2409.0 2410.0 - 2401.0 2402.0 2403.0 2404.0 2405.0 2406.0 2407.0 2408.0 2409.0 2410.0 2411.0 2412.0 2413.0 2414.0 2415.0 2416.0 2417.0 2418.0 2419.0 2420.0 - 2411.0 2412.0 2413.0 2414.0 2415.0 2416.0 2417.0 2418.0 2419.0 2420.0 2421.0 2422.0 2423.0 2424.0 2425.0 2426.0 2427.0 2428.0 2429.0 2430.0 - 2421.0 2422.0 2423.0 2424.0 2425.0 2426.0 2427.0 2428.0 2429.0 2430.0 2431.0 2432.0 2433.0 2434.0 2435.0 2436.0 2437.0 2438.0 2439.0 2440.0 - 2431.0 2432.0 2433.0 2434.0 2435.0 2436.0 2437.0 2438.0 2439.0 2440.0 2441.0 2442.0 2443.0 2444.0 2445.0 2446.0 2447.0 2448.0 2449.0 2450.0 - 2441.0 2442.0 2443.0 2444.0 2445.0 2446.0 2447.0 2448.0 2449.0 2450.0 2451.0 2452.0 2453.0 2454.0 2455.0 2456.0 2457.0 2458.0 2459.0 2460.0 - 2451.0 2452.0 2453.0 2454.0 2455.0 2456.0 2457.0 2458.0 2459.0 2460.0 2461.0 2462.0 2463.0 2464.0 2465.0 2466.0 2467.0 2468.0 2469.0 2470.0 - 2461.0 2462.0 2463.0 2464.0 2465.0 2466.0 2467.0 2468.0 2469.0 2470.0 2471.0 2472.0 2473.0 2474.0 2475.0 2476.0 2477.0 2478.0 2479.0 2480.0 - 2471.0 2472.0 2473.0 2474.0 2475.0 2476.0 2477.0 2478.0 2479.0 2480.0 2481.0 2482.0 2483.0 2484.0 2485.0 2486.0 2487.0 2488.0 2489.0 2490.0 - 2481.0 2482.0 2483.0 2484.0 2485.0 2486.0 2487.0 2488.0 2489.0 2490.0 2491.0 2492.0 2493.0 2494.0 2495.0 2496.0 2497.0 2498.0 2499.0 2500.0 - 2491.0 2492.0 2493.0 2494.0 2495.0 2496.0 2497.0 2498.0 2499.0 2500.0 2501.0 2502.0 2503.0 2504.0 2505.0 2506.0 2507.0 2508.0 2509.0 2510.0 - 2501.0 2502.0 2503.0 2504.0 2505.0 2506.0 2507.0 2508.0 2509.0 2510.0 2511.0 2512.0 2513.0 2514.0 2515.0 2516.0 2517.0 2518.0 2519.0 2520.0 - 2511.0 2512.0 2513.0 2514.0 2515.0 2516.0 2517.0 2518.0 2519.0 2520.0 2521.0 2522.0 2523.0 2524.0 2525.0 2526.0 2527.0 2528.0 2529.0 2530.0 - 2521.0 2522.0 2523.0 2524.0 2525.0 2526.0 2527.0 2528.0 2529.0 2530.0 2531.0 2532.0 2533.0 2534.0 2535.0 2536.0 2537.0 2538.0 2539.0 2540.0 - 2531.0 2532.0 2533.0 2534.0 2535.0 2536.0 2537.0 2538.0 2539.0 2540.0 2541.0 2542.0 2543.0 2544.0 2545.0 2546.0 2547.0 2548.0 2549.0 2550.0 - 2541.0 2542.0 2543.0 2544.0 2545.0 2546.0 2547.0 2548.0 2549.0 2550.0 2551.0 2552.0 2553.0 2554.0 2555.0 2556.0 2557.0 2558.0 2559.0 2560.0 - 2551.0 2552.0 2553.0 2554.0 2555.0 2556.0 2557.0 2558.0 2559.0 2560.0 2561.0 2562.0 2563.0 2564.0 2565.0 2566.0 2567.0 2568.0 2569.0 2570.0 - 2561.0 2562.0 2563.0 2564.0 2565.0 2566.0 2567.0 2568.0 2569.0 2570.0 2571.0 2572.0 2573.0 2574.0 2575.0 2576.0 2577.0 2578.0 2579.0 2580.0 - 2571.0 2572.0 2573.0 2574.0 2575.0 2576.0 2577.0 2578.0 2579.0 2580.0 2581.0 2582.0 2583.0 2584.0 2585.0 2586.0 2587.0 2588.0 2589.0 2590.0 - 2581.0 2582.0 2583.0 2584.0 2585.0 2586.0 2587.0 2588.0 2589.0 2590.0 2591.0 2592.0 2593.0 2594.0 2595.0 2596.0 2597.0 2598.0 2599.0 2600.0] \ No newline at end of file diff --git a/kaldi/test_cases/delay_5_D20_T259_S3/io.npz b/kaldi/test_cases/delay_5_D20_T259_S3/io.npz deleted file mode 100644 index faf69d2db8..0000000000 Binary files a/kaldi/test_cases/delay_5_D20_T259_S3/io.npz and /dev/null differ diff --git a/kaldi/test_cases/delay_5_D20_T259_S3/model.raw b/kaldi/test_cases/delay_5_D20_T259_S3/model.raw deleted file mode 100644 index dd1982f27b..0000000000 Binary files a/kaldi/test_cases/delay_5_D20_T259_S3/model.raw and /dev/null differ diff --git a/kaldi/test_cases/delay_5_D20_T259_S3/model.raw.txt b/kaldi/test_cases/delay_5_D20_T259_S3/model.raw.txt deleted file mode 100644 index 61b5420ff9..0000000000 --- a/kaldi/test_cases/delay_5_D20_T259_S3/model.raw.txt +++ /dev/null @@ -1,6 +0,0 @@ - -input-node name=input dim=20 -output-node name=output input=Offset(input, 5) - - 0 - \ No newline at end of file diff --git a/kaldi/test_cases/delay_5_D20_T259_S3/output.ark b/kaldi/test_cases/delay_5_D20_T259_S3/output.ark deleted file mode 100644 index a4839a833b..0000000000 --- a/kaldi/test_cases/delay_5_D20_T259_S3/output.ark +++ /dev/null @@ -1,88 +0,0 @@ -idx [ - 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 - 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 - 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 - 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 - 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 - 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 - 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 - 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 - 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 - 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 - 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 - 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 - 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 - 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 - 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 - 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 - 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 - 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 - 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 - 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 - 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 - 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 - 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 - 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 - 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 - 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 - 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 - 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 - 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 - 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 - 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 - 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 - 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 - 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 - 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 - 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 - 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 - 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 - 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 - 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 - 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 - 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 - 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 - 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 - 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 - 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 - 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 - 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 - 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 - 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 - 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 - 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 - 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 - 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 - 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 - 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 - 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 - 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 - 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 - 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 - 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 - 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 - 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 - 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 - 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 - 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 - 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 - 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 - 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 - 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 - 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 - 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 - 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 - 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 - 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 - 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 - 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 - 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 - 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 - 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 - 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 - 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 - 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 - 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 - 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 - 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 - 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 ] diff --git a/kaldi/test_cases/delay_5_D20_T259_S3/subsampling b/kaldi/test_cases/delay_5_D20_T259_S3/subsampling deleted file mode 100644 index e440e5c842..0000000000 --- a/kaldi/test_cases/delay_5_D20_T259_S3/subsampling +++ /dev/null @@ -1 +0,0 @@ -3 \ No newline at end of file diff --git a/kaldi/test_cases/delay_5_D20_T259_S3/test.sh b/kaldi/test_cases/delay_5_D20_T259_S3/test.sh deleted file mode 100644 index 859e4f2591..0000000000 --- a/kaldi/test_cases/delay_5_D20_T259_S3/test.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -nnet3-compute --frames-per-chunk=260 --frame-subsampling-factor=3 model.raw.txt ark:input.ark ark,t:predicted.ark 2>.error -fail=0 -diff output.ark predicted.ark || fail=1; -rm predicted.ark -echo "fail=$fail" && [ $fail -gt 0 ] && exit 1; diff --git a/kaldi/test_cases/delay_5_D20_T259_S3/vars.sh b/kaldi/test_cases/delay_5_D20_T259_S3/vars.sh deleted file mode 100644 index 2aced77759..0000000000 --- a/kaldi/test_cases/delay_5_D20_T259_S3/vars.sh +++ /dev/null @@ -1,4 +0,0 @@ -left_context=0 -right_context=5 -subsampling=3 -adjust_final_offset=0 diff --git a/kaldi/test_cases/delay_5_D5_T43_S3/input.ark b/kaldi/test_cases/delay_5_D5_T43_S3/input.ark deleted file mode 100644 index 62b4614bf2..0000000000 --- a/kaldi/test_cases/delay_5_D5_T43_S3/input.ark +++ /dev/null @@ -1,44 +0,0 @@ -idx [ - 0.49671414 -0.1382643 0.64768857 1.5230298 -0.23415338 - -0.23413695 1.5792128 0.7674347 -0.46947438 0.54256004 - -0.46341768 -0.46572974 0.24196227 -1.9132802 -1.7249179 - -0.5622875 -1.0128311 0.31424734 -0.9080241 -1.4123037 - 1.4656488 -0.2257763 0.0675282 -1.4247482 -0.54438275 - 0.11092259 -1.1509936 0.37569803 -0.6006387 -0.29169375 - -0.6017066 1.8522782 -0.013497225 -1.0577109 0.82254493 - -1.2208437 0.2088636 -1.9596701 -1.328186 0.19686124 - 0.73846656 0.17136829 -0.115648285 -0.30110368 -1.478522 - -0.7198442 -0.46063876 1.0571222 0.3436183 -1.7630402 - 0.32408398 -0.38508227 -0.676922 0.6116763 1.0309995 - 0.93128014 -0.83921754 -0.3092124 0.33126342 0.9755451 - -0.47917423 -0.18565898 -1.1063349 -1.1962066 0.8125258 - 1.35624 -0.07201012 1.0035329 0.361636 -0.6451197 - 0.3613956 1.5380366 -0.03582604 1.5646436 -2.619745 - 0.8219025 0.08704707 -0.29900736 0.09176078 -1.9875689 - -0.21967189 0.35711256 1.4778941 -0.5182702 -0.8084936 - -0.501757 0.9154021 0.32875112 -0.5297602 0.51326746 - 0.09707755 0.968645 -0.70205307 -0.32766214 -0.39210814 - -1.4635149 0.2961203 0.26105526 0.005113457 -0.23458713 - -1.4153707 -0.42064533 -0.34271452 -0.80227727 -0.16128571 - 0.40405086 1.8861859 0.17457782 0.2575504 -0.07444592 - -1.9187713 -0.026513875 0.06023021 2.463242 -0.19236097 - 0.30154735 -0.03471177 -1.168678 1.1428229 0.75193304 - 0.79103196 -0.90938747 1.4027944 -1.401851 0.5868571 - 2.1904557 -0.99053633 -0.5662977 0.09965137 -0.50347567 - -1.5506635 0.06856298 -1.0623037 0.47359243 -0.91942424 - 1.5499344 -0.7832533 -0.3220615 0.8135172 -1.2308643 - 0.22745994 1.3071427 -1.6074833 0.18463387 0.2598828 - 0.78182286 -1.2369508 -1.3204566 0.52194154 0.29698467 - 0.25049284 0.3464482 -0.68002474 0.2322537 0.29307246 - -0.7143514 1.8657745 0.47383294 -1.1913035 0.6565536 - -0.9746817 0.7870846 1.1585956 -0.82068235 0.9633761 - 0.41278094 0.82206017 1.896793 -0.24538812 -0.75373614 - -0.88951445 -0.81581026 -0.07710171 0.34115198 0.2766908 - 0.82718325 0.013001892 1.4535341 -0.26465684 2.720169 - 0.62566733 -0.8571575 -1.0708925 0.48247242 -0.22346279 - 0.7140005 0.47323763 -0.07282891 -0.8467937 -1.5148473 - -0.44651496 0.8563988 0.21409374 -1.2457387 0.17318092 - 0.3853174 -0.8838574 0.1537251 0.05820872 -1.1429703 - 0.35778737 0.5607845 1.0830512 1.053802 -1.3776693 - -0.937825 0.5150353 0.51378596 0.51504767 3.8527315 - 0.5708905 1.1355656 0.9540018 0.65139127 -0.31526923] \ No newline at end of file diff --git a/kaldi/test_cases/delay_5_D5_T43_S3/io.npz b/kaldi/test_cases/delay_5_D5_T43_S3/io.npz deleted file mode 100644 index be940f2145..0000000000 Binary files a/kaldi/test_cases/delay_5_D5_T43_S3/io.npz and /dev/null differ diff --git a/kaldi/test_cases/delay_5_D5_T43_S3/model.raw b/kaldi/test_cases/delay_5_D5_T43_S3/model.raw deleted file mode 100644 index ed472597cd..0000000000 Binary files a/kaldi/test_cases/delay_5_D5_T43_S3/model.raw and /dev/null differ diff --git a/kaldi/test_cases/delay_5_D5_T43_S3/model.raw.txt b/kaldi/test_cases/delay_5_D5_T43_S3/model.raw.txt deleted file mode 100644 index 6f85995083..0000000000 --- a/kaldi/test_cases/delay_5_D5_T43_S3/model.raw.txt +++ /dev/null @@ -1,7 +0,0 @@ - - -input-node name=input dim=5 -output-node name=output input=Offset(input, 5) - - 0 - \ No newline at end of file diff --git a/kaldi/test_cases/delay_5_D5_T43_S3/output.ark b/kaldi/test_cases/delay_5_D5_T43_S3/output.ark deleted file mode 100644 index 5680260548..0000000000 --- a/kaldi/test_cases/delay_5_D5_T43_S3/output.ark +++ /dev/null @@ -1,16 +0,0 @@ -idx [ - 0.1109226 -1.150994 0.375698 -0.6006387 -0.2916937 - 0.7384666 0.1713683 -0.1156483 -0.3011037 -1.478522 - 0.9312801 -0.8392175 -0.3092124 0.3312634 0.9755451 - 0.3613956 1.538037 -0.03582604 1.564644 -2.619745 - -0.501757 0.9154021 0.3287511 -0.5297602 0.5132675 - -1.415371 -0.4206453 -0.3427145 -0.8022773 -0.1612857 - 0.3015473 -0.03471177 -1.168678 1.142823 0.751933 - -1.550663 0.06856298 -1.062304 0.4735924 -0.9194242 - 0.7818229 -1.236951 -1.320457 0.5219415 0.2969847 - -0.9746817 0.7870846 1.158596 -0.8206823 0.9633761 - 0.8271832 0.01300189 1.453534 -0.2646568 2.720169 - -0.446515 0.8563988 0.2140937 -1.245739 0.1731809 - -0.937825 0.5150353 0.513786 0.5150477 3.852731 - 0.5708905 1.135566 0.9540018 0.6513913 -0.3152692 - 0.5708905 1.135566 0.9540018 0.6513913 -0.3152692 ] diff --git a/kaldi/test_cases/delay_5_D5_T43_S3/subsampling b/kaldi/test_cases/delay_5_D5_T43_S3/subsampling deleted file mode 100644 index e440e5c842..0000000000 --- a/kaldi/test_cases/delay_5_D5_T43_S3/subsampling +++ /dev/null @@ -1 +0,0 @@ -3 \ No newline at end of file diff --git a/kaldi/test_cases/delay_5_D5_T43_S3/test.sh b/kaldi/test_cases/delay_5_D5_T43_S3/test.sh deleted file mode 100644 index 01cb45615b..0000000000 --- a/kaldi/test_cases/delay_5_D5_T43_S3/test.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -nnet3-compute --frames-per-chunk=44 --frame-subsampling-factor=3 model.raw.txt ark:input.ark ark,t:predicted.ark 2>.error -fail=0 -diff output.ark predicted.ark || fail=1; -rm predicted.ark -echo "fail=$fail" && [ $fail -gt 0 ] && exit 1; diff --git a/kaldi/test_cases/delay_5_D5_T43_S3/vars.sh b/kaldi/test_cases/delay_5_D5_T43_S3/vars.sh deleted file mode 100644 index 2aced77759..0000000000 --- a/kaldi/test_cases/delay_5_D5_T43_S3/vars.sh +++ /dev/null @@ -1,4 +0,0 @@ -left_context=0 -right_context=5 -subsampling=3 -adjust_final_offset=0 diff --git a/kaldi/test_cases/fixed_affine_40x10_T40_S3/input.ark b/kaldi/test_cases/fixed_affine_40x10_T40_S3/input.ark deleted file mode 100644 index a9b7741c15..0000000000 --- a/kaldi/test_cases/fixed_affine_40x10_T40_S3/input.ark +++ /dev/null @@ -1,41 +0,0 @@ -idx [ - 0.7116149 -1.1246421 -1.5341141 1.2776768 0.332314 -0.7484865 1.551152 0.11567464 1.1792972 0.06751848 2.0607479 1.7553408 -0.24896415 0.97157097 0.64537597 1.3686316 -0.96492344 0.6860515 1.0584245 -1.7587395 -1.1832585 -2.0392323 -0.26940683 0.71754223 1.502357 0.07409478 1.6286155 -1.3801014 -1.7033825 -0.0555477 0.38406545 -0.03269475 -2.0674422 -0.08912004 -1.3044695 0.66967255 0.36659825 -0.9398798 -0.5138669 -1.0592135 - -0.0626791 0.9551423 -0.98572606 0.5040465 -0.53025764 -0.79287285 -0.10703036 -1.0352423 -0.5536493 -1.1978779 1.9647251 0.035263553 -0.6997255 0.21397991 -0.11232805 -0.2209696 0.6141667 0.7575077 -0.5305011 -0.57581824 -0.27505168 -2.3019211 -1.5151911 1.3668742 1.6449677 -0.24903604 0.576557 0.31125015 3.0788808 1.1195749 -0.12791759 -0.9555404 -1.6064463 0.20346363 -0.75635076 -1.4222537 -0.6465729 -1.081548 1.6871417 0.8816398 - -0.007972641 1.4799441 0.077368304 -0.8612842 1.5231241 0.53891003 -1.0372461 -0.19033867 -0.8756183 -1.3827997 0.92617756 1.9094167 -1.3985676 0.5629692 -0.6506426 -0.4871254 -0.59239393 -0.8639908 0.048521627 -0.83095014 0.27045682 -0.05023811 -0.23894805 -0.9075637 -0.5767713 0.75539124 0.5009172 -0.9775552 0.0993323 0.7513871 -1.6694052 0.5433602 -0.66262376 0.57059866 -0.7632592 -1.804882 -1.6275425 0.04808495 0.2597225 -0.9043166 - 0.6385925 -1.66152 -0.066079795 -1.2110162 -0.6518361 0.04739867 -0.8604134 -0.38455555 1.0062928 -0.5768919 0.8356921 -1.1297069 0.52980417 1.4415686 -2.4716444 -0.79689527 0.57707214 -0.20304538 0.37114587 -0.6039852 0.08658979 -0.15567723 1.1677821 0.25442085 0.33760267 -0.41187698 -0.48760623 -0.43255818 0.39445215 -0.42098448 0.28977486 2.0754008 0.8711247 -0.32602352 1.201214 -0.40807536 -2.0381246 -1.0080863 -1.8707919 -0.35151348 - 0.01841838 1.6764373 0.32692736 -0.21910053 0.8294056 -2.2111354 0.23561455 0.7708652 -1.4785862 1.143754 0.33849642 -0.4152879 0.63278186 2.2706928 0.18186626 0.2482206 -0.4593609 -0.8498444 0.8303358 -0.8560838 0.07156624 -0.47765744 0.47897983 0.3336621 1.03754 -0.5100164 -0.26987493 -0.9787637 -0.44429326 0.3773005 0.75698864 -0.92216533 0.8696059 1.3556379 0.4134349 1.8767958 -0.7737892 -1.2446547 -1.7787203 1.4960443 - 0.65436566 -0.05558467 0.27996862 -1.125489 2.445752 0.12922119 0.109394796 0.7257666 0.48100924 0.22388403 -0.7904745 0.47146836 1.8820245 1.34542 1.5931866 -0.5112157 -0.98960483 -0.12578692 0.05572491 1.0941916 -1.6924646 1.5295503 -0.1580079 -0.42688107 -1.0121044 -1.6548567 0.8231706 0.07331797 -1.2899609 -1.2950788 -0.3357847 1.6690215 -0.25959134 -1.503143 -0.24574307 -0.27272356 -2.6968865 -0.054294866 -0.23093453 0.6962064 - 1.8489561 1.126565 -0.26888868 -1.1065259 2.5733597 0.059218433 0.013929292 -0.024125088 0.19808476 -0.14436041 -0.573662 -0.54685897 -0.03275327 -0.5434248 -0.7128458 0.106430225 -0.25497723 1.503993 -2.6509697 1.0915068 1.2460852 -2.0733902 -0.3426876 -0.37144086 -1.4075117 -0.7778167 -1.1105758 1.7522705 0.9356784 1.2715551 0.72167206 -1.1290518 -0.5245203 0.48937455 -1.2221278 0.71299845 -0.24032539 -0.3748208 0.71096 0.4442633 - -0.36096618 1.1593298 -1.0810633 0.6159356 0.59310126 -0.30954644 0.326133 -1.2511135 0.924027 -0.18490213 -0.522723 1.0490092 -0.7043437 -1.4084613 -1.5566292 0.60600996 -1.2804294 1.7547942 -2.0819294 1.6964563 0.21101747 -0.09671311 -0.5449191 0.39913613 -0.037634704 1.1033019 0.114227645 0.15030175 -0.3636122 -0.056945622 0.30780178 -1.7101684 -1.3481854 0.7432641 0.17086543 -0.18398334 0.018433932 0.3475817 -0.5397597 -0.7783047 - 0.19584526 -0.97837275 0.40825275 -1.7025836 1.0291556 0.47259748 0.25602973 0.982691 1.6654744 1.0143701 -1.8408742 -1.279577 -0.62481856 0.02609105 0.517659 -0.72574383 0.18676676 -0.75538296 -0.6115178 -1.4066612 -0.9232333 -1.3516846 -0.97587323 1.0536418 -0.9493989 2.6323822 0.4933179 0.18483612 -0.8583578 0.7003099 -0.5756378 0.122009814 2.5600846 -0.096059896 1.1492733 -0.70317644 -0.03498849 1.7708006 -0.6269671 1.8124485 - 0.7077519 -0.5624668 0.6324077 0.97255445 0.62180996 -1.5702248 -0.72713715 -0.24751863 -0.07443343 0.6206721 0.177701 -1.3353443 0.38019785 0.61058575 0.55979043 1.0807807 0.83392215 0.4591801 -0.07016571 -1.6609609 0.4296182 0.20768769 0.27157885 -1.2767485 -1.0810566 1.0531528 -0.039555155 0.6815007 0.028318375 0.02975614 0.9382838 -0.51604474 0.096120775 -0.4622753 -0.43449622 -0.30917212 0.22213377 -0.47874862 1.2557561 -0.8946073 - -0.18687165 -0.43973106 1.4469779 0.19655478 1.0318445 -1.4855604 0.26705027 0.8896308 0.08228399 1.0654804 -0.51728845 1.4093474 2.2988982 -0.36283857 -0.44550252 1.4533845 1.5795722 -0.52286005 -0.42018682 -0.2817846 -1.3444505 -0.91865194 -1.0041407 -0.7677976 -0.03468489 0.23421474 1.5505005 -0.998354 0.98432237 -0.21398884 -0.049463708 0.67481947 -1.122722 0.38240975 0.16645221 0.49245125 0.28916866 2.4553 -0.63773996 -0.530997 - -0.6231405 -0.55547714 -0.63738716 1.1890166 1.4205042 -0.5707463 -0.83235556 0.47141555 -0.552223 0.6329318 0.20292301 -1.5157441 1.5475053 1.7958777 -0.6127887 -0.38770157 0.2858654 0.3344568 0.6585443 2.0102046 -0.17694722 -0.7982972 -1.3793192 -0.73093003 -0.033126973 1.7945578 -0.5176113 0.22378795 -0.016422896 1.1883932 2.5269325 -0.53086877 -0.48943943 1.0441608 0.6818915 1.8467073 0.58392817 -0.3592921 0.59065485 1.1087036 - 0.8204822 0.50727403 1.0666747 1.1692955 1.382159 0.6487099 -0.16711809 0.14671369 1.206509 -0.81693566 0.3686733 -0.3933388 0.028744822 1.2784519 0.19109906 0.04643655 -1.3598561 0.74625355 0.6454842 2.1632547 -0.30777824 0.21915033 0.24938369 1.5774533 -0.09529553 0.27902153 0.6078965 0.18660912 -0.4464336 0.19409 1.0736318 -1.0265152 0.13296968 -0.7001208 1.1950467 -1.5231869 -0.5589219 0.37721187 1.565524 -0.06575026 - -0.5551995 1.881157 -1.4480139 -2.198806 0.44001445 -0.5020542 -1.0212328 0.70835644 0.24380071 -0.5640786 -1.2803044 0.8724573 0.6502012 -0.09917586 1.846637 -1.0700848 -1.5255252 -0.69190806 -0.045586016 0.24333945 -0.24123606 0.3520554 -1.2515395 1.4437646 -0.08215118 1.1172959 0.34272534 0.45675322 0.5697673 0.44770855 0.6427228 1.3291526 0.19652116 0.70900375 -0.089735694 1.4401172 -0.6763923 1.8009404 -0.04015795 -1.430775 - 0.12810442 -0.6810517 0.8406435 -0.65262395 -0.44618344 -1.8895407 -0.45230633 -2.4238794 -1.5839028 0.76041466 0.78580016 0.42545757 -0.96697617 -0.047711357 -0.0036025392 -1.1583647 1.5033983 0.8773623 -0.22096418 0.02688584 0.20838282 -2.041735 -0.24717738 -0.68198425 -1.00162 -0.2811003 1.7976866 0.64084285 -0.571179 0.5725828 1.3993554 0.9246337 0.05963037 -0.6469368 0.6982233 0.3934854 0.8951932 0.63517183 1.0495527 -0.5352352 - 1.317394 0.1975996 2.0752609 -0.6891878 1.7359638 0.19791079 -0.65141803 -0.48388582 -0.3203473 0.42416593 0.5228355 -0.5737 -0.024354592 2.1422703 1.7275431 0.43632367 0.03800348 0.12003133 0.613518 -1.0227926 -0.25737655 -1.6685841 0.39922312 0.64719594 -0.48318645 1.5739868 -1.2257657 -1.4643749 0.22445183 1.0470983 1.6839277 -0.45888427 1.0786809 -0.03850847 -0.1726273 0.88365996 0.6523229 -1.5763922 1.4765403 1.3800913 - -0.6255627 0.39580354 0.49403018 0.26067376 -0.5503051 -0.67162335 -0.02555407 1.172729 0.54360014 -0.37061432 0.7716987 -2.8485427 1.1487657 -1.7397138 -0.36244094 -1.1196699 -1.2946814 1.1608268 -0.4677012 0.34650388 -0.04692058 0.47704083 0.07682189 -1.2829922 0.99626684 -0.4937566 -1.5565819 -0.42811516 1.5007598 0.85022175 -0.34865212 -0.3492577 -0.32163504 2.076748 0.38193545 0.43004164 1.0302835 0.23878916 -0.25904214 -0.19634984 - -0.07160126 -0.037222236 0.72762954 0.051945888 0.7326401 -0.08071658 0.07863519 -1.9982007 0.91632766 0.34648848 0.9980101 -2.8962555 2.0883746 -0.13958962 1.1081828 -1.0399059 0.6127739 -1.0534155 -0.623769 1.9140314 -0.1906824 0.21743287 0.8700677 0.49568188 0.1504189 0.364961 2.4034157 -0.057618797 0.20109905 1.0506544 1.105526 1.1870303 0.6387302 -1.1430049 1.6334316 -1.1463454 0.30263546 -0.75427586 -0.064138345 0.3287624 - 0.32135722 0.42192075 1.6137112 0.4535343 -0.24415663 0.9640872 1.1894705 -1.2276078 0.59740007 0.70117277 -0.2975635 1.3757068 -0.15005559 0.12557645 -0.17307183 0.015579048 -1.0962751 -1.4400508 1.5945051 -0.8469613 -0.9913924 -2.1533902 -0.63896173 -1.3230898 1.6420152 1.0098171 -0.68815035 2.252436 0.9817655 -0.3248314 -2.4994056 2.2909427 -1.3895725 -1.6453987 1.0225705 2.4397523 1.3842728 0.5639091 0.59475434 0.85341555 - 0.7589286 0.28119144 0.1042011 -0.062593125 -0.7539646 -0.28067508 -1.6929568 -0.098339625 -0.98859113 -1.1035893 0.17989415 1.3920023 0.9183166 -1.5705006 -0.98962814 0.94077116 -0.9824874 -0.22463316 0.5500521 -0.96834445 0.105375506 -1.3340255 -0.60136765 0.31978193 -1.5929937 0.44047475 -0.019637799 0.55248994 0.22391413 1.3641404 0.1252245 -0.42940554 0.1222975 0.543298 0.04886007 0.04059169 -0.7019917 -0.6629009 -1.4026053 1.7495767 - -1.2438632 -0.6929052 -0.7184073 0.8949244 -0.29494968 1.247742 -0.67349064 0.27899417 -0.83534706 2.1451492 -1.1875985 0.3098207 0.6337769 0.4137991 -0.18528765 -0.1298207 0.04381147 -0.147002 0.9638791 2.210523 -0.5574918 -1.369803 -0.08828205 2.5797093 -0.8036746 1.6391168 1.6777008 -0.5535883 0.5689831 1.6283966 -0.37912774 -0.20358036 -0.5816809 -1.0147567 -0.64927757 -1.2239403 0.034083467 -0.7699732 0.23378591 -1.5558957 - 0.33088022 0.83352894 -1.9937357 0.37405658 1.227669 -1.209641 1.6725724 0.419019 -0.70501184 -0.05576908 0.5583269 0.07600539 0.538756 -0.9206736 0.16936083 -1.4137145 -0.11122606 -0.90390766 -0.73552996 1.2360932 1.0913101 0.60913813 -1.0923128 -0.31640846 1.2130977 0.14171691 2.3193295 0.39331785 0.19204912 -0.30911645 0.1335409 -0.15246984 0.70810866 0.9567023 -0.78598946 -1.3312329 -1.8362054 0.5079913 -1.1033666 -2.1528907 - 0.3885786 2.4929996 -0.0060709114 0.8384908 0.08182936 -0.09888966 0.9190765 -0.29027453 0.2673923 0.3216978 -0.66809046 0.99204236 -0.17495976 -0.7557452 0.5365099 -0.89846796 0.028181158 -0.009118997 1.0858955 0.47469825 -0.025026958 0.8177663 1.3902075 0.5578103 0.01035262 -1.3118362 -1.0651137 -0.30522472 -0.6095122 -0.1869713 0.056649923 0.52969277 -0.07049878 0.48650163 0.06447441 -1.9754666 -0.9393354 -0.14408755 -1.2096947 0.59992874 - 1.5307509 1.2187618 -0.21344288 1.4907261 0.14866745 -0.33708596 -0.61340266 -0.3024697 -0.38817683 0.17041622 0.16057397 0.0030460202 0.43693817 1.1906463 0.94955415 -1.484898 -2.5539212 0.9343199 -1.3668787 -0.2247654 -1.170113 -1.8019805 0.5414627 0.75915515 -0.5765104 -2.5910423 -0.54624444 0.391804 -1.4789115 0.18335992 -0.015309849 0.5792915 0.119580366 -0.97306895 1.1965715 -0.15852958 -0.02730454 -0.93326795 -0.44328225 -0.8848027 - -0.17294607 1.7117084 -1.3719012 -1.6135614 1.4711703 -0.20932367 -0.66907275 1.0399047 -0.60561556 1.8260098 0.6779259 -0.4879114 2.157308 -0.6057149 0.74209535 0.2992926 1.3017412 1.5615112 0.032004148 -0.75341785 0.45997214 -0.67771536 2.0133872 0.13653533 -0.36532155 0.18468031 -1.3471262 -0.97161406 1.200414 -0.65689427 -1.046911 0.53665274 1.1857041 0.7189533 0.9960477 -0.7567951 -1.4218106 1.5013336 -0.32267985 -0.250833 - 1.3281941 0.55623 0.45588776 2.1650023 -0.6435182 0.9278401 0.057013124 0.26859227 1.5284684 0.50783575 0.5382961 1.0725074 -0.36495274 -0.8392097 -1.0448092 -1.9663566 2.0562072 -1.1032084 -0.22125362 -0.2768133 0.3074067 0.8157372 0.8604735 -0.58307743 -0.16712171 0.28257996 -0.24869113 1.6073456 0.49097496 0.73487777 0.66288126 1.1734738 0.18102156 -1.296832 0.39968795 -0.6513569 -0.52861667 0.58636403 1.238283 0.021271577 - 0.308833 1.702215 0.24075317 2.6016831 0.5655096 -1.7607628 0.7533416 0.38115838 1.2897527 0.67318135 -0.13845599 -1.2242982 -0.20902325 -0.85052043 -0.58052343 0.5885784 1.6699045 0.39467153 -1.195883 0.44460267 1.1966314 -0.6097829 -0.13401717 0.014688195 -0.78489834 0.64828044 -0.12094815 0.41953245 -0.8874922 -0.4374583 0.72238135 -0.37283316 1.7269639 -0.39963618 0.22468473 0.93259084 -1.4183657 -1.7608088 -1.5256563 1.2625841 - -0.5518581 2.5581992 -0.5642476 0.1845513 1.54211 2.0060928 2.0615036 1.2083663 1.0240625 0.592527 0.7783611 -0.5511857 -0.81819886 -0.0033744574 -0.17018463 -0.45322806 0.69638747 0.9553052 0.08840688 1.4775301 -1.1416891 -0.19365945 -0.7168223 -1.8665366 -0.08268069 -0.12174751 1.5134498 0.6308117 -1.0241868 1.8540926 1.2210337 0.5820977 -0.2264841 -0.9594392 -0.37220678 1.0887486 1.8845863 1.5432435 -0.48884943 -1.1196175 - 0.14088625 -1.7684394 0.3231677 -0.14760259 -0.4660365 -1.5947031 0.5136001 -0.53270084 -1.1699169 -2.8722622 -0.027514905 1.7722516 1.6612592 -0.45709625 -0.6022121 0.46877426 -0.9983854 0.3017919 0.76608026 1.2269332 -0.10015408 -0.20367375 -0.8779826 -0.82688034 -0.22647889 0.3673655 0.91358465 -0.80317897 1.4926885 -0.2711236 -0.021367295 -0.7472117 -2.4242404 0.8840454 0.7368439 -0.28132755 0.06699072 0.51593924 -1.5625459 -0.5290527 - 0.7942647 -1.2542894 0.29355794 -1.3565818 0.46642998 -0.035641484 -1.6151319 1.1647394 -0.7345916 -0.8102524 0.2005692 1.1486373 -1.0158218 0.06167985 0.4288165 0.6931056 0.17644155 -0.36702785 -0.8275902 0.08614388 -1.072139 -2.9213505 0.4365598 0.90393484 -2.3629324 -1.0097307 0.6191543 2.0574954 0.020793708 -0.72800297 -0.18289644 1.3748764 -0.6459642 -0.799192 -0.48274353 -0.9533286 0.122670315 1.6246785 0.3230793 -0.2523535 - -0.29181126 -1.5631908 0.88310975 -0.0778372 -0.18047991 3.1931076 0.2987529 -0.75179106 -0.4263576 1.1484457 0.11327041 -1.438278 0.9192289 -0.6681441 1.8732978 1.0800481 -0.4473219 1.2810163 0.06785551 0.85277367 0.4847328 -0.84635663 -0.64354986 1.0299609 -0.33477533 -0.40364847 -0.9551226 0.42359906 2.062525 -1.0675329 0.024219457 1.4122206 -0.079641394 0.4523718 -1.0623935 0.4283071 -0.18714426 0.98573 1.187386 2.5895636 - 0.5796332 0.3257963 0.1943843 -0.35316628 0.33848384 -0.29540142 0.16846098 1.3175975 -1.0065426 1.1398785 1.3171151 -0.11806852 -2.1218548 -0.607822 1.2969946 -0.022868061 -0.9993022 -0.5047749 0.84062004 0.54673356 -0.2389321 -0.36682442 -0.39175814 -0.9224102 1.6153756 -0.32232046 1.2171586 1.521316 0.9983109 -0.4316203 0.4037301 -0.024195606 -0.90370184 0.32435927 -1.1790398 1.1876794 -0.4646173 0.20115966 0.28328788 -0.25890496 - 0.5866938 -0.47490364 0.8712973 -1.3459797 0.12637958 1.938929 -1.0003313 -0.677745 0.51390785 0.17958178 0.3506301 0.48918712 0.63472146 1.1096998 0.40981865 -0.24125765 0.6725737 1.899882 -0.13263375 -0.9745293 1.1070807 -0.12038116 -2.1726696 0.8474217 -0.5353282 -0.09053328 0.33198032 0.19049968 0.7094518 -0.43548638 0.5131058 -0.25954667 0.7388105 0.6153675 -0.9354387 1.0859821 -0.5359634 0.8080578 0.3672873 1.8381836 - -0.22346598 -0.3493168 -0.019419607 -0.30317977 0.7999419 -1.6163106 -1.0536824 -1.0678029 0.9503076 1.7106134 -0.10444922 -0.16882172 0.07005216 1.1618783 -0.92735314 0.23836899 0.9751976 0.50109416 0.18958162 1.0010461 -2.7032323 0.67787534 -0.6540757 -1.8306329 0.5112026 1.3736585 -0.13744852 0.95287454 1.6122782 1.3149145 1.6399646 0.7421275 0.07543364 -1.6019658 -0.24606249 -0.8432466 2.1709428 -0.17588581 0.123204805 0.55148536 - 0.043602448 1.6950511 -0.6226494 0.19460745 -0.74247056 -1.3200225 -0.6117691 -0.0370368 -0.42930222 -0.69242096 -1.4063175 -0.08310557 -1.5047203 0.76005596 0.08243975 -1.4575515 -0.30920908 -0.7521564 0.3191745 1.3404504 -1.8751725 0.11502608 -0.1601328 0.67134005 0.21319664 -0.75196934 -0.31905395 -0.7960259 1.0760071 0.021311648 1.9011906 -0.060660813 -0.70840675 -1.5137144 -1.8031397 -1.5841359 0.26712665 0.50872505 -1.5811907 0.8950383 - -0.48306105 0.14679301 1.6122206 0.8968393 -0.26853064 -0.8911922 -2.1518154 -0.71915334 -0.21113023 -0.9871795 -0.13125697 0.07685188 -0.22485599 -0.6500026 0.16865467 0.44194064 -1.090399 1.4109324 -0.09858813 0.018849622 0.7082144 0.23321614 0.9531366 0.28712416 -0.61243737 0.3615035 -1.1437262 0.108559705 -0.03322999 -0.20811686 -0.1285375 -1.881849 -0.5487249 0.0928449 0.1598564 -1.0276752 1.2657079 -0.8661749 0.9694572 0.42719436 - -0.6462273 1.7753109 -1.1936368 0.91915417 1.0005823 -0.6706202 1.3924654 -0.25004652 0.28869364 0.26032183 -0.13430874 0.8108083 0.79348874 -1.7485319 1.3043402 -1.662492 1.0325462 1.1267052 -1.0909665 -0.4108143 -1.1057047 -0.21492103 -0.30803427 0.7796605 1.3103087 1.3956838 -0.562168 -0.20922187 -1.6834382 -0.80587006 0.9648516 1.6155828 -1.2343489 -0.59246427 -0.026405757 0.28016117 -0.8096035 0.42406103 -0.47383934 -0.014452271 - 0.54628426 0.0064222696 -0.4363859 -0.109609805 -0.08836296 -0.37001103 -0.25879607 1.5986471 0.56091946 -0.2954803 0.6969544 -0.33381948 1.1731247 0.3696422 -0.107302144 0.44771692 -1.5708761 -1.1267675 -1.193925 0.1429431 1.732515 2.2313 0.6380511 0.5008445 -1.8010577 -0.5426738 -0.78778374 -0.6208476 -0.16814382 -0.47209057 -1.9792998 0.74791026 -1.072743 0.23924686 2.0740826 -0.9193846 -2.5302875 -0.28600422 1.1009597 1.9583474 - -1.2295496 0.4966992 -0.46531045 -0.10594835 2.6443434 -1.5029703 0.25373966 0.46769318 1.0857863 0.09798315 0.30805054 -0.39164856 0.26912695 -0.34319228 0.6215719 -0.36961034 0.3771004 -0.029262813 1.1260502 -0.051393725 -1.7730324 1.2619215 -0.9057323 -0.65376633 -0.5956613 1.374438 -2.1356742 3.1377485 1.0560569 0.22323892 -0.054894 0.28555408 0.52112246 0.6452156 0.55560446 0.089580685 -0.19733842 -0.15127328 -0.19490828 1.1337701 - 0.5935567 -2.9403887 0.6559008 0.1947362 -0.018708756 -0.38851845 1.1241127 0.94752645 -0.7728777 0.40705228 -0.97165674 -1.3796182 -0.6267172 0.8623935 0.95312506 0.5130854 0.7250958 0.5161783 -0.6414816 0.43192255 0.8004095 0.75429136 1.1889133 0.70830387 0.3514482 1.0701503 -0.02652126 -0.8818747 -0.16306697 -0.7449027 -0.6751783 -0.14451867 -0.7924199 -0.30796152 -1.8936146 0.2132937 0.0012054754 -0.8170886 0.65924567 0.93757015] \ No newline at end of file diff --git a/kaldi/test_cases/fixed_affine_40x10_T40_S3/io.npz b/kaldi/test_cases/fixed_affine_40x10_T40_S3/io.npz deleted file mode 100644 index d4700217be..0000000000 Binary files a/kaldi/test_cases/fixed_affine_40x10_T40_S3/io.npz and /dev/null differ diff --git a/kaldi/test_cases/fixed_affine_40x10_T40_S3/model.raw b/kaldi/test_cases/fixed_affine_40x10_T40_S3/model.raw deleted file mode 100644 index 0ef92e703e..0000000000 Binary files a/kaldi/test_cases/fixed_affine_40x10_T40_S3/model.raw and /dev/null differ diff --git a/kaldi/test_cases/fixed_affine_40x10_T40_S3/model.raw.txt b/kaldi/test_cases/fixed_affine_40x10_T40_S3/model.raw.txt deleted file mode 100644 index e47ec01761..0000000000 --- a/kaldi/test_cases/fixed_affine_40x10_T40_S3/model.raw.txt +++ /dev/null @@ -1,21 +0,0 @@ - - -input-node name=input dim=40 -component-node name=fixed1 input=input component=fixed1 -output-node name=output input=fixed1 - - 1 - fixed1 [ - 0.4967141530112327 -0.13826430117118466 0.6476885381006925 1.5230298564080254 -0.23415337472333597 -0.23413695694918055 1.5792128155073915 0.7674347291529088 -0.4694743859349521 0.5425600435859647 -0.46341769281246226 -0.46572975357025687 0.24196227156603412 -1.913280244657798 -1.7249178325130328 -0.5622875292409727 -1.0128311203344238 0.3142473325952739 -0.9080240755212109 -1.4123037013352915 1.465648768921554 -0.22577630048653566 0.06752820468792384 -1.4247481862134568 -0.5443827245251827 0.11092258970986608 -1.1509935774223028 0.37569801834567196 -0.600638689918805 -0.2916937497932768 -0.6017066122293969 1.8522781845089378 -0.013497224737933921 -1.0577109289559004 0.822544912103189 -1.2208436499710222 0.2088635950047554 -1.9596701238797756 -1.3281860488984305 0.19686123586912352 - 0.7384665799954104 0.1713682811899705 -0.11564828238824053 -0.3011036955892888 -1.4785219903674274 -0.7198442083947086 -0.4606387709597875 1.0571222262189157 0.3436182895684614 -1.763040155362734 0.324083969394795 -0.38508228041631654 -0.6769220003059587 0.6116762888408679 1.030999522495951 0.9312801191161986 -0.8392175232226385 -0.3092123758512146 0.33126343140356396 0.9755451271223592 -0.47917423784528995 -0.18565897666381712 -1.1063349740060282 -1.1962066240806708 0.812525822394198 1.356240028570823 -0.07201012158033385 1.0035328978920242 0.36163602504763415 -0.6451197546051243 0.36139560550841393 1.5380365664659692 -0.03582603910995154 1.5646436558140062 -2.6197451040897444 0.8219025043752238 0.08704706823817121 -0.2990073504658674 0.0917607765355023 -1.9875689146008928 - -0.21967188783751193 0.3571125715117464 1.477894044741516 -0.5182702182736474 -0.8084936028931876 -0.5017570435845365 0.9154021177020741 0.32875110965968446 -0.5297602037670388 0.5132674331133561 0.09707754934804039 0.9686449905328892 -0.7020530938773524 -0.3276621465977682 -0.39210815313215763 -1.4635149481321186 0.29612027706457605 0.26105527217988933 0.00511345664246089 -0.23458713337514692 -1.4153707420504142 -0.42064532276535904 -0.3427145165267695 -0.8022772692216189 -0.16128571166600914 0.4040508568145384 1.8861859012105302 0.17457781283183896 0.25755039072276437 -0.07444591576616721 -1.9187712152990415 -0.026513875449216878 0.06023020994102644 2.463242112485286 -0.19236096478112252 0.30154734233361247 -0.03471176970524331 -1.168678037619532 1.1428228145150205 0.7519330326867741 - 0.7910319470430469 -0.9093874547947389 1.4027943109360992 -1.4018510627922809 0.5868570938002703 2.1904556258099785 -0.9905363251306883 -0.5662977296027719 0.09965136508764122 -0.5034756541161992 -1.5506634310661327 0.06856297480602733 -1.0623037137261049 0.4735924306351816 -0.9194242342338032 1.5499344050175394 -0.7832532923362371 -0.3220615162056756 0.8135172173696698 -1.2308643164339552 0.22745993460412942 1.307142754282428 -1.6074832345612275 0.1846338585323042 0.25988279424842353 0.7818228717773104 -1.236950710878082 -1.3204566130842763 0.5219415656168976 0.29698467323318606 0.25049285034587654 0.3464482094969757 -0.6800247215784908 0.23225369716100355 0.29307247329868125 -0.7143514180263678 1.8657745111447566 0.4738329209117875 -1.1913034972026486 0.6565536086338297 - -0.9746816702273214 0.787084603742452 1.158595579007404 -0.8206823183517105 0.9633761292443218 0.4127809269364983 0.82206015999449 1.8967929826539474 -0.2453881160028705 -0.7537361643574896 -0.8895144296255233 -0.8158102849654383 -0.0771017094141042 0.3411519748166439 0.27669079933001905 0.8271832490360238 0.01300189187790702 1.4535340771573169 -0.2646568332379561 2.720169166589619 0.6256673477650062 -0.8571575564162826 -1.0708924980611123 0.4824724152431853 -0.2234627853258509 0.714000494092092 0.47323762457354485 -0.07282891265687277 -0.846793718068405 -1.5148472246858646 -0.4465149520670211 0.8563987943234723 0.21409374413020396 -1.245738778711988 0.173180925851182 0.3853173797288368 -0.883857436201133 0.1537251059455279 0.058208718445999896 -1.142970297830623 - 0.3577873603482833 0.5607845263682344 1.083051243175277 1.053802052034903 -1.377669367957091 -0.9378250399151228 0.5150352672086598 0.5137859509122088 0.5150476863060479 3.852731490654721 0.570890510693167 1.135565640180599 0.9540017634932023 0.651391251305798 -0.3152692446403456 0.7589692204932674 -0.7728252145375718 -0.23681860674000887 -0.48536354782910346 0.08187413938632256 2.3146585666735087 -1.867265192591748 0.6862601903745135 -1.6127158711896517 -0.47193186578943347 1.088950596967366 0.06428001909546277 -1.0777447779293061 -0.7153037092599682 0.6795977489346758 -0.7303666317171367 0.21645858958197486 0.045571839903813784 -0.6516003476058171 2.1439440893253257 0.6339190223180112 -2.025142586657607 0.18645431476942764 -0.661786464768388 0.852433334796224 - -0.7925207384327007 -0.11473644146689901 0.5049872789804571 0.8657551941701215 -1.2002964070557762 -0.3345012358409484 -0.4749453111609562 -0.6533292325737119 1.7654542402810969 0.40498171096095553 -1.2608839543350452 0.9178619470547761 2.1221561970126332 1.0324652605511468 -1.5193699659540134 -0.48423407286625136 1.2669111491866227 -0.7076694656187807 0.44381942814622843 0.7746340534293368 -0.926930471578083 -0.05952535606180008 -3.2412673400690726 -1.0243876413342898 -0.2525681513931603 -1.2477831819648495 1.6324113039316352 -1.4301413779606327 -0.44004448669698376 0.13074057728609134 1.4412732890661155 -1.4358621511794394 1.1631637521549596 0.010233061019587049 -0.9815086510479509 0.46210347426327075 0.19905969557347003 -0.6002168771587947 0.06980208499001891 -0.3853135968617602 - 0.11351734525124804 0.6621306745210467 1.586016816145352 -1.237815498826849 2.1330333746562666 -1.9520877995225019 -0.15178509503558332 0.5883172064845765 0.28099186773503265 -0.6226995198205938 -0.20812225035727522 -0.4930009346588328 -0.5893647569442115 0.8496020970210246 0.35701548596504734 -0.6929095952606542 0.8995998754332507 0.30729952087660933 0.8128621188389601 0.6296288419236122 -0.8289950109220723 -0.5601810401969696 0.7472936051232618 0.6103702654334648 -0.020901593964148132 0.117327383308782 1.277664895788425 -0.5915713888358299 0.5470973811700379 -0.20219265243389406 -0.2176812032272203 1.09877685198719 0.8254163489880298 0.8135096360006385 1.305478807154329 0.02100384163275905 0.6819529712949639 -0.31026675659345604 0.3241663524884421 -0.13014305436768459 - 0.09699596499271819 0.5951570254369136 -0.8182206832334725 2.0923872756854602 -1.006017381499702 -1.2141886127877322 1.1581108735000678 0.7916626939629359 0.6241198170521551 0.6283455092642799 -0.012246772846914623 -0.8972543714858315 0.07580455819372633 -0.6771617115121117 0.9751197334177512 -0.14705738150213865 -0.8254971967925115 -0.32138584165299344 0.41293145427562433 -0.5637245528039747 -0.8222203955664315 0.2436872114919123 0.24496657110872277 -0.5069431753711298 -0.4710383056183228 0.2320499373576363 -1.4480843414973241 -1.4074637743765552 -0.718444221252436 -0.21344715171184725 0.3109075655980046 1.475356216949552 0.8576596232020194 -0.1599385299634271 -0.01901620790268883 -1.0025293646378088 -0.01851313599238993 -0.2886586389201383 0.3227185603380895 -0.827230943552323 - 0.5193465142411723 1.5327389130025777 -0.1087601484568576 0.40171172209894146 0.6901439917111125 -0.40122047188583626 0.22409248181041677 0.01259240078179486 0.09767609854883172 -0.7730097838554665 0.024510174258942714 0.49799829124544975 1.4511436077950417 0.9592708260852069 2.1531824575115563 -0.7673475628880495 0.8723206367206782 0.18334200573835174 2.1898029332176723 -0.8082982853551515 -0.8397218421807761 -0.5993926454440222 -2.123895724309807 -0.525755021680761 -0.759132661553698 0.15039378647620763 0.34175597577715944 1.8761708392158862 0.9504238381860503 -0.5769036556624031 -0.898414671348358 0.4919191715065057 -1.3202332070206422 1.8314587658543537 1.179440120721287 -0.4691756521047048 -1.7131345290908775 1.3538723741654128 -0.11453984525261789 1.2378163119734618 ] - [ -1.594427658794367 -0.5993750229537729 0.005243699718183166 0.046980593764742055 -0.45006547147924364 0.6228499323474987 -1.0676204293825944 -0.1423794850212935 0.12029563171189886 0.514438834058749 ] - - \ No newline at end of file diff --git a/kaldi/test_cases/fixed_affine_40x10_T40_S3/output.ark b/kaldi/test_cases/fixed_affine_40x10_T40_S3/output.ark deleted file mode 100644 index 8ea288fe74..0000000000 --- a/kaldi/test_cases/fixed_affine_40x10_T40_S3/output.ark +++ /dev/null @@ -1,15 +0,0 @@ -idx [ - -5.018385 7.180791 0.6126137 -4.789227 -5.402118 3.922492 2.274158 -3.234049 5.661192 0.5017624 - 6.243743 -2.660838 -5.512766 2.784289 -3.037371 5.091276 -1.070386 4.145773 -0.5984672 -4.380428 - 0.2429279 -1.080101 -2.663827 -3.72494 5.150802 -1.198113 -6.798202 0.1380561 -11.01751 -0.3171104 - 1.109653 2.380222 -3.54259 -2.533782 -4.469106 3.892142 -0.7932406 1.303995 4.748288 0.7465834 - -10.21449 -4.756154 -6.218893 -1.049488 9.35709 -1.817729 -0.8046911 6.711157 -0.5214132 2.860018 - -10.123 -2.475762 -0.7483667 8.557528 -2.473605 4.662777 -3.784007 11.56966 -1.103899 0.4739205 - 6.194734 3.10792 8.453327 6.598055 -1.80205 12.42192 -8.002301 -0.5314071 -2.707006 13.52641 - -0.2517998 6.648515 1.900988 -16.64747 5.140156 -1.097002 2.518281 0.4794126 2.987811 6.356436 - -2.814262 -10.87031 -4.345489 -8.427851 2.755162 12.25549 -16.19531 6.735978 3.50071 9.727483 - -4.326571 2.292295 -0.7775016 -3.77671 10.94629 -2.875319 4.454179 2.549801 0.787912 0.5732879 - -5.639728 -1.774779 -2.523633 7.959385 4.651799 -1.508334 -9.798073 -7.436312 -4.415413 7.090878 - -5.832764 1.339008 -1.820166 5.534186 -6.71715 -3.580753 10.43327 6.574951 0.03458105 -1.813495 - 4.057893 -2.601015 -1.698674 -12.06723 4.736001 0.5101943 -5.578726 -0.378062 9.955118 8.608047 - -0.6480998 2.324898 0.8033186 1.853789 4.720376 -1.090071 -9.630793 -0.1932385 0.352091 -10.67735 ] diff --git a/kaldi/test_cases/fixed_affine_40x10_T40_S3/subsampling b/kaldi/test_cases/fixed_affine_40x10_T40_S3/subsampling deleted file mode 100644 index e440e5c842..0000000000 --- a/kaldi/test_cases/fixed_affine_40x10_T40_S3/subsampling +++ /dev/null @@ -1 +0,0 @@ -3 \ No newline at end of file diff --git a/kaldi/test_cases/fixed_affine_40x10_T40_S3/test.sh b/kaldi/test_cases/fixed_affine_40x10_T40_S3/test.sh deleted file mode 100644 index 54767f80e3..0000000000 --- a/kaldi/test_cases/fixed_affine_40x10_T40_S3/test.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -nnet3-compute --frames-per-chunk=41 --frame-subsampling-factor=3 model.raw.txt ark:input.ark ark,t:predicted.ark 2>.error -fail=0 -diff output.ark predicted.ark || fail=1; -rm predicted.ark -echo "fail=$fail" && [ $fail -gt 0 ] && exit 1; diff --git a/kaldi/test_cases/fixed_affine_40x10_T40_S3/vars.sh b/kaldi/test_cases/fixed_affine_40x10_T40_S3/vars.sh deleted file mode 100644 index 626d88e288..0000000000 --- a/kaldi/test_cases/fixed_affine_40x10_T40_S3/vars.sh +++ /dev/null @@ -1,4 +0,0 @@ -left_context=0 -right_context=0 -subsampling=3 -adjust_final_offset=0 diff --git a/kaldi/test_cases/fixed_affine_40x64_T25_S1/input.ark b/kaldi/test_cases/fixed_affine_40x64_T25_S1/input.ark deleted file mode 100644 index 93ee5a6ae1..0000000000 --- a/kaldi/test_cases/fixed_affine_40x64_T25_S1/input.ark +++ /dev/null @@ -1,26 +0,0 @@ -idx [ - 0.4097628 -0.8610879 1.40337 0.6979033 -0.443044 -0.47949296 0.29657555 0.4631848 0.19729227 0.31130868 1.6999574 1.0715431 0.19063559 0.9413106 -1.0325239 0.39792705 1.8093064 -0.21804589 -0.84763396 -0.6520889 -1.089633 -0.7847619 -0.3705081 -1.405567 0.015618334 0.9022772 -0.9077562 1.5192839 0.5107921 1.0305806 -0.65783453 0.8545252 -1.0919338 0.8902475 0.17183934 0.5532512 -1.1755946 -0.89506984 0.5972282 -0.948348 - 0.4632063 -1.3671378 0.8481742 -1.2325233 0.5522999 0.6256309 -0.6967718 0.58202654 0.26044226 -0.53884184 -1.0085547 -1.9626257 0.34965006 -1.5648028 0.0953442 -0.2634482 0.6791428 -0.3020455 -0.32944778 0.7318707 0.33505803 0.31615597 0.46926758 -1.5355722 0.7567887 0.6124688 -1.0166831 -0.24408047 -0.03930729 -0.13449678 0.33385998 1.4313668 1.0817667 -1.3122191 0.62207 1.3289334 0.3868085 1.0909804 2.0122705 1.0237095 - 0.2493086 1.0450885 0.14488783 0.023903044 -0.35141423 1.5634134 -0.8184287 1.5323677 0.49986413 -1.3993062 0.3676493 -2.1000266 0.625508 0.8852315 -0.59235597 0.123547696 1.9541575 -0.5057467 -1.0589076 1.4816633 1.9625872 0.003695672 1.011463 1.341476 -0.7424842 -0.48530585 1.2308745 1.6850142 0.5628809 -0.8798143 1.9870611 -0.5309709 -0.33513778 0.34233785 1.5541605 0.85397595 0.4148655 0.46328852 0.04351467 0.5581395 - -2.52956 -0.29660746 0.24132194 -1.1510141 0.3863233 -0.20447122 1.7554756 1.5730197 -0.46580556 -0.1508377 -0.073947564 -0.45165947 0.19502498 -0.75828207 -1.1306154 0.62271124 0.6295296 -0.80431575 0.8953554 -0.63157773 0.25316525 0.82034403 -0.033612564 0.4547409 -0.51642966 -0.19646658 -0.20585944 -0.74657834 -0.17677416 -1.5486183 -0.49115375 -0.28487548 -0.25617975 -0.24149744 -0.0617642 0.47944152 0.8745171 -0.64976525 -1.2032008 -1.0420444 - -0.4872029 -0.35192132 -0.76999605 -1.2961167 -0.45612082 0.18142661 0.5950295 -0.55742306 -0.4129978 -0.9266983 -0.03143917 -0.8484286 0.5731278 -1.7858665 -0.35962966 0.30110735 0.18383452 2.6930337 0.34980002 -1.0040545 -0.095464244 -1.7762463 -0.08059975 -0.83305603 0.91539025 -0.5495403 -0.11676592 -0.63555783 1.7388513 -0.32124278 1.8325571 0.81415176 0.48206672 0.36873314 0.3937973 -1.9276726 -0.2788834 0.845158 -0.048897184 -1.4051899 - -0.052404452 1.7041055 1.2468917 -0.06200401 0.9514493 -0.36650702 -1.7038716 -0.924466 1.5628887 -0.27399307 -0.24338397 -0.2998382 1.9041365 1.6259589 2.2187803 -0.1590452 0.2956245 -1.5166426 1.4769344 -1.1677796 0.21677557 -1.0973026 -0.58886683 -0.83726245 -0.6078753 -0.5391227 -0.5482688 0.8333339 -1.1048628 0.22054143 1.2179592 -0.51319635 -0.7179189 -0.23052463 1.1797252 0.19410764 -0.5312143 0.48387665 -1.1022922 0.6813595 - 0.4086073 -0.30780846 -0.8385858 -0.8866809 0.53481734 1.2289805 -0.63730776 0.4583867 -2.087027 -0.58461773 -0.031058934 -0.9096834 -0.9365064 -0.66777956 0.29219273 -0.18732902 -2.2382312 -2.1207001 -0.60686517 0.45768657 -2.747505 -0.49973017 -0.52624786 1.3883377 -0.3850218 0.382989 0.14125714 -2.1305666 0.7682072 0.21539651 0.50826865 3.9262378 -2.084113 1.7246966 -0.2874475 0.2873289 -0.045512244 -0.42423633 -0.5698329 0.32950872 - -1.5171736 0.7505792 -0.4161944 -1.1300694 -0.45001286 1.2571492 -0.53533506 0.35845363 -0.73095626 0.7579219 0.6855077 1.8486089 -0.17556395 0.6686548 0.09806754 1.2958717 -0.7188324 0.7450053 -0.19469729 -0.064188175 0.091752484 0.2522404 -0.11622904 0.21471319 1.5781181 0.9854497 0.8691546 -0.45553952 -0.8892408 0.95530057 0.8760468 1.4726707 -0.6039806 -0.22954865 -1.6394842 -0.3924711 0.9965705 -0.46649536 0.6404798 -0.1905031 - 0.32405704 -1.1476914 0.08520945 -2.991136 -0.18689616 -1.6304733 1.2059945 0.77740735 0.466671 1.5210062 -0.9489165 1.7473632 0.93219155 -0.2365553 1.1356201 -1.1062936 -0.82451415 -0.6085897 -0.5289777 -1.0565577 1.223083 -0.2588544 0.35250497 -0.57035136 -1.8206033 0.27005735 -1.9122549 -0.06863405 -1.368315 1.987276 0.9113627 0.105753794 1.2637067 -0.846316 0.5434794 0.19981043 0.2640201 1.2723535 0.7324921 0.28872368 - -1.6548874 -0.9600463 -0.12270893 0.093372375 -1.1302037 2.4116766 1.516394 0.6021183 0.07203686 -0.21220897 -0.9519185 0.07748052 0.25775254 -1.2417606 0.33417642 -0.15525904 -1.9078076 -0.860385 -0.41360554 1.8876877 0.5565531 -1.3354815 0.4860363 -1.547304 1.0826911 -0.47112465 -0.09363619 1.3257966 -1.2871636 -1.3971182 -0.5835993 1.0383788 -1.5193461 -2.8321557 -0.45115885 0.5517408 1.2002617 -0.46316135 -0.4114266 1.1539007 - -1.8697417 -0.38852078 0.19042389 0.44921872 -0.5098067 0.034441013 -2.4883273 -0.6582484 0.4535087 -0.982294 0.05898422 0.4468725 -0.3425492 0.17046377 -0.96273255 -0.20661128 0.61021614 0.15697296 -0.5865313 0.2242164 0.7146098 -2.0499413 1.1590741 -0.33625475 0.42548993 1.1972469 -1.3716737 -0.709441 -0.2885487 -0.7837535 1.7349366 -0.85677207 -0.55554676 0.20438904 -1.2021495 -0.39568073 0.31745327 -0.3328604 -0.09338686 -0.5293321 - -1.5144703 0.32159323 1.7549331 0.01840163 0.22526412 0.69272274 -1.2693305 1.7025146 0.2023288 1.6318569 -0.733033 1.818062 0.7751555 0.5530401 0.23402445 -0.24852861 1.2005316 0.14035986 -1.9670697 -1.1171864 -0.18584575 0.309999 -0.05658849 1.2189708 -1.9511019 0.14358793 -1.8179792 0.7597123 -0.094458714 0.41960996 -0.86388296 1.279465 1.0417247 0.5835443 -0.12951724 0.5798573 -0.70689255 0.85555565 1.6494809 1.0706105 - -0.72960246 0.36141732 -1.2931415 0.5723903 0.45060343 -1.8698163 -1.1617838 -0.2831389 -0.30085975 -1.209477 0.38897872 0.2514736 -0.19426914 -0.7557915 1.0487071 1.6554071 -0.4835615 -0.61216694 0.49120766 -0.35802937 -0.1393972 0.73965317 -1.9093561 1.3183023 0.072680525 -0.41149315 -0.08923415 -0.037570644 -1.7312013 1.4949383 0.041325632 0.44300213 0.95154977 -1.0211625 0.4734719 -0.2676411 0.84677076 -2.1272273 -0.0990943 -0.60282063 - 0.43226296 0.4700442 -0.70762587 -0.7121739 -0.110665366 -0.8966422 0.8419837 -0.3692072 -2.9069881 -0.37482205 -1.0385438 -1.6312758 -1.2374266 0.109408475 1.3286408 0.31318447 -0.60650337 0.4559042 -0.45909032 -0.69460034 -1.1543627 -1.7518288 -0.3899237 0.15805349 -0.09662367 -0.41596693 -0.94574606 0.6082462 -1.3171319 0.7760279 -1.002217 -0.75243527 -1.4667852 -0.50140214 0.9753125 0.5156281 0.9784221 0.5221425 -1.1036699 -0.33078924 - -0.7801991 1.3305749 -1.1967887 0.8936977 0.8929539 1.8296202 -0.4096866 0.7123222 2.2816517 -0.6176417 -1.5350403 -1.88001 0.71271205 -1.8831502 -0.37231904 0.4373132 0.18517554 0.42544487 0.22228986 1.2788658 -0.9523164 -0.67699516 -0.7726594 0.8301918 0.9003986 0.4512253 1.1834936 -1.1780409 1.6672242 1.5232387 0.735622 1.781799 -1.6566232 -0.52444816 -0.73530346 0.7214793 -1.0501407 0.75749516 1.3705361 0.6952029 - 0.283751 -0.9878733 -0.846851 1.2496189 0.779349 -0.039019518 -0.41790953 -2.0258079 -1.0708524 1.911419 -1.2804556 0.18947983 1.007444 -1.2549226 0.18471047 0.93791556 0.012499322 2.868403 -1.6685992 1.0587286 -0.17280173 0.77192014 0.44130716 -0.7331562 0.2289964 -1.8579015 0.6032475 0.29815847 0.6386602 1.0581183 0.36761984 0.14808942 -0.88106835 -0.7122208 1.1867347 1.4363354 -0.23811044 0.046002746 -0.9046144 1.1727568 - 0.66541684 1.9412174 -0.8783231 -0.3780079 0.23144592 0.64648956 -0.21566764 -0.8729611 0.8814075 0.7211354 -0.91627413 1.3554428 1.1701987 0.13429649 0.07959786 0.5540578 -0.8617031 0.03003148 -2.1523836 0.87645566 -1.5614933 1.5034199 -0.3301201 -0.21166699 -0.6277339 -0.28803888 1.4185313 -2.4878087 1.2769654 0.33802348 -1.2070216 -1.0753124 1.676393 -0.9455069 -1.1533505 1.1373146 0.33855286 -0.9379256 0.21662498 -1.0257527 - 1.1008214 1.061371 0.5320062 0.36166105 1.7611881 -0.00031367262 -1.1818742 0.44947392 2.086047 -1.0147595 -0.36146277 0.41644603 -0.05390485 -0.98230356 1.1218579 2.3200407 0.19613145 -0.9040683 -1.5489606 0.257976 1.1038773 0.47516775 -0.002403841 -0.58927166 -1.0921637 0.8347513 0.9137716 -1.5457298 1.589839 0.5740712 1.3995947 -1.3421278 -1.3658241 -0.14896931 0.50278443 1.7963609 0.7060789 -0.24268128 -1.0263692 1.2300006 - -0.9647054 1.6284685 -0.28438464 1.590582 0.6789313 -0.1369955 -0.51939636 -0.34090787 0.42831668 0.0771565 -0.5938114 -0.16563141 0.07857703 -2.128734 0.45816812 -0.97972125 -1.1533324 -1.6873443 -1.7938925 -1.3554475 -0.709021 1.9532591 -0.5258797 0.17775011 0.40048137 0.13106519 -0.07744346 -1.1952938 1.4509275 1.8071966 -1.6826587 -1.0240285 -0.27981034 -0.9645378 0.50596553 -0.7282722 2.165056 1.1905485 0.21257403 1.0269862 - 1.1059004 -0.5639475 -0.81621724 0.07814306 0.8616361 0.1390604 -1.5769964 -0.80282444 -0.073972866 -0.07566561 1.9725422 -1.385988 0.50558925 1.4891131 2.2714498 -0.40439743 0.49142945 0.5697604 0.19548173 -0.0988452 0.4359754 -2.532246 0.6820695 0.1261779 -0.2224749 2.0468621 -0.674934 -0.403076 1.9915533 -0.8320613 -0.5501153 -0.14702542 0.8407345 0.2078025 -1.2926253 -0.53216857 -0.60735446 -0.07722104 0.42584366 0.41820577 - -1.7760117 1.063941 0.25256884 1.3845321 0.44419834 1.101323 0.4665453 1.3462257 0.52225065 -0.09791525 2.2724347 0.88903713 0.5737444 -1.2763044 -1.2883077 0.2927155 0.1455212 -0.61412257 0.1409827 1.588627 0.6954025 -1.1410085 -0.111508824 -0.8049665 -0.3876999 -0.41361567 -0.47764558 -1.2551354 -0.12765469 -0.5606076 -2.9294486 2.052972 1.0887697 -0.37630072 0.018819049 -1.1716543 1.6957228 1.8972887 0.15669373 1.0235306 - 0.17528678 -1.3367255 -0.41182336 0.13192797 -0.45454773 -0.21865328 -0.09139956 -0.080878496 0.05225849 -1.060605 -0.71701616 -1.2845843 0.97781557 -2.1056468 1.1535903 1.3863494 -0.3021806 -2.603137 -0.36131057 -0.06418416 -1.0105982 -0.5152184 1.5301952 0.6649272 -0.9245641 -1.5975991 -0.3270173 -0.21345678 0.4961992 -0.5353167 0.5114996 1.9351541 0.81550103 -0.048088506 -0.18315047 -0.35667312 1.1806409 -0.62731344 0.04522271 0.0511979 - -0.5017842 -1.3724655 0.3229745 -0.06100397 0.50024045 -0.53360033 1.2208213 -0.8767738 1.7120403 -1.7476366 0.43477008 0.4754307 -0.7955571 0.42439395 1.2795187 -2.2168188 0.5027448 -2.4932709 -0.9656648 1.6291664 -0.58178204 -1.17388 -0.19793773 2.0679064 -1.8316822 -1.05131 1.4974316 1.8577024 -0.103431225 -1.2390527 2.0958436 1.5944424 0.678947 -0.81240237 -0.04902934 -0.16036008 0.33085132 1.4510014 0.87941706 -1.0773761 - 1.3764964 0.31313214 0.6870658 1.4665408 -1.1115803 -0.03582558 -0.53145456 -1.5678594 0.34670997 2.5115566 -1.8400778 -0.032280613 0.6405429 0.123078205 -0.11312805 -1.2992164 0.23278674 -0.756764 -2.1899216 1.1945922 0.9583858 0.051660977 0.22907469 1.074318 0.22433966 0.90401757 -0.2974822 1.3119837 0.32078573 0.19405194 -1.2700611 0.28695586 -0.8319549 -0.6382827 -0.8153756 -1.066235 2.1247714 1.3313391 1.9203675 -1.222895 - 0.07125375 -1.2935076 -0.69569486 -0.918127 1.239584 -0.39622968 1.0683793 0.6041209 2.3036387 -1.4794443 1.2592332 1.1464409 -0.97337884 1.0071334 0.33614495 -0.22747625 -0.8239355 -0.7191095 2.049812 0.00068281894 0.78213 -0.7908994 -0.7798529 1.0819848 -1.3495762 -0.41521376 0.034027413 0.111372605 -0.17909329 0.39581978 0.6928558 0.73463756 -0.9858038 -0.2841551 1.1947628 0.8946472 -1.3728595 0.3514799 -1.9782252 0.046934903] \ No newline at end of file diff --git a/kaldi/test_cases/fixed_affine_40x64_T25_S1/io.npz b/kaldi/test_cases/fixed_affine_40x64_T25_S1/io.npz deleted file mode 100644 index 72cab0842f..0000000000 Binary files a/kaldi/test_cases/fixed_affine_40x64_T25_S1/io.npz and /dev/null differ diff --git a/kaldi/test_cases/fixed_affine_40x64_T25_S1/model.raw b/kaldi/test_cases/fixed_affine_40x64_T25_S1/model.raw deleted file mode 100644 index 4ed47e8ba9..0000000000 Binary files a/kaldi/test_cases/fixed_affine_40x64_T25_S1/model.raw and /dev/null differ diff --git a/kaldi/test_cases/fixed_affine_40x64_T25_S1/model.raw.txt b/kaldi/test_cases/fixed_affine_40x64_T25_S1/model.raw.txt deleted file mode 100644 index fc1c7a6bdc..0000000000 --- a/kaldi/test_cases/fixed_affine_40x64_T25_S1/model.raw.txt +++ /dev/null @@ -1,75 +0,0 @@ - - -input-node name=input dim=40 -component-node name=fixed1 input=input component=fixed1 -output-node name=output input=fixed1 - - 1 - fixed1 [ - 0.4967141530112327 -0.13826430117118466 0.6476885381006925 1.5230298564080254 -0.23415337472333597 -0.23413695694918055 1.5792128155073915 0.7674347291529088 -0.4694743859349521 0.5425600435859647 -0.46341769281246226 -0.46572975357025687 0.24196227156603412 -1.913280244657798 -1.7249178325130328 -0.5622875292409727 -1.0128311203344238 0.3142473325952739 -0.9080240755212109 -1.4123037013352915 1.465648768921554 -0.22577630048653566 0.06752820468792384 -1.4247481862134568 -0.5443827245251827 0.11092258970986608 -1.1509935774223028 0.37569801834567196 -0.600638689918805 -0.2916937497932768 -0.6017066122293969 1.8522781845089378 -0.013497224737933921 -1.0577109289559004 0.822544912103189 -1.2208436499710222 0.2088635950047554 -1.9596701238797756 -1.3281860488984305 0.19686123586912352 - 0.7384665799954104 0.1713682811899705 -0.11564828238824053 -0.3011036955892888 -1.4785219903674274 -0.7198442083947086 -0.4606387709597875 1.0571222262189157 0.3436182895684614 -1.763040155362734 0.324083969394795 -0.38508228041631654 -0.6769220003059587 0.6116762888408679 1.030999522495951 0.9312801191161986 -0.8392175232226385 -0.3092123758512146 0.33126343140356396 0.9755451271223592 -0.47917423784528995 -0.18565897666381712 -1.1063349740060282 -1.1962066240806708 0.812525822394198 1.356240028570823 -0.07201012158033385 1.0035328978920242 0.36163602504763415 -0.6451197546051243 0.36139560550841393 1.5380365664659692 -0.03582603910995154 1.5646436558140062 -2.6197451040897444 0.8219025043752238 0.08704706823817121 -0.2990073504658674 0.0917607765355023 -1.9875689146008928 - -0.21967188783751193 0.3571125715117464 1.477894044741516 -0.5182702182736474 -0.8084936028931876 -0.5017570435845365 0.9154021177020741 0.32875110965968446 -0.5297602037670388 0.5132674331133561 0.09707754934804039 0.9686449905328892 -0.7020530938773524 -0.3276621465977682 -0.39210815313215763 -1.4635149481321186 0.29612027706457605 0.26105527217988933 0.00511345664246089 -0.23458713337514692 -1.4153707420504142 -0.42064532276535904 -0.3427145165267695 -0.8022772692216189 -0.16128571166600914 0.4040508568145384 1.8861859012105302 0.17457781283183896 0.25755039072276437 -0.07444591576616721 -1.9187712152990415 -0.026513875449216878 0.06023020994102644 2.463242112485286 -0.19236096478112252 0.30154734233361247 -0.03471176970524331 -1.168678037619532 1.1428228145150205 0.7519330326867741 - 0.7910319470430469 -0.9093874547947389 1.4027943109360992 -1.4018510627922809 0.5868570938002703 2.1904556258099785 -0.9905363251306883 -0.5662977296027719 0.09965136508764122 -0.5034756541161992 -1.5506634310661327 0.06856297480602733 -1.0623037137261049 0.4735924306351816 -0.9194242342338032 1.5499344050175394 -0.7832532923362371 -0.3220615162056756 0.8135172173696698 -1.2308643164339552 0.22745993460412942 1.307142754282428 -1.6074832345612275 0.1846338585323042 0.25988279424842353 0.7818228717773104 -1.236950710878082 -1.3204566130842763 0.5219415656168976 0.29698467323318606 0.25049285034587654 0.3464482094969757 -0.6800247215784908 0.23225369716100355 0.29307247329868125 -0.7143514180263678 1.8657745111447566 0.4738329209117875 -1.1913034972026486 0.6565536086338297 - -0.9746816702273214 0.787084603742452 1.158595579007404 -0.8206823183517105 0.9633761292443218 0.4127809269364983 0.82206015999449 1.8967929826539474 -0.2453881160028705 -0.7537361643574896 -0.8895144296255233 -0.8158102849654383 -0.0771017094141042 0.3411519748166439 0.27669079933001905 0.8271832490360238 0.01300189187790702 1.4535340771573169 -0.2646568332379561 2.720169166589619 0.6256673477650062 -0.8571575564162826 -1.0708924980611123 0.4824724152431853 -0.2234627853258509 0.714000494092092 0.47323762457354485 -0.07282891265687277 -0.846793718068405 -1.5148472246858646 -0.4465149520670211 0.8563987943234723 0.21409374413020396 -1.245738778711988 0.173180925851182 0.3853173797288368 -0.883857436201133 0.1537251059455279 0.058208718445999896 -1.142970297830623 - 0.3577873603482833 0.5607845263682344 1.083051243175277 1.053802052034903 -1.377669367957091 -0.9378250399151228 0.5150352672086598 0.5137859509122088 0.5150476863060479 3.852731490654721 0.570890510693167 1.135565640180599 0.9540017634932023 0.651391251305798 -0.3152692446403456 0.7589692204932674 -0.7728252145375718 -0.23681860674000887 -0.48536354782910346 0.08187413938632256 2.3146585666735087 -1.867265192591748 0.6862601903745135 -1.6127158711896517 -0.47193186578943347 1.088950596967366 0.06428001909546277 -1.0777447779293061 -0.7153037092599682 0.6795977489346758 -0.7303666317171367 0.21645858958197486 0.045571839903813784 -0.6516003476058171 2.1439440893253257 0.6339190223180112 -2.025142586657607 0.18645431476942764 -0.661786464768388 0.852433334796224 - -0.7925207384327007 -0.11473644146689901 0.5049872789804571 0.8657551941701215 -1.2002964070557762 -0.3345012358409484 -0.4749453111609562 -0.6533292325737119 1.7654542402810969 0.40498171096095553 -1.2608839543350452 0.9178619470547761 2.1221561970126332 1.0324652605511468 -1.5193699659540134 -0.48423407286625136 1.2669111491866227 -0.7076694656187807 0.44381942814622843 0.7746340534293368 -0.926930471578083 -0.05952535606180008 -3.2412673400690726 -1.0243876413342898 -0.2525681513931603 -1.2477831819648495 1.6324113039316352 -1.4301413779606327 -0.44004448669698376 0.13074057728609134 1.4412732890661155 -1.4358621511794394 1.1631637521549596 0.010233061019587049 -0.9815086510479509 0.46210347426327075 0.19905969557347003 -0.6002168771587947 0.06980208499001891 -0.3853135968617602 - 0.11351734525124804 0.6621306745210467 1.586016816145352 -1.237815498826849 2.1330333746562666 -1.9520877995225019 -0.15178509503558332 0.5883172064845765 0.28099186773503265 -0.6226995198205938 -0.20812225035727522 -0.4930009346588328 -0.5893647569442115 0.8496020970210246 0.35701548596504734 -0.6929095952606542 0.8995998754332507 0.30729952087660933 0.8128621188389601 0.6296288419236122 -0.8289950109220723 -0.5601810401969696 0.7472936051232618 0.6103702654334648 -0.020901593964148132 0.117327383308782 1.277664895788425 -0.5915713888358299 0.5470973811700379 -0.20219265243389406 -0.2176812032272203 1.09877685198719 0.8254163489880298 0.8135096360006385 1.305478807154329 0.02100384163275905 0.6819529712949639 -0.31026675659345604 0.3241663524884421 -0.13014305436768459 - 0.09699596499271819 0.5951570254369136 -0.8182206832334725 2.0923872756854602 -1.006017381499702 -1.2141886127877322 1.1581108735000678 0.7916626939629359 0.6241198170521551 0.6283455092642799 -0.012246772846914623 -0.8972543714858315 0.07580455819372633 -0.6771617115121117 0.9751197334177512 -0.14705738150213865 -0.8254971967925115 -0.32138584165299344 0.41293145427562433 -0.5637245528039747 -0.8222203955664315 0.2436872114919123 0.24496657110872277 -0.5069431753711298 -0.4710383056183228 0.2320499373576363 -1.4480843414973241 -1.4074637743765552 -0.718444221252436 -0.21344715171184725 0.3109075655980046 1.475356216949552 0.8576596232020194 -0.1599385299634271 -0.01901620790268883 -1.0025293646378088 -0.01851313599238993 -0.2886586389201383 0.3227185603380895 -0.827230943552323 - 0.5193465142411723 1.5327389130025777 -0.1087601484568576 0.40171172209894146 0.6901439917111125 -0.40122047188583626 0.22409248181041677 0.01259240078179486 0.09767609854883172 -0.7730097838554665 0.024510174258942714 0.49799829124544975 1.4511436077950417 0.9592708260852069 2.1531824575115563 -0.7673475628880495 0.8723206367206782 0.18334200573835174 2.1898029332176723 -0.8082982853551515 -0.8397218421807761 -0.5993926454440222 -2.123895724309807 -0.525755021680761 -0.759132661553698 0.15039378647620763 0.34175597577715944 1.8761708392158862 0.9504238381860503 -0.5769036556624031 -0.898414671348358 0.4919191715065057 -1.3202332070206422 1.8314587658543537 1.179440120721287 -0.4691756521047048 -1.7131345290908775 1.3538723741654128 -0.11453984525261789 1.2378163119734618 - -1.594427658794367 -0.5993750229537729 0.005243699718183166 0.046980593764742055 -0.45006547147924364 0.6228499323474987 -1.0676204293825944 -0.1423794850212935 0.12029563171189886 0.514438834058749 0.7116148780888898 -1.1246420918378692 -1.5341141707356223 1.277676821898509 0.33231401197959165 -0.7484865365565536 1.551151975522523 0.11567463429285867 1.1792971840638264 0.06751848141010895 2.060747924881987 1.7553408424432044 -0.2489641484790735 0.9715709509543554 0.6453759495851475 1.3686315575323487 -0.9649234605801045 0.6860514599984393 1.0584244868495878 -1.7587394864231143 -1.183258512665775 -2.0392321777601006 -0.26940683444455776 0.7175422557959623 1.502357052096028 0.07409478041977519 1.6286155455712918 -1.3801014582148914 -1.7033824393551547 -0.05554769889661878 - 0.3840654489393073 -0.03269474809409311 -2.0674421000398766 -0.08912003951278841 -1.3044695005048532 0.6696725488300385 0.36659824609684827 -0.9398797863273552 -0.5138669173366935 -1.0592135218889516 -0.06267909727317188 0.9551423205012383 -0.9857260463355437 0.5040465155178444 -0.5302576183724408 -0.7928728322623442 -0.10703035995455783 -1.035242322419374 -0.553649305347182 -1.1978778925888485 1.9647251329163893 0.03526355197172861 -0.6997255079925856 0.213979910734222 -0.11232804969082982 -0.22096959953322298 0.6141667000434252 0.7575077100473051 -0.5305011476105275 -0.57581824064468 -0.275051697151644 -2.301921164735585 -1.5151910621985523 1.3668742674445247 1.6449677135012837 -0.24903603955637832 0.5765569630557664 0.3112501545435361 3.0788808084552377 1.1195749114345768 - -0.12791759148076653 -0.9555404406004258 -1.6064463202575725 0.2034636358672231 -0.7563507452843033 -1.4222537095976742 -0.6465728842425266 -1.081548003614395 1.6871416350725648 0.8816397569494505 -0.007972641316617372 1.4799441388900259 0.0773683076476183 -0.8612842013282637 1.5231240772696573 0.5389100436846587 -1.0372461543264564 -0.1903386780836082 -0.8756182533847572 -1.382799730964336 0.9261775475316414 1.9094166404701305 -1.3985675738191412 0.5629692366905709 -0.6506425691218269 -0.48712538376469605 -0.5923939242388692 -0.863990769679816 0.04852162794482699 -0.8309501164110378 0.2704568257798388 -0.05023810944913695 -0.23894804686640975 -0.9075636620415979 -0.5767713305683327 0.755391225825756 0.5009171876243808 -0.977555244798551 0.09933230542922587 0.751387123371789 - -1.6694052811213718 0.543360192379935 -0.6626237589458467 0.5705986685931593 -0.7632591565425169 -1.804882100664519 -1.6275424378831627 0.048084946661381994 0.25972250172148187 -0.9043166251044086 0.6385924587773739 -1.6615200622689599 -0.06607979864731657 -1.2110161997624567 -0.6518361078021592 0.047398671316414016 -0.8604133652839524 -0.38455554422982535 1.0062928092144405 -0.5768918695231487 0.8356921120651418 -1.129706854657618 0.5298041779152828 1.4415686206579004 -2.4716445001272893 -0.7968952554704768 0.57707212718054 -0.2030453860429927 0.37114587337130883 -0.6039851867158206 0.08658978747289992 -0.15567723539207948 1.1677820616598074 0.2544208433012131 0.3376026620752022 -0.4118769661224674 -0.48760622407249354 -0.4325581878196209 0.39445214237829684 -0.42098448082026296 - 0.2897748568964129 2.075400798645439 0.8711247034316923 -0.32602353216784113 1.2012139221639448 -0.4080753730215514 -2.038124535177854 -1.008086310917404 -1.8707919210258557 -0.35151348404130867 0.0184183791895517 1.6764373122752827 0.32692737376416264 -0.21910052880886424 0.8294055811834892 -2.211135309007885 0.23561455810856594 0.7708651938869668 -1.4785862457798415 1.143754043206929 0.3384964074944141 -0.4152879139008013 0.6327818661062848 2.270692857804396 0.18186625505849516 0.24822058630033608 -0.4593608995402441 -0.8498443694647918 0.8303358165442456 -0.8560838259088672 0.07156623721939247 -0.4776574467651167 0.47897982574639186 0.3336621052869483 1.0375399442578992 -0.510016398854747 -0.26987493529337125 -0.9787637157823074 -0.4442932600761116 0.3773004930448522 - 0.7569886166453519 -0.9221653241776254 0.8696059201056602 1.355637858804951 0.41343490322370086 1.876795812558066 -0.773789199103573 -1.244654703311417 -1.7787202489042786 1.496044311489183 0.6543656563540577 -0.05558467091045507 0.2799686263198203 -1.1254890472983765 2.4457519796168263 0.1292211819752275 0.10939479460489289 0.725766623898692 0.4810092317367132 0.22388402427913137 -0.7904744554453119 0.4714683571359957 1.8820244964750337 1.3454200461549777 1.593186626639397 -0.5112156764311852 -0.9896048202585809 -0.12578692009964815 0.055724912288694604 1.0941915184709485 -1.6924646297148194 1.5295503194606137 -0.15800789857898942 -0.42688106994742003 -1.0121043752601675 -1.6548566718657693 0.8231705839619146 0.07331796718840389 -1.2899608997410539 -1.295078772063616 - -0.3357846992901282 1.669021525289393 -0.2595913513636048 -1.5031429531181062 -0.24574306408594432 -0.2727235697476705 -2.6968866429415717 -0.05429486651781221 -0.23093453020867796 0.6962063648134184 1.8489560949453452 1.1265650295477574 -0.26888869055483056 -1.1065259087416703 2.5733598032498604 0.05921843401448826 0.013929291912946203 -0.024125087110003277 0.19808476076785494 -0.14436041192394247 -0.5736620068802363 -0.5468589412403921 -0.03275327021599839 -0.543424771133765 -0.7128457826771644 0.10643022769189683 -0.2549772174208553 1.5039929885826886 -2.650969808393012 1.0915068519224618 1.246085192497629 -2.0733902324081495 -0.34268759408034877 -0.37144086599579146 -1.4075116947178212 -0.7778166875908753 -1.1105758454658288 1.7522704434236227 0.9356783931474612 1.2715550949941588 - 0.7216720640432351 -1.1290517712172292 -0.5245202662797737 0.48937456122791806 -1.2221278088919454 0.7129984301723881 -0.24032539815813503 -0.3748208075495975 0.7109599682034915 0.44426331148603976 -0.3609661658190799 1.159329803364248 -1.0810633275998973 0.6159356069442637 0.5931012579683838 -0.3095464393139903 0.326133022242118 -1.251113576385303 0.924027019206901 -0.18490213644298903 -0.5227230205190395 1.0490092258368893 -0.7043436905427592 -1.4084612963635597 -1.5566291735239037 0.6060099513456396 -1.280429352496283 1.7547941819843647 -2.081929407883722 1.6964563682900382 0.2110174672026184 -0.09671311187039239 -0.5449190868089497 0.39913611435207086 -0.037634702424848364 1.1033018820165215 0.11422764866203965 0.1503017614618776 -0.36361221221385587 -0.056945623721067457 - 0.3078017688920592 -1.7101683926566256 -1.348185422105713 0.743264094022715 0.17086543812794186 -0.18398333635267913 0.01843393306539316 0.34758170536167105 -0.5397596803093615 -0.7783047254023127 0.19584525509768155 -0.978372777615032 0.40825275571447184 -1.7025836042378404 1.0291556373256436 0.472597482413043 0.25602973431387566 0.9826909839455139 1.6654744444625766 1.0143700650181304 -1.8408742313316453 -1.2795769667357015 -0.6248185776956788 0.026091050210833786 0.517659020469123 -0.7257438131534656 0.18676676447707832 -0.7553829323533225 -0.6115178029919482 -1.4066610968482223 -0.9232332461109043 -1.3516846056163336 -0.9758732529773327 1.0536417966078395 -0.949398888831943 2.632382064837391 0.4933179008808892 0.1848361236948739 -0.8583577801812136 0.7003098794089914 - -0.5756378262377739 0.12200981464536144 2.5600845382687947 -0.09605989972464987 1.1492733262856758 -0.7031764251258874 -0.0349884904969617 1.77080063563551 -0.6269670577877674 1.8124485579969287 0.7077519354554754 -0.5624667758942676 0.632407739055521 0.9725544496267299 0.6218099622171964 -1.5702247198904564 -0.7271371758248686 -0.24751863555150475 -0.07443342910004629 0.620672097550678 0.17770100093325383 -1.3353443587101013 0.3801978510059632 0.6105857452838231 0.5597904479310398 1.0807807255546218 0.8339221545489041 0.4591800792284367 -0.07016571145864703 -1.6609609335159914 0.42961821913258585 0.20768768716311115 0.27157883719537346 -1.2767485758203094 -1.0810565404082624 1.0531528533329035 -0.03955515385665504 0.6815006973726244 0.028318376130461172 0.02975613949574519 - 0.9382838059759977 -0.5160447282173739 0.09612077694098337 -0.4622752887050425 -0.4344962274323156 -0.30917212346863937 0.22213377163371284 -0.4787486216634773 1.2557561255735208 -0.8946073022195039 -0.18687164416135904 -0.4397310582741749 1.4469778843537329 0.19655477651157463 1.0318445394686349 -1.485560373036972 0.26705026586925884 0.889630795623437 0.08228398927542419 1.0654803750653512 -0.5172884501003722 1.40934744018558 2.2988981236192503 -0.36283856043965906 -0.4455025214007718 1.453384477117701 1.5795721457307124 -0.5228600271532683 -0.42018681709585726 -0.2817846088605072 -1.344450511034277 -0.9186519464841982 -1.0041407667520679 -0.7677975651041284 -0.03468488738678118 0.23421473253652075 1.5505004928140769 -0.998354040738791 0.9843223984765838 -0.21398884422550896 - -0.04946370965243295 0.6748194921666038 -1.1227220215622986 0.3824097461840506 0.1664522082130561 0.4924512640081491 0.2891686439078181 2.4553001399108942 -0.637739984251316 -0.5309969550018176 -0.6231405264247644 -0.5554771191602547 -0.6373871273065177 1.1890165311075518 1.4205042479898549 -0.5707462937494763 -0.8323555731042287 0.4714155563864041 -0.5522230442809712 0.6329318177555108 0.2029230208512997 -1.515744114997232 1.5475052013300616 1.7958776730955217 -0.6127886904843862 -0.38770155993598415 0.28586539072490497 0.334456789987025 0.6585442726728304 2.0102045387663496 -0.1769472274940494 -0.7982972445384537 -1.3793192280145272 -0.7309300399419191 -0.033126972873797095 1.7945578635177877 -0.5176112990361714 0.2237879516388985 -0.016422896072752075 1.188393273448084 - 2.5269324258736217 -0.5308687729203206 -0.48943944251822213 1.044160877069072 0.6818914896263114 1.8467073257360336 0.5839281853259639 -0.35929209078705954 0.5906548306923093 1.1087035805829077 0.820482181197364 0.5072740311072977 1.066674689589154 1.1692955904456728 1.3821589910375272 0.6487098875896427 -0.16711808031685435 0.14671368643332283 1.2065089665083568 -0.8169356709872361 0.3686733088729012 -0.3933388123273607 0.028744822934817487 1.2784518626072987 0.19109906801990334 0.04643654815614881 -1.3598561409799192 0.7462535660272207 0.6454841811410754 2.16325472330546 -0.30777823495300083 0.21915032766393897 0.24938368371075526 1.5774532797634744 -0.0952955323869521 0.27902152577033923 0.6078965097165392 0.1866091231563581 -0.44643361455052827 0.19408999289830758 - 1.073631749859772 -1.0265152994110602 0.132969674146876 -0.7001208149391732 1.1950466289248425 -1.5231869047837747 -0.5589218472715883 0.37721187506452086 1.5655240292343404 -0.0657502610729878 -0.5551995266931984 1.8811570694405901 -1.448013900416244 -2.198805956620082 0.4400144500533324 -0.5020542243526112 -1.0212328171307132 0.7083564472993533 0.24380071377119883 -0.5640786307367284 -1.2803043986708944 0.8724573282801447 0.650201177958661 -0.09917586377938291 1.8466369960476658 -1.0700847663261526 -1.5255251709247388 -0.6919080698812444 -0.045586016355497805 0.24333944932269183 -0.24123605785632987 0.3520553965142968 -1.251539424190444 1.4437646040732595 -0.0821511783925688 1.1172958315881276 0.34272534637770413 0.4567532191537839 0.5697672802322039 0.44770856001731496 - 0.6427227598675439 1.3291525301324314 0.19652116970147013 0.7090037575885123 -0.08973569428722672 1.4401172154494728 -0.6763923020592697 1.8009404329108156 -0.04015795064434341 -1.4307751021180481 0.12810441491078928 -0.6810516574748808 0.8406435489887241 -0.6526239793023909 -0.4461834332147797 -1.889540730945531 -0.4523063192490767 -2.4238793266289567 -1.5839028234857233 0.7604146561442974 0.7858001586508322 0.42545756178496474 -0.966976143129213 -0.047711356141979855 -0.0036025390905684044 -1.1583646891925428 1.5033983017671506 0.8773622905756714 -0.22096417382966393 0.02688583899453078 0.20838280794755248 -2.0417348684242906 -0.24717738252059693 -0.6819842479977986 -1.0016200098949155 -0.2811002928859549 1.7976865268495226 0.6408428612670098 -0.5711789897827968 0.5725827813561586 - 1.3993554365860021 0.9246336829127688 0.05963036992017413 -0.6469367777055739 0.6982233136135899 0.3934853854217496 0.8951932200277323 0.6351718016819695 1.0495527153193351 -0.535235211560568 1.3173940656343257 0.19759960469239965 2.0752608726252655 -0.6891878180895679 1.7359638031652493 0.1979107834626478 -0.6514180036144483 -0.48388583405432156 -0.32034730819432017 0.4241659464019164 0.5228354880354996 -0.573700003938579 -0.02435459226098284 2.1422703586118637 1.7275431701007113 0.4363236696740321 0.03800347816820029 0.1200313267182613 0.6135179727304166 -1.0227925651984056 -0.2573765374233451 -1.6685840738775894 0.39922312260527926 0.647195939702741 -0.483186462299374 1.5739867632900328 -1.2257656630023412 -1.4643748802098202 0.22445181855997204 1.0470983026121545 - 1.6839276914578687 -0.45888426286894 1.0786808334312956 -0.03850846950070721 -0.17262729994081963 0.8836599374866724 0.6523228784134196 -1.5763921569842494 1.4765403497258958 1.3800913541474515 -0.6255627015095294 0.39580353343740904 0.4940301862827388 0.2606737658239071 -0.5503051538454201 -0.6716233679380516 -0.025554070991445278 1.1727290192593647 0.5436001545944323 -0.37061433208610595 0.7716987106483447 -2.8485426206300755 1.1487657003721035 -1.7397137787780996 -0.36244094140313216 -1.1196698946261439 -1.2946814757209058 1.1608267873785194 -0.46770120131189136 0.3465038817307158 -0.04692057887918407 0.47704082722312147 0.07682189106025536 -1.2829922241885696 0.99626681944714 -0.4937565831613125 -1.556581898659751 -0.4281151609659125 1.5007597906343109 0.8502217421134929 - -0.3486521344078592 -0.3492577043184288 -0.3216350512173826 2.076747983560841 0.38193545223155334 0.43004164719106963 1.0302834540318422 0.23878915902651351 -0.2590421458207031 -0.19634984908497827 -0.07160125941406395 -0.03722223650984159 0.7276295436369798 0.05194588580729943 0.7326400772155792 -0.08071658010858232 0.07863519031609059 -1.9982006845321076 0.9163276747024814 0.3464884758979927 0.9980101098596522 -2.8962553781936893 2.0883747047807275 -0.13958962815517376 1.1081828167375165 -1.0399059271255309 0.6127739050625697 -1.0534155631736561 -0.6237689606958051 1.9140313538667861 -0.19068240076334658 0.21743287317972287 0.8700677306887542 0.49568188797260465 0.15041890514357642 0.3649610024662254 2.403415585238275 -0.05761879703358539 0.2010990467149675 1.050654396007612 - 1.1055259329579838 1.1870303055603801 0.6387302220291846 -1.1430049127304835 1.633431532301096 -1.146345393018688 0.30263546523903323 -0.7542758500193579 -0.06413834659299254 0.3287624103034804 0.32135721545027307 0.42192075423528475 1.613711269058647 0.45353430151397983 -0.24415663529064868 0.9640871682883573 1.1894704889246406 -1.2276078151369925 0.597400069849858 0.7011727423108983 -0.29756350335999193 1.3757068133116195 -0.15005558703252672 0.12557645347154225 -0.1730718242838696 0.015579047581467534 -1.0962750868952018 -1.4400508825942944 1.5945050632249722 -0.8469613483183278 -0.9913923494563072 -2.153390113603715 -0.6389617476895022 -1.3230897934074983 1.642015160136369 1.0098170893426341 -0.6881503451777238 2.2524358053443088 0.9817654869915943 -0.32483138350862245 - -2.499405714873573 2.2909425725907417 -1.389572466763596 -1.6453987469568918 1.0225704320096403 2.439752406339273 1.3842728185105182 0.5639091200523596 0.594754341665286 0.8534155587803077 0.7589285897867651 0.2811914239693758 0.10420110395187607 -0.06259312789952241 -0.7539645888666763 -0.28067507686677406 -1.6929568141953855 -0.09833962679474989 -0.9885911071509175 -1.103589317215771 0.17989415115347845 1.3920022863445993 0.918316606002313 -1.570500603623177 -0.9896281365703375 0.9407711879882159 -0.9824873935383096 -0.2246331499970246 0.5500520990245519 -0.9683444548636353 0.1053755061459599 -1.3340254949182044 -0.6013676439512137 0.31978193414253697 -1.5929937335316693 0.440474737960399 -0.019637798926681216 0.5524899544171478 0.22391413406466143 1.3641404299738442 - 0.12522450264790727 -0.429405541125253 0.12229750303228377 0.5432980290363879 0.04886007032570433 0.04059169120388238 -0.7019916878067554 -0.6629009175509482 -1.4026052717996935 1.7495767431869393 -1.243863235391285 -0.6929051977959073 -0.7184072655691974 0.8949243769444413 -0.2949496782920278 1.2477420726737338 -0.6734906242438685 0.27899416222380197 -0.8353470532597573 2.1451491277733883 -1.1875984190295128 0.3098207102270275 0.6337768809320985 0.41379909745149823 -0.1852876588777083 -0.12982069973342616 0.0438114719791096 -0.14700200162848862 0.9638791167949097 2.2105230015913513 -0.5574917850078336 -1.3698029795790778 -0.08828204835125482 2.5797093376543185 -0.8036745679697308 1.6391168054440675 1.6777008140764407 -0.5535882417079946 0.5689830791852754 1.628396623128538 - -0.3791277409874871 -0.20358036010236177 -0.5816809139486437 -1.0147567306928669 -0.6492775450660071 -1.2239402667622565 0.03408346825922607 -0.7699732310586418 0.2337859117907477 -1.5558956462036273 0.33088023221445706 0.8335289616089246 -1.9937356425714554 0.37405656984757213 1.2276689924732922 -1.2096410186912054 1.6725723868377034 0.4190190093660452 -0.7050118557584089 -0.05576907765770601 0.5583269125217224 0.0760053914124115 0.5387559924463692 -0.9206735930793662 0.169360824036078 -1.4137144969049802 -0.11122606134870032 -0.9039076414647897 -0.7355299425897666 1.2360931752104374 1.091310120594269 0.609138120907177 -1.092312764672579 -0.3164084496948019 1.2130976999791834 0.14171691363990474 2.319329539981694 0.39331783939437187 0.1920491164900316 -0.3091164642025014 - 0.1335409047822823 -0.1524698363805439 0.7081086766885905 0.9567023167945841 -0.7859894605079495 -1.331232953557778 -1.8362053731032966 0.5079913269125437 -1.1033666061738736 -2.152890592952483 0.3885786045309641 2.4929995174327906 -0.006070911539893324 0.8384907744516419 0.08182935854756501 -0.09888965319114267 0.9190764829877686 -0.29027454418865134 0.26739231407190295 0.3216978061960136 -0.6680904536430488 0.9920423495365228 -0.17495975669540864 -0.7557451594928447 0.5365098435704035 -0.8984679817910373 0.028181157369128247 -0.009118996644203544 1.085895565831578 0.4746982328799528 -0.025026958745143917 0.8177662992002871 1.3902075490173134 0.5578103063518622 0.010352619843380607 -1.3118362323501596 -1.0651136630753726 -0.30522470435466764 -0.6095122021592831 -0.186971302985446 - 0.056649924897107164 0.5296927543567308 -0.07049877805909122 0.4865016438262019 0.06447441481012024 -1.9754665663538713 -0.9393353938187543 -0.14408755572161547 -1.2096947428411076 0.5999287299962045 1.5307508323436974 1.2187618516973167 -0.213442870930208 1.490726136849952 0.14866745720211155 -0.33708597111803934 -0.6134026635409398 -0.30246968648812833 -0.38817681854122876 0.1704162223754877 0.1605739810498646 0.0030460201534144695 0.43693816974634986 1.1906462747863413 0.9495541354413237 -1.4848979684499035 -2.553921134901955 0.9343199112392737 -1.366878698415421 -0.22476540189268354 -1.1701130260593595 -1.8019804375800197 0.541462728204788 0.7591551603026468 -0.5765104007267194 -2.59104229214491 -0.5462444482524828 0.3918040054025465 -1.4789115687741288 0.18335991977915564 - -0.015309849172995557 0.5792914996010884 0.11958036841415326 -0.9730689408815555 1.1965715016644913 -0.15852957302697002 -0.02730453950993186 -0.933267959073196 -0.4432822511915103 -0.8848027140269009 -0.172946059923423 1.7117084801423434 -1.3719011429313563 -1.6135613978767411 1.4711703274936085 -0.20932367715186612 -0.6690727386599166 1.0399046873960764 -0.6056155397368641 1.8260097135469362 0.6779258713392691 -0.48791140814570266 2.1573082132655035 -0.6057149230033384 0.742095372009307 0.2992925804064919 1.301741289398798 1.5615111967268527 0.032004149065766624 -0.7534178703461835 0.4599721429391164 -0.6777153697521061 2.013387247526623 0.13653533108273744 -0.3653215513121087 0.1846803058649084 -1.3471262895296965 -0.9716140385106515 1.2004139079444254 -0.6568942789713957 - -1.0469109826819396 0.5366527525272862 1.185704154662997 0.7189533106650667 0.9960476858058164 -0.7567950885694608 -1.4218106667418438 1.5013336519554867 -0.32267983884213575 -0.25083301645504735 1.328194141849058 0.5562300094006599 0.45588777208160763 2.165002344901084 -0.643518230380143 0.9278401280812372 0.0570131248970845 0.26859227886325693 1.5284684264125317 0.5078357562896237 0.538296079049633 1.0725073373098022 -0.3649527295428853 -0.8392096673390064 -1.0448091940210336 -1.9663565893760018 2.056207129940322 -1.1032083657216831 -0.221253623585772 -0.27681329988892067 0.30740669780910074 0.8157372125392968 0.8604734883597454 -0.5830774385689385 -0.1671217137864115 0.28257995048829965 -0.24869112618354708 1.6073455760199926 0.49097495163825133 0.7348777860498175 - 0.6628812686674127 1.173473857485325 0.18102155870370695 -1.2968319479558466 0.3996879517526416 -0.651356893791829 -0.5286166817497568 0.5863640187550933 1.2382830714336357 0.02127157673606165 0.3088330125989638 1.702214944635238 0.24075317948856828 2.601683114180395 0.5655096456315442 -1.7607627591558177 0.7533416211045325 0.38115838488277776 1.2897527540827456 0.6731813512699584 -0.13845598398377382 -1.2242982362893657 -0.20902325728602528 -0.8505204542093001 -0.5805234498047227 0.5885784044206096 1.6699045043514062 0.3946715298229811 -1.1958830620351844 0.4446026682201407 1.196631486645651 -0.6097829043193822 -0.1340171666729177 0.014688194729197093 -0.78489831308224 0.648280433843859 -0.12094814860778157 0.41953244390702776 -0.8874921778021001 -0.43745830032341043 - 0.7223813578277714 -0.372833152091767 1.7269638512334051 -0.39963618561460235 0.22468472575188592 0.9325908318730899 -1.4183657329330317 -1.7608088119807759 -1.5256563145700948 1.262584103427182 -0.5518581458924467 2.5581992856682523 -0.5642475986573886 0.18455130319703697 1.5421099525678756 2.006092888159123 2.061503576636398 1.2083662305931424 1.0240625258114624 0.5925269492011831 0.7783610761666377 -0.5511857163285334 -0.8181988834223072 -0.0033744574109520514 -0.17018462252492844 -0.4532280493272752 0.6963874474567153 0.9553052085705107 0.08840688629184736 1.4775300810552618 -1.141689114133505 -0.19365945927971812 -0.7168223206028049 -1.86653661707306 -0.08268068584269925 -0.12174750838328353 1.513449743242131 0.6308116845547775 -1.024186824329205 1.8540925663341883 - 1.221033695525353 0.5820977034686158 -0.22648409884983192 -0.9594392367234797 -0.372206776071053 1.088748619704186 1.884586305934609 1.543243528272189 -0.4888494217862741 -1.1196174332890112 0.14088624691120394 -1.7684393655628516 0.32316771418478146 -0.14760258629866868 -0.46603650186824225 -1.5947030672667954 0.5136001065697166 -0.5327008396619114 -1.169916835710288 -2.8722622132816493 -0.027514905050636255 1.772251596669744 1.66125921454787 -0.45709625658627184 -0.6022120603617805 0.46877425607502377 -0.9983854391882915 0.30179189981946597 0.7660802783846903 1.2269332238843076 -0.10015407647995278 -0.20367375017696587 -0.877982586756561 -0.82688035403986 -0.22647889190152676 0.3673655068161781 0.9135846262332494 -0.8031789506803448 1.4926885689595217 -0.2711236010425688 - -0.021367294348436157 -0.7472116791478234 -2.4242402602729416 0.8840453963610497 0.7368438970924334 -0.2813275571182134 0.06699071722487192 0.5159392177040995 -1.5625458568865427 -0.5290526773462948 0.7942646796218271 -1.2542894231692494 0.2935579321666293 -1.356581804623405 0.46642998243352635 -0.03564148229748357 -1.6151318159055095 1.1647393544571714 -0.7345915767980492 -0.810252437014381 0.20056919723094285 1.1486373494287152 -1.015821818978397 0.06167984984797165 0.42881650033057295 0.6931056072631441 0.1764415552772252 -0.3670278390833223 -0.8275902206487197 0.08614388304637476 -1.072139011985607 -2.9213504834946074 0.4365598041576678 0.9039348410861953 -2.3629324355418384 -1.0097307047099375 0.6191542610051978 2.0574954697116987 0.020793707675407894 -0.7280029412291344 - -0.18289644110484016 1.3748764191481848 -0.6459641791245353 -0.7991920066502536 -0.4827435221820324 -0.9533286082587124 0.12267031599479553 1.6246784584695606 0.3230792731160291 -0.2523535021262876 -0.2918112689155441 -1.563190808696657 0.883109777147159 -0.07783719701280203 -0.18047991359062565 3.193107567844861 0.29875290836568624 -0.7517910500951843 -0.4263575962055433 1.1484457091967548 0.11327041053776446 -1.4382779783173667 0.9192289345752035 -0.668144085538994 1.8732977762175456 1.0800480657146485 -0.4473218956587512 1.281016361735113 0.0678555105274033 0.8527736751222195 0.48473281729447476 -0.8463566549908735 -0.643549832317462 1.0299608175811612 -0.33477533210654087 -0.4036484632419967 -0.955122579349353 0.42359906559346105 2.062524919243145 -1.0675329142542729 - 0.02421945667275807 1.4122205554154292 -0.07964139124571515 0.4523717962497339 -1.0623935281468797 0.4283070972076486 -0.18714426500454878 0.985729995679863 1.1873860515647512 2.589563642018614 0.5796331732135757 0.32579631658216646 0.19438430157733602 -0.35316629281068834 0.33848384346169114 -0.29540141013902943 0.1684609762696143 1.3175975356079597 -1.0065425652796411 1.1398785611290454 1.3171150673398653 -0.11806852699107874 -2.1218548990085946 -0.6078219870944325 1.2969945465611092 -0.022868062298882122 -0.9993022322949108 -0.5047749212282174 0.840620026504553 0.5467335682013793 -0.23893209916969432 -0.36682441181468756 -0.3917581490438219 -0.9224101844985025 1.6153756894694418 -0.3223204692113399 1.2171585208254965 1.5213160519224513 0.9983108981479604 -0.4316203127180484 - 0.40373009033660945 -0.024195606390916165 -0.9037018607301281 0.324359281721603 -1.1790397911598025 1.1876793884615637 -0.4646172972983931 0.2011596558728393 0.28328787154614216 -0.25890497370407733 0.5866938014752747 -0.47490365662252443 0.8712972974572442 -1.3459796802467485 0.12637957954641182 1.9389289990582848 -1.0003313246055747 -0.6777449705248515 0.513907849658915 0.17958178193959795 0.3506300992735592 0.4891871301476635 0.6347214685617699 1.1096998419562232 0.40981865692851255 -0.24125765461854246 0.6725737012027313 1.8998819348952156 -0.13263374638257355 -0.9745293046706415 1.1070806692869728 -0.12038116395359824 -2.172669546014036 0.8474216771504216 -0.5353281859539227 -0.09053328230416077 0.33198033056901455 0.1904996797790664 0.7094518171390395 -0.43548637056984335 - 0.5131057981760827 -0.2595466775839172 0.738810480887503 0.6153674840130534 -0.9354387020445953 1.0859821161750323 -0.535963445114048 0.8080577982811451 0.36728731340134063 1.8381836767951225 -0.22346598237185214 -0.3493167961181975 -0.01941960588773261 -0.30317978283427544 0.7999419019420501 -1.616310608436588 -1.053682419146354 -1.067802921579193 0.9503075919735757 1.7106133725819253 -0.1044492185374715 -0.16882172319001063 0.07005216311318138 1.1618783026081905 -0.9273531341905741 0.23836898273478513 0.9751976297824297 0.5010941699398452 0.1895816165987434 1.0010460925671412 -2.703232292999237 0.6778753195309076 -0.6540756831274238 -1.830632896856457 0.5112025995249807 1.3736585451629577 -0.13744851462769186 0.9528745472029388 1.6122782579886454 1.3149144535840473 - 1.639964529371393 0.7421274910718922 0.0754336389015928 -1.6019658118971685 -0.24606248812994858 -0.8432465953161917 2.1709427174978138 -0.1758858124323366 0.12320480678448567 0.5514853760404675 0.043602446372453724 1.695051040430753 -0.622649361734452 0.1946074552372427 -0.7424705856980482 -1.3200225112207058 -0.6117690909052854 -0.03703679704841202 -0.42930222451725997 -0.692420979873856 -1.4063174636718339 -0.08310557262869477 -1.5047203740310022 0.7600559636896026 0.08243975293450329 -1.4575514994649306 -0.30920907704986345 -0.7521564055905832 0.31917451041918043 1.3404504460231446 -1.8751724696457446 0.11502607914741717 -0.1601327955666404 0.6713400764504657 0.21319662823768915 -0.7519693317388191 -0.31905393566661816 -0.796025856803489 1.0760071385985983 0.02131164867194222 - 1.9011906857530074 -0.060660813814620775 -0.7084067669104628 -1.5137143926128271 -1.803139676255945 -1.5841359430054898 0.2671266510114834 0.5087250232299338 -1.5811907020321334 0.8950383140761154 -0.4830610516834395 0.14679301198554937 1.6122206282554243 0.8968393158655319 -0.2685306479058323 -0.8911922254152874 -2.151815401329305 -0.7191533192424201 -0.21113023882769444 -0.987179527151184 -0.13125696709230472 0.07685188295876821 -0.22485598180807856 -0.6500025808234597 0.16865467196672768 0.44194064956940904 -1.090399077442846 1.41093237974627 -0.09858813228426173 0.018849622944847662 0.7082144232565571 0.23321613126350166 0.9531366339132451 0.2871241652018242 -0.6124373746404379 0.36150352520610163 -1.1437262073206618 0.10855970577652314 -0.0332299906444608 -0.2081168572725397 - -0.12853751143893075 -1.881849045497639 -0.5487249077409615 0.09284490114111471 0.15985639199740037 -1.0276751409259581 1.2657078408647007 -0.8661748482145009 0.9694572005267368 0.42719436187168486 -0.646227309843803 1.775310892609512 -1.19363683175648 0.9191541736100015 1.0005823180429783 -0.6706202090766449 1.3924653000643288 -0.2500465145989528 0.28869362927985703 0.2603218387712207 -0.1343087414705478 0.8108082731597821 0.793488720552213 -1.7485319732381808 1.3043402428781525 -1.6624919880356743 1.0325462043416573 1.1267051368275833 -1.0909664302151982 -0.4108142879545848 -1.1057046684859357 -0.21492103028873533 -0.30803428418574125 0.7796605322693398 1.3103087461196083 1.395683810789956 -0.5621680265783021 -0.20922187374452778 -1.6834381922209503 -0.8058700664961888 - 0.9648516330974576 1.6155828235482317 -1.234348871879922 -0.5924642591528942 -0.02640575695892703 0.2801611588196068 -0.8096035199216461 0.4240610444640897 -0.47383934707091613 -0.014452270878279104 0.5462842480036996 0.0064222698109378164 -0.4363858905265686 -0.10960980392583083 -0.08836295920533532 -0.3700110298821277 -0.25879606266710237 1.598647170504717 0.5609194479412387 -0.29548031802916036 0.6969544045107356 -0.33381948975600995 1.1731246375866413 0.3696421921980939 -0.10730214400422888 0.4477169258102776 -1.5708761520684993 -1.1267674689098053 -1.1939250063990554 0.14294309476370676 1.732514999485092 2.2313001461926323 0.6380511014407572 0.5008444749444569 -1.801057734152739 -0.5426737997340217 -0.7877837519082389 -0.620847598251116 -0.1681438185847896 -0.47209057769712737 - -1.9792998103757877 0.7479102561175338 -1.0727430257398065 0.23924686411114954 2.0740826697499735 -0.9193845915864234 -2.5302875227463297 -0.2860042218801108 1.100959634998571 1.9583474542205939 -1.2295495944524168 0.4966992232365217 -0.46531045678005334 -0.10594835430413566 2.6443433470170348 -1.5029703283951532 0.25373966149457344 0.4676931717654332 1.0857863249393471 0.09798315347089544 0.3080505395041023 -0.3916485674217911 0.26912694124510733 -0.3431922754974105 0.6215718898560508 -0.36961033604363397 0.37710039390218647 -0.029262813684978354 1.1260502507721681 -0.05139372358848624 -1.7730324682068814 1.2619215007139917 -0.9057323008626189 -0.6537663386488198 -0.5956612940434921 1.3744380931708173 -2.1356742139786955 3.1377485336599937 1.0560568090660518 0.22323891412915967 - -0.05489400061628639 0.28555407485765694 0.5211224283793383 0.645215585950057 0.5556044660034485 0.08958068125524882 -0.1973384203073261 -0.1512732836535117 -0.194908280352681 1.1337700968670645 0.5935567222808619 -2.9403886346642802 0.655900776529761 0.19473619471877485 -0.018708756445897416 -0.38851845308888583 1.1241127199860135 0.9475264621228578 -0.7728776678236091 0.4070522871245351 -0.971656734541286 -1.3796181647889305 -0.6267172245899651 0.8623934723827588 0.9531250453760867 0.513085420097293 0.7250957868479971 0.5161782871149584 -0.6414815952229522 0.43192254467394064 0.8004095252276823 0.7542913298135743 1.188913371474643 0.7083038472010638 0.3514482075415829 1.0701502383164274 -0.026521259249060063 -0.8818746512277178 -0.16306696394376388 -0.7449026448064491 - -0.6751782749743815 -0.14451867071551783 -0.7924199209999613 -0.3079615296390403 -1.8936146669537857 0.21329370737293857 0.0012054753622242368 -0.8170886310681906 0.6592456684324051 0.9375701376265584 -1.6075598643689741 -0.7627247785662142 -0.7691423497872982 -0.9399031011088647 0.8294748419317485 -0.19382613877280352 -0.26451484131061076 -2.0038623644067535 0.6354180302092264 -1.2392583948534726 0.05993263026632825 0.2773769379581917 1.360658595838651 -1.308820399119112 -3.0195121558208253 0.18384954475369486 1.8005111815108537 1.2389463529394373 0.20965941527462578 -0.49163618563204736 0.8071225966373103 -0.9735461997044687 0.47635776935621926 0.5054701591666269 1.0602099074988798 2.7596600389110777 0.39241596717876703 -0.5089636257074988 -0.025574312191994436 -1.7690759048891183 - -0.6947131310890582 -0.409282438113104 -0.5240883979345925 0.152354872033722 -0.8224199323822006 1.1210306673244714 0.00020706491819709385 -0.009300321138614417 -0.32789471651291785 0.15519068385897913 0.8250982646676347 -0.8671302157109003 -0.6581164890752567 -0.30372602877666466 -1.345870923473215 -0.8192578597214978 -0.47622087354465903 0.8743891807127275 0.26256132900192497 0.19358991136754436 0.8508979621679722 -0.13737178839939665 0.3904648499288896 -0.10322175293249623 0.26536234939962844 -0.5827586576115821 -2.438817158276429 -0.13427916218630415 1.42274813609994 0.9262154022415924 0.9653974845911707 1.2361307218062179 0.08865759096143744 0.1973157074055956 -0.6176518954343502 -0.31607285602704976 0.6157711497711416 1.2038844371688162 -0.13944627568099954 -0.4501892648514116 - 0.0005279588565972928 0.6012067489291149 -1.4438548161335418 -2.296180953137238 -0.5505368494915835 -1.2207124259141586 -0.5081401976473109 -0.14778031881747153 -0.4532484090230134 1.4524675344707454 0.32674476460232005 0.30047435961082836 0.6222071440434019 -1.1388331177807691 1.0391117874202687 -0.07576428653545988 0.6704806172412126 -1.0718572330401555 -1.5537587660160643 0.8178896580250287 0.3764095260975166 -0.9020515543575104 -0.8696630812746944 1.1254347844147694 -1.1894118928673278 1.6426729532559634 -0.9006207346478687 0.638391925608383 -0.3286184757489846 0.6031874310823431 -0.5441140021141926 -0.1627929060722942 0.04091917539572113 -1.0021874557814727 0.7408243454201259 -0.5132135664715852 -0.22859991534001858 -0.9943493746085122 -2.5623336587953105 -0.19102776260016902 - 2.412615421612916 0.7846042878980238 -0.01926037973439464 -0.2628908292082677 0.02246589281204638 0.54711911517521 -1.1808128153088449 1.114321694668872 0.7153813154412441 0.7181857257079345 0.4384757388097273 0.019616657693989903 0.6728612359668199 0.591814133741378 -0.3540407109410238 -0.573601772896901 0.1018562952619867 1.5490201514951873 -1.2391070756539009 -1.46752526575244 0.16476084123651674 0.05088770185601806 0.1733416643704082 0.24395319790850026 -0.22320225463480511 1.4898634386020821 -1.6009039784765156 -0.828497024780246 -0.10325476014904739 -1.6431888111541673 -0.17585440443207118 1.6614701657280182 0.020886488295961788 0.23070090571868349 -1.2601647651725802 -0.6163614080394775 -0.375196380323937 -0.31771509675623405 1.2816437950037687 0.5576910607251245 - -1.111457956937032 0.24650477843200488 0.49822174849678513 1.1401490385212665 1.5805406865683735 -1.0150941918278686 -0.8108575112103382 -1.2575778589146163 -0.23401985910698136 0.4663583744463345 0.9873345165891019 -0.07595102364252276 -0.31984752325484395 0.15175799224874037 -0.835142901630023 2.0895387216947734 -1.6076610271180587 0.18474057889572446 2.0236062192296393 0.006799844559997769 -0.19003903500149447 -0.3574454228104272 -0.18039168176240783 1.3728484746765302 -2.211861911329507 1.5334337012963255 -1.423957152450145 -0.2666523292344148 -0.42924442029866183 0.5885532697707198 -1.5981243518837476 0.46217266608194285 2.0243096232868525 -1.3631740045928105 0.18970616761039566 -0.6619821777966091 0.42588720619303577 0.01914777741575206 -0.6414869090443096 0.487872284871074 - 1.804348109786743 -0.19090379172729868 0.7197579421481819 -1.2932729578711637 -0.9564363768180087 0.47240627788037737 1.484116028535965 0.35561334878566 -0.31305803052315434 -0.0007085945766459172 -1.2504077339697175 0.6045153263553668 0.8823330623234091 -0.45209033283308037 -0.4700421477595015 0.2658782296520485 -0.4367197360405955 -0.06613261462582246 2.0997217891665154 -0.24702570074599667 -0.3583401520212222 -0.6475418056351592 0.7441919714999368 -0.181224173218103 -0.649373038321426 1.321304032273012 1.4196030045136372 -0.6004235657387051 -1.8665399513606162 1.0075136898369221 -0.684629825760004 0.7906255991627686 -1.9701038177118355 0.8925973382993092 -1.2111719292807812 0.7307641190665245 0.014273067836434106 -0.9539394193966448 -0.4070363129267805 0.6863184569567008 - 0.10589445311523424 0.5844129804724842 1.9764405845154855 -1.5642416117110514 1.617212574968624 0.10435593752321293 -0.8987840483231282 -1.3303136257389898 -0.1891203907770335 0.9216501119244593 -0.12754912037753421 1.5111549302473475 -1.4511756900515589 -0.01208894784605456 -1.252393444413119 0.3636318826249679 0.8868873900973003 -0.42076179368105326 -2.6042138566271342 0.19894814679649453 0.4367385517335095 0.40429475496169764 1.235782191822154 -1.0710536796490489 0.6802161054504494 1.192507512477975 -1.7785875840065168 0.31965182591897723 -0.5041798310076715 -0.08152267310164589 0.34767648353833636 -0.4872285641135523 -0.6757080791616118 0.0341524174880246 -1.0872459388628026 -1.0858251288851855 0.6793732829565033 -1.148794035158656 0.6663125009092119 0.4625912928539512 - -1.7258067287905967 -0.6775646523356551 1.1941094030473725 -0.9811655311396816 -0.46440426230938764 0.4620608932518965 0.7833905092825955 -0.2515388860444957 -0.5975101946916416 1.4223698616985077 1.7388996637975789 0.9788580507817954 0.08531814256502405 -0.8082657216409264 -0.8304444065565653 0.5225141052657575 0.4183982208886837 1.4015985929464294 0.6504500925361392 -1.503080301759818 1.0519476177229186 -0.9980606273144129 -0.3839712719523516 0.2502002062516945 1.9956674897839644 3.109918556005361 0.6067230591361827 -0.18319661872038787 0.5345056484805503 0.8876554258738361 -0.3206676255571917 1.7952113559123222 0.23007075919140207 0.49774308909139425 0.6659242520544614 0.4215866106144557 0.8389405004696122 -0.6172531865469232 -0.5583017539460305 -1.100154232971695 - 0.4395012306202264 0.7789365035121141 0.4577728661518858 1.6744924333475373 -0.005596018829046555 0.6687416555925126 -1.0917008761393143 -0.387099702474401 0.6955377575657775 0.849102110743144 -0.29396694766418224 -0.07159925185806683 -1.5178737466808094 -0.3570292008066094 0.8903831635197862 0.5752050161065663 0.5006657213812097 0.04977368718096008 0.007063158628176452 -0.6603211394734471 0.6988284202025348 0.4209729443893898 0.49201884799279927 -0.5260348426675804 -2.1533429198712444 1.0971527117536957 -0.47883745600840416 -0.8627757640431206 0.6934789119139937 -0.3920126399191296 1.0599363840466218 0.6170059495766975 0.6835693232004776 -1.3659557112005343 1.2119439853864005 0.26125053123385605 -0.36927713924620315 0.14338846734225108 -1.77623523289832 0.40865281148067084 - -1.0293715081820716 -1.3526702858435344 -1.5223591862178911 1.1126883749899252 -0.6292633936927887 1.5337277099164992 -0.5358014630522978 -1.7073579575929467 -1.1165244399486591 1.2358116200069387 -0.15589817793666752 -0.5482872964906009 0.1600182258527877 0.501782736167545 1.1173988159024608 1.4484992298929262 -0.35976864578908574 -1.3260476860820383 -0.413465161123276 0.26028050658288615 -0.9637589262106109 -0.9571509148950429 0.34378788154988543 -0.04865235157045115 0.03279699541158651 -0.7584953347000695 -0.23040071420576733 -0.9242331442683044 0.8901984111247868 1.0352493347237526 -1.8461878622380938 -0.92951086019241 -1.496529255090079 -0.6500239344068982 -0.08343796979036086 -1.44964521969853 -0.9218598131253132 -1.0039573720814985 0.20726732939894396 0.06934433703625043 - -0.7217375533372533 0.17682087213939798 -0.5466800845872654 -0.2716551103260533 1.673452090298537 1.340461051790348 -1.2995812369275976 0.8297324178791745 0.8113965544915921 -1.1482632887526183 0.8187776437548606 1.5379319184125528 -1.1225448062444139 -0.9175028210142636 1.0176614668435024 0.271495310825648 0.5514762752395233 0.3405892164004968 0.39069592092814415 -1.326472128311083 1.0473177066214483 1.1695899924277735 -0.22939074406802776 -0.04347694981386243 -1.5311075025557221 0.5142547560178349 0.5720574417141441 -0.062191016999311004 1.1243533598705027 -0.3340772309799405 0.5646059258936003 -1.0196643386921156 -0.02355215087423812 -0.17435425790283585 0.22530792204094158 -0.3695269288333586 -0.1314725956716678 0.8260471714415063 -0.43676423723821745 -1.6065771007386793 - 1.7495839042054206 1.3814540786904865 -1.2922626951056186 0.6897078052451944 -0.5029747705513431 0.26348721533105957 0.2942241290134937 -0.234407800316322 -0.7837656655863965 -0.6905410523162594 -0.9161919154812425 -0.8318222082304447 -0.06717829004935526 -0.7157599891107518 0.6820520657126199 1.4872461553359273 -0.580053241370043 0.23940450053537707 0.49968511030293383 0.4720022709192744 0.07595526791608741 0.7426824183597224 0.4822489526806572 -1.2376624223272978 0.8691560643892732 0.8872908372667421 -0.7632861041785816 0.03793783544760203 0.6833289928110694 -0.20931381957936157 1.0729780477660118 2.3638724946193608 -0.7859860326349823 -1.3810446031537749 0.30381859560487573 0.7215625051261435 -0.23086637384476896 1.4532606633210343 -1.3386057997232488 0.6929186230316111 - -0.6058608207588934 1.7193779062072967 1.9925153531681183 -0.7666565877833479 -0.5495571359085801 0.8595878869798019 -0.3871306497895146 -0.04541121793223822 0.02538842054241018 -1.9196731561976563 -0.01383774609423725 -0.6897277740641738 -0.493122822399772 1.4436320034688142 -1.2565068942792563 0.8132051867479773 -0.2789629303318085 -0.2797601684958344 0.7903718960517113 0.34005129456889044 0.570612997219531 0.9681846605328611 -0.33130838318332273 -0.6122367345077503 -1.085150526557798 -0.8254105299789551 2.9490944253087252 1.2446795807367868 -1.3510743662080213 -1.3224579567435701 0.4818660617184915 0.547264797377967 0.5488838353173644 -0.25495579355369785 -0.12545426000290022 0.3278795241593574 0.08589300629333041 -2.219300372747535 -0.22979963057519381 -0.8514064342603136 - 0.17521141890851205 2.98525900260341 0.3674816654743044 -0.3135296861723979 0.9218015019772522 0.4826878872092127 0.4200944904518413 0.606850593215671 2.0565435648295414 -1.1308884353259157 0.47363207681145447 -0.9263811299815384 0.5555126463422483 -0.9186865114860944 -0.4173668136050844 -0.2950899142379063 0.975816719344709 0.9184544439424138 -1.2457173764463845 0.054934110999848726 -0.7095798547491726 -1.2585049106753345 -0.21701705042437042 -0.3084827884558197 2.4267164863455224 0.43295982536069616 -1.3776175007542373 -0.5647740041709423 1.0213832954293984 2.088442772869925 -1.5859833122379583 -1.879924385139045 1.8709651753717822 0.38961417737090387 -0.8682927318763665 0.5346290861224353 -2.6357477390168778 0.003375506597160999 0.32782117284308526 0.9242701395378298 ] - [ -1.0138959522925377 0.08568716140335904 -0.9254246260595873 0.2553837556743171 -0.8953463223630241 -0.4081008391602206 -0.9958153947902291 0.651136241823657 0.8584511166566653 -0.2346205699574138 0.03823799496002834 -1.4485914146335441 -0.29967664800678706 -0.05020461704174478 2.620793091029975 -1.1119670257741636 1.4641772387524374 0.996858773465808 0.2806364044901364 1.7586204841951334 0.3721054726068629 0.3891591956679287 -0.053120653017545344 1.2235688824186275 1.0964692338108837 -0.6256772874962124 -1.3192471945987674 -0.20298063739565708 -0.8000385643976464 -0.0635245746153551 1.2374381346841392 -0.45730165508679 -0.04282338131157488 0.058022734808395225 0.8484308822052846 -2.246889333984605 -0.6067002947652967 0.21128369227947272 1.2000789564268612 -0.49190244750620515 -1.876552706041874 0.6197114459661363 -0.6353623888256293 -1.1896666590903613 -0.6243453897132241 -0.18452535765584954 -0.6047446645382127 -2.205566057099069 0.8970661968871322 1.2748750412787222 0.6515219913395057 -1.1376856704248166 -0.20149153394751798 -0.006521315229458062 0.5987943895619102 0.6683404887180808 -0.7341737987784958 0.08199555641356042 0.4572804046152411 1.4558223221467665 0.7045065398247231 0.7890566873755189 0.08382662792936094 1.4104591452035038 ] - - \ No newline at end of file diff --git a/kaldi/test_cases/fixed_affine_40x64_T25_S1/output.ark b/kaldi/test_cases/fixed_affine_40x64_T25_S1/output.ark deleted file mode 100644 index b215f8ad5f..0000000000 --- a/kaldi/test_cases/fixed_affine_40x64_T25_S1/output.ark +++ /dev/null @@ -1,26 +0,0 @@ -idx [ - 3.405568 7.98714 9.331537 -5.3923 -4.821827 9.219112 0.1563121 0.451664 -0.5275053 7.011844 -2.726307 -3.640988 -7.136401 -8.408744 -4.015246 -2.678854 -1.285143 10.49406 -4.2969 2.104002 -3.107939 -4.086637 5.410163 2.027422 -8.229688 -3.437343 7.438932 -4.741649 -1.045588 -6.675391 0.8987063 -1.515467 8.467108 1.030785 -4.100087 -4.719499 2.375555 1.348384 5.879707 -12.3282 5.701278 1.216974 -2.932378 -3.536037 5.471398 2.984096 6.445446 -6.080109 -4.535579 5.748355 -2.38219 -1.056432 -0.6456143 5.0822 -3.233882 3.035957 8.03869 11.76437 -2.641341 2.57356 -2.522758 -4.889272 -1.452255 7.052626 - 1.280825 0.3866682 -5.833956 5.284606 5.701599 -3.156919 -6.151627 4.528269 0.8012602 -7.991629 -5.418253 -5.919189 -3.859349 -4.244054 -3.389609 -2.975154 -0.4459224 0.126295 2.132093 6.529543 5.267474 -2.32925 -6.290717 7.014786 1.65925 -2.469266 6.530115 1.918149 4.598234 -1.712273 -0.219978 2.235668 -5.950858 -17.94146 4.090297 -2.991459 -9.173656 -1.523136 10.30937 -5.868397 3.611512 4.560928 -3.478874 7.640625 -9.853021 -0.2987936 -5.899755 -2.579652 7.7751 5.524381 1.578463 3.903949 -5.328395 5.523688 -4.027093 -1.416468 3.429207 -0.5921118 1.731166 -6.286104 -3.443817 10.23909 -4.515942 6.079161 - -7.902194 -2.064998 -9.272307 -4.128123 8.235579 -4.863798 -2.15583 4.606809 -10.5629 0.7017498 11.94078 7.448397 -12.02818 6.800817 7.132438 -14.21916 -0.8195618 -4.540256 -3.961149 5.919911 3.074346 12.77137 -1.757987 -15.66531 20.00731 6.595445 -5.020356 2.364329 1.171727 -0.8001705 1.108778 1.720978 -4.209576 -8.879165 0.8844998 4.320778 3.01242 -4.294878 7.880318 -10.44245 7.903535 2.661698 11.45325 0.0947715 -18.20889 -7.808382 -6.852924 -5.099425 -7.965916 10.24606 7.966558 0.006389022 -1.376158 -1.253528 -12.83992 -7.134043 -4.961194 -9.36915 4.458366 -8.891006 5.234126 2.749664 15.31069 0.9004964 - 5.32786 -2.072197 -0.5458835 3.725886 7.532254 -5.87349 -0.06439924 2.938127 1.956753 -7.254988 11.3672 -6.651858 -0.5565794 5.410745 -4.543145 -7.078554 -11.28032 -4.605568 5.003565 5.207755 -1.277862 -3.856907 -11.42771 -2.130927 1.611698 -2.320418 -15.39817 -1.948139 2.763156 10.52153 -6.384096 -2.15696 -5.846093 -3.400315 -6.436676 0.07008505 -6.178407 -8.26402 6.646098 0.7816736 -3.149614 -5.077105 -0.4592955 -8.230342 -2.958868 -5.49902 1.424063 -6.634009 -7.583406 -1.433728 6.819344 -1.119189 2.799502 -7.977451 3.821306 3.017548 -3.473781 7.882528 -2.545699 -2.589856 5.418523 -4.90113 7.717958 -6.111078 - 3.352283 2.248353 -4.973899 1.294174 1.033928 -8.204611 -3.468673 1.386098 3.809498 0.5045204 -8.323271 -6.126852 -6.715621 5.317358 1.304939 1.487737 -2.74024 -14.16755 1.536338 -5.535324 -6.587394 -8.034737 -4.065969 2.059874 -10.07785 -6.319477 5.201008 -3.943566 -6.60342 -1.868535 -11.1286 3.888598 0.8515187 -6.878407 5.474106 -8.279303 -6.514521 -5.985474 1.107832 4.384388 4.480465 4.09749 0.9872239 -20.10034 -1.840887 0.4983584 -7.919242 7.366369 -2.140258 5.302886 -4.851847 11.47255 -3.013613 1.707662 -5.846693 -4.142521 -6.479457 11.73359 -2.428555 -0.6227826 4.77937 6.923976 -5.955997 5.973926 - -8.209773 -3.048961 -9.374223 2.13604 -4.524787 7.586868 7.860307 5.089928 -0.5426096 21.94912 0.5619616 -3.825553 0.6132565 2.441911 5.351912 -6.401785 19.42197 9.232481 -3.076623 6.496424 -1.973465 0.831634 6.889195 -3.461116 4.942216 4.13503 8.408915 4.129462 8.090016 -2.840088 -8.501734 1.52176 0.9025952 5.099522 -6.306602 5.466043 16.00017 7.869655 -5.572386 -13.67011 -1.269374 -0.4816645 -1.332766 -2.200421 -8.854824 1.494033 1.95735 -4.734138 13.20517 2.715889 6.587024 -10.10387 3.771657 -2.862122 3.597733 0.3037774 -3.823111 -9.582572 8.440419 -0.388592 3.61303 2.456045 5.755358 3.623506 - -1.407285 11.51543 2.981675 12.62567 -0.9105567 -13.66479 -13.89286 5.222596 6.043909 0.3962791 -14.16988 -8.981473 -3.502515 -0.02959452 7.396011 9.279077 -7.52501 -1.823426 7.816989 0.8014296 -7.412548 7.855609 1.107773 9.358552 -0.391095 -3.048572 -17.55626 1.102882 -11.19816 0.3405427 10.74038 -2.005787 -0.5853086 -10.36783 -9.024813 -7.575143 -10.20957 -11.33573 3.063236 -4.443033 -6.20918 -12.14943 5.449564 4.235837 6.008602 2.785893 -13.45786 7.935069 0.4744431 4.33237 -2.781801 4.288676 3.373909 4.646824 -1.032378 11.96101 -4.909131 0.7896333 -1.369693 11.326 -4.905575 12.63249 -3.581938 -11.53338 - -6.121248 7.695001 -0.3848568 6.205318 1.790616 -1.277424 -1.629751 -3.686173 -2.153764 -9.373741 -4.790899 -3.391223 1.838728 -8.871603 1.892498 5.833095 10.39669 0.2239992 -6.961539 3.706261 -2.230335 0.294887 0.1449666 0.8352819 -2.913954 -3.093723 -8.926397 0.4873999 -12.4602 9.700995 4.012511 2.319466 0.6147313 -1.994836 3.674098 1.900492 3.94439 9.123667 -2.239074 -0.01005468 3.383274 4.86226 5.021534 -4.389148 -1.357743 -1.101267 -7.058492 8.696469 1.039078 -0.3881956 -8.827209 1.533932 -0.515557 3.918679 0.0012905 6.909912 8.021523 17.32283 -5.372037 3.309469 2.27283 2.289326 4.670383 -3.66878 - 3.422135 -7.795125 -4.076877 0.2507896 -5.136469 15.47544 -3.165803 0.2761236 5.228297 -4.250866 -13.16014 -0.01112914 9.951067 -3.050196 -0.708312 -9.301228 15.30566 13.42436 -12.81652 5.086561 0.09977609 2.836372 3.726439 9.046733 -4.847045 -3.863345 11.29761 1.713611 4.06648 5.051245 -4.014956 8.890858 -5.591944 2.763345 1.659225 -6.509322 7.552537 2.079994 10.03322 -3.583739 -4.122327 6.023847 -11.52897 2.891713 9.908319 18.4894 1.364383 1.564591 4.359113 -8.35332 8.667175 0.2817363 14.71311 2.697042 2.099446 6.53375 4.859759 1.441408 0.440963 -8.356158 0.07656181 -3.500159 -14.91205 -3.451431 - 13.17033 1.320911 -5.435646 -0.5744957 11.17916 3.49568 -5.667911 -13.15998 0.5169384 -10.84571 -3.605788 -1.591636 -0.46668 -8.77754 -8.892846 2.874976 -2.079886 4.004721 7.652757 9.409203 4.666997 6.54657 -9.791121 -2.243605 13.17119 -0.9366401 8.252289 11.37186 -14.33443 10.52179 -4.595271 -0.9114881 -13.06474 -9.920176 4.647431 -9.799601 -7.041494 4.53129 0.644528 -6.149155 -2.205969 4.289828 8.725698 13.45653 -9.615897 -2.770144 3.431377 -8.901888 -0.9532828 -4.840931 3.330494 1.843766 0.1631259 -8.041055 -6.19778 7.803578 -1.072617 -0.05224841 -3.300214 9.536881 -8.998302 10.50317 4.83179 -8.962927 - -4.2952 4.569447 -7.419006 1.133772 -2.017371 -2.110565 3.343713 -3.136828 -1.922462 -11.86265 6.632544 -0.7390025 -1.825242 7.140173 10.0193 -4.274054 8.90356 -1.059945 -0.08206406 3.909026 -1.537395 -2.296083 -9.04253 -0.003692269 0.3674613 -5.511339 0.08493805 2.869396 -8.719812 2.298952 -0.299033 4.547696 3.188391 4.952969 4.40492 -5.804335 3.10468 -2.713691 -6.538749 -1.634683 3.787583 -1.834295 0.7526979 -13.91569 -16.41017 -6.023654 -7.497619 5.983323 0.7868267 1.469517 -1.308696 6.103897 -0.2012896 3.514342 1.041828 -5.885105 13.0011 4.287972 3.278287 3.149901 4.468078 -4.469841 -1.107677 2.418557 - -1.270769 -7.460304 4.818384 -0.1376916 1.260568 8.746059 -1.643511 1.412226 -0.08099151 4.171262 -3.792202 -4.183767 2.539178 -0.5723652 10.79882 -1.129547 10.06143 5.909127 -13.46418 9.744197 -7.629959 4.809883 3.422167 2.375412 -2.569757 -2.830642 3.15567 -6.006566 0.567893 7.846908 5.188044 -6.330709 4.00259 3.502912 -3.082141 3.91309 -2.166787 6.495407 4.434738 -10.34779 -4.984972 6.881529 -7.869527 9.064707 2.441856 1.003164 -8.118717 -1.007957 14.88984 0.9102604 -1.898807 -0.1541202 2.575919 14.15733 5.752443 -5.720876 9.780461 1.943795 5.050116 -2.717484 4.012998 -10.16377 -6.55198 6.433791 - 0.2584569 3.107478 -8.530896 0.6212771 -1.61183 -8.956256 2.98393 1.400037 7.710695 -4.056675 -0.4530755 -3.431724 13.48353 10.251 3.712506 0.6866442 7.72189 4.641385 1.373757 -8.617782 -4.372461 -2.545745 -1.215091 2.012714 -0.4328771 -0.476083 -14.45668 1.746698 -6.564073 -13.68698 -1.262719 5.164092 7.105795 6.388008 0.1508847 -0.3688145 -5.059688 3.595884 -5.907851 4.065537 -1.740302 -2.98759 -0.006966114 -7.015229 0.3950548 -2.613904 -2.912992 0.158143 -4.939577 3.013686 -1.652345 -8.31014 9.732819 -8.204664 16.17131 -3.889268 -6.272784 -0.3189971 0.3989477 4.244575 3.197075 -0.08208787 5.483173 -2.97213 - 1.310674 -0.8473334 -2.136569 1.47931 1.686068 -4.186049 -15.85568 0.7387324 1.419465 3.275219 -1.236596 2.017566 -6.499537 -1.837898 3.361377 5.115812 6.338056 4.171458 11.48432 -0.1482334 -3.216476 13.0951 -0.3538899 1.015128 -0.3901538 -6.645321 -3.012447 3.064398 -1.703727 -5.941548 8.192743 8.151045 -8.83946 7.248066 -3.774703 -14.30301 -4.069973 7.186165 5.93188 8.590385 1.146585 -1.823563 -2.913547 -1.645541 4.363655 5.636021 1.62343 -4.589683 -1.528025 5.299934 3.220837 -2.638904 10.12824 -8.248771 1.973784 5.295376 -4.192438 -3.675523 -2.765462 9.600677 -7.622172 7.795588 -5.889419 -3.033555 - -7.053195 2.7647 -5.937747 1.109783 8.065602 -8.252145 4.274957 0.7597443 2.707231 3.65679 -15.12455 -8.866451 -4.463676 1.34733 -3.624573 -3.144719 -3.654715 -8.505095 7.057567 -1.288448 0.5288581 12.28351 -0.4362841 4.350552 5.018342 4.33572 -2.74145 3.143302 -1.822333 4.501639 3.977453 -7.131603 -10.0377 -26.98606 -3.815683 -2.984067 -5.928734 -7.098501 1.640827 -3.615341 10.60137 8.164625 7.894531 10.35113 -5.788983 -15.06623 -16.33657 0.9097459 19.6227 9.365047 -4.707045 3.863937 -8.032635 1.70199 -5.405646 3.703376 -11.79132 -1.770969 0.8235295 5.664375 1.368427 13.57992 -5.101431 20.21979 - 3.3576 -15.55477 -6.201319 -3.110163 -4.397961 7.771413 -0.7036265 -5.776353 -4.839473 -4.336745 -6.890389 -6.7815 7.255986 -8.079864 7.1232 9.909296 -1.985763 -0.9464634 8.732564 -5.463879 1.121086 4.233511 2.522668 7.467601 -6.807437 -5.25894 7.281566 -1.396801 0.7488494 -5.29414 17.73862 1.70618 -3.55245 -5.200063 5.200441 -3.568535 -10.23574 18.35485 -7.756469 -0.2496916 -9.162999 7.767908 -0.4657373 0.7096003 -4.707106 -3.97826 9.460601 -7.318993 10.4583 5.865897 0.5385925 -0.4100021 0.6369012 -6.578701 -2.782772 -3.578448 -0.5226089 -3.130903 5.63245 11.35172 -5.311419 11.0181 -10.5026 -2.640153 - -9.043598 -1.022317 2.111634 -0.6644824 -0.3807743 -0.8170164 15.71443 -0.8262877 1.213601 -11.47855 -10.52297 -8.127791 10.62763 -4.670837 10.77333 -2.129502 -3.370612 -5.615323 -2.117218 -2.734503 10.59232 -0.7567971 -2.447305 0.2307997 7.307369 7.053918 -9.740347 -5.525666 11.11423 11.11706 11.85519 -6.22904 0.8571489 -7.418473 6.621222 -0.4067338 0.9919996 -0.5958877 1.501352 3.975572 -6.37359 5.611428 -7.942483 1.54931 9.697631 -0.8006266 -3.862863 -4.682087 2.235801 -1.076917 5.784932 -10.19373 3.449892 2.908551 0.7513515 -1.747343 2.111014 -8.371533 2.247386 7.358944 3.412025 -1.119939 2.701691 14.28321 - -6.443411 -0.9048393 -9.124866 10.29728 -1.360448 3.926991 1.6028 3.099982 -5.806127 -1.671196 0.02996225 -2.621159 10.41103 -1.657158 5.815622 -12.8332 3.821691 -0.623255 2.45059 -1.988883 4.478099 8.229225 1.659731 7.22604 11.2135 10.50336 -9.602565 1.617175 11.90365 5.899176 8.271407 3.077802 -3.2547 -15.10122 1.665889 0.9922855 1.498686 8.041581 1.038132 -5.029366 2.134665 3.401852 3.276113 -4.769536 -11.11411 -13.59378 -4.909646 -8.473669 1.851477 -4.137959 7.756936 -10.5064 3.270369 -1.096858 -1.378586 0.07973129 6.106783 -7.573255 16.38223 -1.878536 15.25225 9.328886 0.7128173 8.259774 - 3.290886 -12.94093 -1.239348 7.054191 -14.82972 -5.570034 -2.274529 -3.642988 6.418729 -3.689377 0.5481433 3.781131 10.59764 0.6046156 7.866234 5.566647 2.326758 -2.395435 -5.786885 -4.690256 3.970512 2.111983 -1.860506 8.985161 19.0956 -3.097288 -15.25972 6.023662 7.964009 11.52189 7.535735 2.562697 -1.934021 0.2546252 -8.422195 -6.9835 -15.87868 -0.1050719 12.99271 13.91184 -8.972284 12.27696 -4.104694 8.532542 5.182849 -8.063707 -9.893309 -14.92065 10.03666 -6.263954 0.06555909 -0.6961352 1.708658 -4.655838 5.105736 -10.40328 1.931479 -5.110266 4.863726 9.4158 6.001058 2.386465 -14.19399 11.23516 - -11.1338 7.424028 -4.234307 -5.437772 -2.377802 0.5531898 -11.68184 4.755225 0.623379 8.906502 6.531132 -5.268785 -3.139416 4.624257 11.72859 7.882442 8.181898 -6.923397 5.217272 10.7144 4.536532 5.548532 11.64682 -7.284534 -6.246034 10.98622 4.381629 3.302619 0.5144651 -2.201151 1.124662 -6.665588 -0.3814378 4.155134 5.440938 -5.749719 4.312009 1.24805 -1.636506 4.960319 1.698198 -1.762137 -4.102552 -0.4456505 -9.29285 1.148129 -11.5499 5.644045 12.47444 8.944045 -6.760787 0.9843181 4.55832 14.16598 7.724209 -6.111917 -1.511475 2.798578 4.767342 9.98424 3.423364 0.6556051 -11.65602 10.55577 - 8.721879 -4.346835 1.800817 -2.120599 7.357519 8.801953 -3.356454 1.222472 7.31727 -1.061663 -3.217672 -7.375418 -7.277563 4.273671 0.4919605 4.950105 -2.768332 -7.14735 0.01367664 5.379178 -4.197451 -4.86365 -2.644524 -3.036743 8.742985 -5.810151 -2.083209 15.60298 0.6389977 8.876679 -5.234431 -2.877711 2.169041 2.791245 -5.091329 12.0028 -7.800519 2.950645 -6.689567 0.4811248 -4.458539 13.74299 -4.95271 10.31784 -0.9842661 -15.301 -8.919321 -3.235219 6.431948 -3.553427 -15.57559 7.251212 -3.193254 1.673 15.75721 -4.773069 -2.837279 7.547198 0.9123909 1.616704 1.314108 0.71605 -3.463957 7.487231 - 4.175441 3.280826 -7.656661 0.08885339 -6.075189 -11.5285 -5.69295 1.53673 10.72079 -8.082541 -11.17631 -9.046175 4.825125 11.43556 -2.769181 8.132709 -5.506873 -1.922823 6.220171 -3.867899 0.626211 -1.463784 -0.5010563 3.539147 3.937859 0.1336847 -4.472703 13.38318 -6.435431 -9.14234 1.082462 0.4811451 0.7351637 -6.681251 -0.07680154 -7.458736 -16.6835 -6.837173 4.857323 -5.716226 0.8619837 -12.94613 8.92618 -1.218039 -6.346855 -0.06627856 -5.093448 -2.633478 -6.622123 1.313452 11.55175 -0.3595627 2.287665 -4.133846 2.240457 0.7719519 -7.353903 -9.938403 1.874151 8.989242 -3.762275 7.037128 -1.296242 -10.02162 - -11.27633 4.489041 -3.896265 -12.3968 5.237044 -16.22166 4.293815 10.18023 0.1970873 3.056947 -9.092262 1.235929 -0.1038711 7.930489 4.598337 -8.845436 1.984114 3.905613 -4.919388 11.3506 2.148733 2.164213 -6.215351 -3.59845 11.47031 -1.22515 -1.2916 4.002202 -5.051845 -11.94203 -12.5033 10.95616 1.068523 -5.529776 10.17759 -0.1580975 9.499532 -8.434815 -4.076765 -12.76766 -10.57788 -8.601974 1.601961 5.126599 -1.530389 -4.63868 5.925076 -9.134064 4.250348 3.393417 11.39033 -3.568176 0.7011546 -9.808119 -5.484986 -8.824208 -7.495938 -12.6995 -1.069066 -7.608614 4.557632 -6.872617 7.191299 -14.80412 - 1.370466 -1.810841 -0.9803048 -1.482935 -4.255034 5.173978 0.03105807 -5.184089 2.216815 -7.471346 0.3581292 5.972957 2.057345 -7.140553 8.492448 12.22111 -1.374135 3.521312 -12.99451 7.739276 10.05692 -2.236696 4.679485 -2.190511 10.2797 -6.667778 6.04687 2.58731 1.967988 -7.571833 11.23745 -1.445126 -8.230679 3.00089 -1.759423 -14.6568 -5.283096 8.047383 3.847341 0.9251548 0.5306529 17.89069 3.425735 16.22459 2.047307 2.993328 -5.655762 -8.441972 8.048193 3.267414 1.725124 1.425525 3.607362 7.918204 -3.450948 -2.618732 11.26405 -2.351377 -1.159411 7.207722 -9.146069 -0.5614749 -10.33447 -5.885035 - -4.341493 0.7892075 -8.170043 3.244876 2.443261 2.051738 -3.404495 5.748096 -1.851393 11.15868 1.301405 -2.604171 4.029553 4.148427 -4.417333 -12.95484 -0.6399769 9.352003 3.475604 0.5031072 -5.1578 8.389979 6.985391 6.365728 -4.389314 3.837431 0.6779637 -0.6231128 0.3836513 -3.180134 -13.51552 4.801473 -0.3188058 -1.325305 -3.295279 3.767895 12.75045 -2.425823 -6.201165 -11.11537 -11.05143 -7.082513 -1.499586 -0.3068639 2.361918 -3.266824 10.40414 -2.419996 4.614928 -6.255561 2.5511 -1.970595 3.876524 -8.027037 6.830397 5.717059 -14.1636 -0.6136472 4.692473 -5.348802 11.09251 0.6645786 2.108387 -4.876141 ] diff --git a/kaldi/test_cases/fixed_affine_40x64_T25_S1/subsampling b/kaldi/test_cases/fixed_affine_40x64_T25_S1/subsampling deleted file mode 100644 index 56a6051ca2..0000000000 --- a/kaldi/test_cases/fixed_affine_40x64_T25_S1/subsampling +++ /dev/null @@ -1 +0,0 @@ -1 \ No newline at end of file diff --git a/kaldi/test_cases/fixed_affine_40x64_T25_S1/test.sh b/kaldi/test_cases/fixed_affine_40x64_T25_S1/test.sh deleted file mode 100644 index 8cb243b9b2..0000000000 --- a/kaldi/test_cases/fixed_affine_40x64_T25_S1/test.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -nnet3-compute --frames-per-chunk=26 --frame-subsampling-factor=1 model.raw.txt ark:input.ark ark,t:predicted.ark 2>.error -fail=0 -diff output.ark predicted.ark || fail=1; -rm predicted.ark -echo "fail=$fail" && [ $fail -gt 0 ] && exit 1; diff --git a/kaldi/test_cases/fixed_affine_40x64_T25_S1/vars.sh b/kaldi/test_cases/fixed_affine_40x64_T25_S1/vars.sh deleted file mode 100644 index 94c31d31ad..0000000000 --- a/kaldi/test_cases/fixed_affine_40x64_T25_S1/vars.sh +++ /dev/null @@ -1,4 +0,0 @@ -left_context=0 -right_context=0 -subsampling=1 -adjust_final_offset=0 diff --git a/kaldi/test_cases/lstm_10-4-6_T10_S1_delay1/input.ark b/kaldi/test_cases/lstm_10-4-6_T10_S1_delay1/input.ark deleted file mode 100644 index 5a3f3d24e6..0000000000 --- a/kaldi/test_cases/lstm_10-4-6_T10_S1_delay1/input.ark +++ /dev/null @@ -1,11 +0,0 @@ -idx [ - 2.0607479 1.7553408 -0.24896415 0.97157097 0.64537597 1.3686316 -0.96492344 0.6860515 1.0584245 -1.7587395 - -1.1832585 -2.0392323 -0.26940683 0.71754223 1.502357 0.07409478 1.6286155 -1.3801014 -1.7033825 -0.0555477 - 0.38406545 -0.03269475 -2.0674422 -0.08912004 -1.3044695 0.66967255 0.36659825 -0.9398798 -0.5138669 -1.0592135 - -0.0626791 0.9551423 -0.98572606 0.5040465 -0.53025764 -0.79287285 -0.10703036 -1.0352423 -0.5536493 -1.1978779 - 1.9647251 0.035263553 -0.6997255 0.21397991 -0.11232805 -0.2209696 0.6141667 0.7575077 -0.5305011 -0.57581824 - -0.27505168 -2.3019211 -1.5151911 1.3668742 1.6449677 -0.24903604 0.576557 0.31125015 3.0788808 1.1195749 - -0.12791759 -0.9555404 -1.6064463 0.20346363 -0.75635076 -1.4222537 -0.6465729 -1.081548 1.6871417 0.8816398 - -0.007972641 1.4799441 0.077368304 -0.8612842 1.5231241 0.53891003 -1.0372461 -0.19033867 -0.8756183 -1.3827997 - 0.92617756 1.9094167 -1.3985676 0.5629692 -0.6506426 -0.4871254 -0.59239393 -0.8639908 0.048521627 -0.83095014 - 0.27045682 -0.05023811 -0.23894805 -0.9075637 -0.5767713 0.75539124 0.5009172 -0.9775552 0.0993323 0.7513871] \ No newline at end of file diff --git a/kaldi/test_cases/lstm_10-4-6_T10_S1_delay1/io.npz b/kaldi/test_cases/lstm_10-4-6_T10_S1_delay1/io.npz deleted file mode 100644 index 5c9c716922..0000000000 Binary files a/kaldi/test_cases/lstm_10-4-6_T10_S1_delay1/io.npz and /dev/null differ diff --git a/kaldi/test_cases/lstm_10-4-6_T10_S1_delay1/model.raw b/kaldi/test_cases/lstm_10-4-6_T10_S1_delay1/model.raw deleted file mode 100644 index 75715a239c..0000000000 Binary files a/kaldi/test_cases/lstm_10-4-6_T10_S1_delay1/model.raw and /dev/null differ diff --git a/kaldi/test_cases/lstm_10-4-6_T10_S1_delay1/model.raw.txt b/kaldi/test_cases/lstm_10-4-6_T10_S1_delay1/model.raw.txt deleted file mode 100644 index 62b21e4fad..0000000000 --- a/kaldi/test_cases/lstm_10-4-6_T10_S1_delay1/model.raw.txt +++ /dev/null @@ -1,72 +0,0 @@ - - -input-node name=input dim=10 -component-node name=lstm1.four_parts input=Append(input, IfDefined(Offset(lstm1.r_trunc,-1))) component=lstm1.W_all -component-node name=lstm1.lstm_nonlin input=Append(lstm1.four_parts, IfDefined(Offset(lstm1.c_trunc,-1))) component=lstm1.lstm_nonlin -dim-range-node name=lstm1.c input-node=lstm1.lstm_nonlin dim-offset=0 dim=6 -dim-range-node name=lstm1.m input-node=lstm1.lstm_nonlin dim-offset=6 dim=6 -component-node name=lstm1 input=lstm1.m component=lstm1.W_rp -dim-range-node name=lstm1.r input-node=lstm1 dim-offset=0 dim=4 -component-node name=lstm1.cr_trunc input=Append(lstm1.c, lstm1.r) component=lstm1.cr_trunc -dim-range-node name=lstm1.c_trunc input-node=lstm1.cr_trunc dim-offset=0 dim=6 -dim-range-node name=lstm1.r_trunc input-node=lstm1.cr_trunc dim-offset=6 dim=4 -output-node name=output input=lstm1 - - 4 - lstm1.W_all 1.0 1.0 0.0005 [ - 0.4967141530112327 -0.13826430117118466 0.6476885381006925 1.5230298564080254 -0.23415337472333597 -0.23413695694918055 1.5792128155073915 0.7674347291529088 -0.4694743859349521 0.5425600435859647 -0.46341769281246226 -0.46572975357025687 0.24196227156603412 -1.913280244657798 - -1.7249178325130328 -0.5622875292409727 -1.0128311203344238 0.3142473325952739 -0.9080240755212109 -1.4123037013352915 1.465648768921554 -0.22577630048653566 0.06752820468792384 -1.4247481862134568 -0.5443827245251827 0.11092258970986608 -1.1509935774223028 0.37569801834567196 - -0.600638689918805 -0.2916937497932768 -0.6017066122293969 1.8522781845089378 -0.013497224737933921 -1.0577109289559004 0.822544912103189 -1.2208436499710222 0.2088635950047554 -1.9596701238797756 -1.3281860488984305 0.19686123586912352 0.7384665799954104 0.1713682811899705 - -0.11564828238824053 -0.3011036955892888 -1.4785219903674274 -0.7198442083947086 -0.4606387709597875 1.0571222262189157 0.3436182895684614 -1.763040155362734 0.324083969394795 -0.38508228041631654 -0.6769220003059587 0.6116762888408679 1.030999522495951 0.9312801191161986 - -0.8392175232226385 -0.3092123758512146 0.33126343140356396 0.9755451271223592 -0.47917423784528995 -0.18565897666381712 -1.1063349740060282 -1.1962066240806708 0.812525822394198 1.356240028570823 -0.07201012158033385 1.0035328978920242 0.36163602504763415 -0.6451197546051243 - 0.36139560550841393 1.5380365664659692 -0.03582603910995154 1.5646436558140062 -2.6197451040897444 0.8219025043752238 0.08704706823817121 -0.2990073504658674 0.0917607765355023 -1.9875689146008928 -0.21967188783751193 0.3571125715117464 1.477894044741516 -0.5182702182736474 - -0.8084936028931876 -0.5017570435845365 0.9154021177020741 0.32875110965968446 -0.5297602037670388 0.5132674331133561 0.09707754934804039 0.9686449905328892 -0.7020530938773524 -0.3276621465977682 -0.39210815313215763 -1.4635149481321186 0.29612027706457605 0.26105527217988933 - 0.00511345664246089 -0.23458713337514692 -1.4153707420504142 -0.42064532276535904 -0.3427145165267695 -0.8022772692216189 -0.16128571166600914 0.4040508568145384 1.8861859012105302 0.17457781283183896 0.25755039072276437 -0.07444591576616721 -1.9187712152990415 -0.026513875449216878 - 0.06023020994102644 2.463242112485286 -0.19236096478112252 0.30154734233361247 -0.03471176970524331 -1.168678037619532 1.1428228145150205 0.7519330326867741 0.7910319470430469 -0.9093874547947389 1.4027943109360992 -1.4018510627922809 0.5868570938002703 2.1904556258099785 - -0.9905363251306883 -0.5662977296027719 0.09965136508764122 -0.5034756541161992 -1.5506634310661327 0.06856297480602733 -1.0623037137261049 0.4735924306351816 -0.9194242342338032 1.5499344050175394 -0.7832532923362371 -0.3220615162056756 0.8135172173696698 -1.2308643164339552 - 0.22745993460412942 1.307142754282428 -1.6074832345612275 0.1846338585323042 0.25988279424842353 0.7818228717773104 -1.236950710878082 -1.3204566130842763 0.5219415656168976 0.29698467323318606 0.25049285034587654 0.3464482094969757 -0.6800247215784908 0.23225369716100355 - 0.29307247329868125 -0.7143514180263678 1.8657745111447566 0.4738329209117875 -1.1913034972026486 0.6565536086338297 -0.9746816702273214 0.787084603742452 1.158595579007404 -0.8206823183517105 0.9633761292443218 0.4127809269364983 0.82206015999449 1.8967929826539474 - -0.2453881160028705 -0.7537361643574896 -0.8895144296255233 -0.8158102849654383 -0.0771017094141042 0.3411519748166439 0.27669079933001905 0.8271832490360238 0.01300189187790702 1.4535340771573169 -0.2646568332379561 2.720169166589619 0.6256673477650062 -0.8571575564162826 - -1.0708924980611123 0.4824724152431853 -0.2234627853258509 0.714000494092092 0.47323762457354485 -0.07282891265687277 -0.846793718068405 -1.5148472246858646 -0.4465149520670211 0.8563987943234723 0.21409374413020396 -1.245738778711988 0.173180925851182 0.3853173797288368 - -0.883857436201133 0.1537251059455279 0.058208718445999896 -1.142970297830623 0.3577873603482833 0.5607845263682344 1.083051243175277 1.053802052034903 -1.377669367957091 -0.9378250399151228 0.5150352672086598 0.5137859509122088 0.5150476863060479 3.852731490654721 - 0.570890510693167 1.135565640180599 0.9540017634932023 0.651391251305798 -0.3152692446403456 0.7589692204932674 -0.7728252145375718 -0.23681860674000887 -0.48536354782910346 0.08187413938632256 2.3146585666735087 -1.867265192591748 0.6862601903745135 -1.6127158711896517 - -0.47193186578943347 1.088950596967366 0.06428001909546277 -1.0777447779293061 -0.7153037092599682 0.6795977489346758 -0.7303666317171367 0.21645858958197486 0.045571839903813784 -0.6516003476058171 2.1439440893253257 0.6339190223180112 -2.025142586657607 0.18645431476942764 - -0.661786464768388 0.852433334796224 -0.7925207384327007 -0.11473644146689901 0.5049872789804571 0.8657551941701215 -1.2002964070557762 -0.3345012358409484 -0.4749453111609562 -0.6533292325737119 1.7654542402810969 0.40498171096095553 -1.2608839543350452 0.9178619470547761 - 2.1221561970126332 1.0324652605511468 -1.5193699659540134 -0.48423407286625136 1.2669111491866227 -0.7076694656187807 0.44381942814622843 0.7746340534293368 -0.926930471578083 -0.05952535606180008 -3.2412673400690726 -1.0243876413342898 -0.2525681513931603 -1.2477831819648495 - 1.6324113039316352 -1.4301413779606327 -0.44004448669698376 0.13074057728609134 1.4412732890661155 -1.4358621511794394 1.1631637521549596 0.010233061019587049 -0.9815086510479509 0.46210347426327075 0.19905969557347003 -0.6002168771587947 0.06980208499001891 -0.3853135968617602 - 0.11351734525124804 0.6621306745210467 1.586016816145352 -1.237815498826849 2.1330333746562666 -1.9520877995225019 -0.15178509503558332 0.5883172064845765 0.28099186773503265 -0.6226995198205938 -0.20812225035727522 -0.4930009346588328 -0.5893647569442115 0.8496020970210246 - 0.35701548596504734 -0.6929095952606542 0.8995998754332507 0.30729952087660933 0.8128621188389601 0.6296288419236122 -0.8289950109220723 -0.5601810401969696 0.7472936051232618 0.6103702654334648 -0.020901593964148132 0.117327383308782 1.277664895788425 -0.5915713888358299 - 0.5470973811700379 -0.20219265243389406 -0.2176812032272203 1.09877685198719 0.8254163489880298 0.8135096360006385 1.305478807154329 0.02100384163275905 0.6819529712949639 -0.31026675659345604 0.3241663524884421 -0.13014305436768459 0.09699596499271819 0.5951570254369136 - -0.8182206832334725 2.0923872756854602 -1.006017381499702 -1.2141886127877322 1.1581108735000678 0.7916626939629359 0.6241198170521551 0.6283455092642799 -0.012246772846914623 -0.8972543714858315 0.07580455819372633 -0.6771617115121117 0.9751197334177512 -0.14705738150213865 ] - [ -0.8254971967925115 -0.32138584165299344 0.41293145427562433 -0.5637245528039747 -0.8222203955664315 0.2436872114919123 0.24496657110872277 -0.5069431753711298 -0.4710383056183228 0.2320499373576363 -1.4480843414973241 -1.4074637743765552 -0.718444221252436 -0.21344715171184725 0.3109075655980046 1.475356216949552 0.8576596232020194 -0.1599385299634271 -0.01901620790268883 -1.0025293646378088 -0.01851313599238993 -0.2886586389201383 0.3227185603380895 -0.827230943552323 ] - 20 80 4 2000 4 F - lstm1.lstm_nonlin 0.75 0.0005 [ - 0.5193465142411723 1.5327389130025777 -0.1087601484568576 0.40171172209894146 0.6901439917111125 -0.40122047188583626 - 0.22409248181041677 0.01259240078179486 0.09767609854883172 -0.7730097838554665 0.024510174258942714 0.49799829124544975 - 1.4511436077950417 0.9592708260852069 2.1531824575115563 -0.7673475628880495 0.8723206367206782 0.18334200573835174 ] - [ - 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 ] - [ - 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 ] - [ 0.05 0.05 0.2 0.05 0.2 1e-05 1e-05 1e-05 1e-05 1e-05 ] - [ 0.09288334 0.1117439 0.04945562 0.01552413 0.03755825 ] - 1 - lstm1.W_rp 1.0 1.0 0.0005 [ - 2.1898029332176723 -0.8082982853551515 -0.8397218421807761 -0.5993926454440222 -2.123895724309807 -0.525755021680761 - -0.759132661553698 0.15039378647620763 0.34175597577715944 1.8761708392158862 0.9504238381860503 -0.5769036556624031 - -0.898414671348358 0.4919191715065057 -1.3202332070206422 1.8314587658543537 1.179440120721287 -0.4691756521047048 - -1.7131345290908775 1.3538723741654128 -0.11453984525261789 1.2378163119734618 -1.594427658794367 -0.5993750229537729 - 0.005243699718183166 0.046980593764742055 -0.45006547147924364 0.6228499323474987 -1.0676204293825944 -0.1423794850212935 - 0.12029563171189886 0.514438834058749 0.7116148780888898 -1.1246420918378692 -1.5341141707356223 1.277676821898509 ] - [ 0.33231401197959165 -0.7484865365565536 1.551151975522523 0.11567463429285867 1.1792971840638264 0.06751848141010895 ] - 20 80 4 2000 4 F - lstm1.cr_trunc 10 1.0 30 15 20 3 0 0 0 0 - \ No newline at end of file diff --git a/kaldi/test_cases/lstm_10-4-6_T10_S1_delay1/output.ark b/kaldi/test_cases/lstm_10-4-6_T10_S1_delay1/output.ark deleted file mode 100644 index e9e58c6166..0000000000 --- a/kaldi/test_cases/lstm_10-4-6_T10_S1_delay1/output.ark +++ /dev/null @@ -1,11 +0,0 @@ -idx [ - -0.4110407 -0.7784576 1.874915 0.1425489 1.228786 0.6719182 - -0.4070929 -0.741917 1.039177 1.600078 1.217976 1.182064 - -0.6124676 -0.9824864 1.252712 0.8849586 1.219538 1.274017 - -1.351054 -0.007888913 0.7579545 1.385669 0.8999969 0.8172688 - -1.020531 -0.2155834 0.3046212 0.2554237 0.6628805 0.3041074 - 3.702904 -3.213444 -1.231119 -1.041566 1.510324 1.750289 - 0.7315003 -1.253232 1.039838 0.007597066 1.177182 0.4536638 - 0.3288926 -1.065917 2.015522 0.105934 1.428366 0.5324438 - 0.001807779 -0.6842377 1.649348 0.5908726 1.403093 0.6413453 - 0.6060451 0.3194431 2.520545 1.431549 1.807489 -0.7252979 ] diff --git a/kaldi/test_cases/lstm_10-4-6_T10_S1_delay1/subsampling b/kaldi/test_cases/lstm_10-4-6_T10_S1_delay1/subsampling deleted file mode 100644 index 56a6051ca2..0000000000 --- a/kaldi/test_cases/lstm_10-4-6_T10_S1_delay1/subsampling +++ /dev/null @@ -1 +0,0 @@ -1 \ No newline at end of file diff --git a/kaldi/test_cases/lstm_10-4-6_T10_S1_delay1/test.sh b/kaldi/test_cases/lstm_10-4-6_T10_S1_delay1/test.sh deleted file mode 100644 index 1e6d560214..0000000000 --- a/kaldi/test_cases/lstm_10-4-6_T10_S1_delay1/test.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -nnet3-compute --frames-per-chunk=11 --frame-subsampling-factor=1 model.raw.txt ark:input.ark ark,t:predicted.ark 2>.error -fail=0 -diff output.ark predicted.ark || fail=1; -rm predicted.ark -echo "fail=$fail" && [ $fail -gt 0 ] && exit 1; diff --git a/kaldi/test_cases/lstm_10-4-6_T10_S1_delay1/vars.sh b/kaldi/test_cases/lstm_10-4-6_T10_S1_delay1/vars.sh deleted file mode 100644 index 94c31d31ad..0000000000 --- a/kaldi/test_cases/lstm_10-4-6_T10_S1_delay1/vars.sh +++ /dev/null @@ -1,4 +0,0 @@ -left_context=0 -right_context=0 -subsampling=1 -adjust_final_offset=0 diff --git a/kaldi/test_cases/lstm_12-3-6_T40_S1_delay2/input.ark b/kaldi/test_cases/lstm_12-3-6_T40_S1_delay2/input.ark deleted file mode 100644 index cd5e28a836..0000000000 --- a/kaldi/test_cases/lstm_12-3-6_T40_S1_delay2/input.ark +++ /dev/null @@ -1,41 +0,0 @@ -idx [ - -1.3044695 0.66967255 0.36659825 -0.9398798 -0.5138669 -1.0592135 -0.0626791 0.9551423 -0.98572606 0.5040465 -0.53025764 -0.79287285 - -0.10703036 -1.0352423 -0.5536493 -1.1978779 1.9647251 0.035263553 -0.6997255 0.21397991 -0.11232805 -0.2209696 0.6141667 0.7575077 - -0.5305011 -0.57581824 -0.27505168 -2.3019211 -1.5151911 1.3668742 1.6449677 -0.24903604 0.576557 0.31125015 3.0788808 1.1195749 - -0.12791759 -0.9555404 -1.6064463 0.20346363 -0.75635076 -1.4222537 -0.6465729 -1.081548 1.6871417 0.8816398 -0.007972641 1.4799441 - 0.077368304 -0.8612842 1.5231241 0.53891003 -1.0372461 -0.19033867 -0.8756183 -1.3827997 0.92617756 1.9094167 -1.3985676 0.5629692 - -0.6506426 -0.4871254 -0.59239393 -0.8639908 0.048521627 -0.83095014 0.27045682 -0.05023811 -0.23894805 -0.9075637 -0.5767713 0.75539124 - 0.5009172 -0.9775552 0.0993323 0.7513871 -1.6694052 0.5433602 -0.66262376 0.57059866 -0.7632592 -1.804882 -1.6275425 0.04808495 - 0.2597225 -0.9043166 0.6385925 -1.66152 -0.066079795 -1.2110162 -0.6518361 0.04739867 -0.8604134 -0.38455555 1.0062928 -0.5768919 - 0.8356921 -1.1297069 0.52980417 1.4415686 -2.4716444 -0.79689527 0.57707214 -0.20304538 0.37114587 -0.6039852 0.08658979 -0.15567723 - 1.1677821 0.25442085 0.33760267 -0.41187698 -0.48760623 -0.43255818 0.39445215 -0.42098448 0.28977486 2.0754008 0.8711247 -0.32602352 - 1.201214 -0.40807536 -2.0381246 -1.0080863 -1.8707919 -0.35151348 0.01841838 1.6764373 0.32692736 -0.21910053 0.8294056 -2.2111354 - 0.23561455 0.7708652 -1.4785862 1.143754 0.33849642 -0.4152879 0.63278186 2.2706928 0.18186626 0.2482206 -0.4593609 -0.8498444 - 0.8303358 -0.8560838 0.07156624 -0.47765744 0.47897983 0.3336621 1.03754 -0.5100164 -0.26987493 -0.9787637 -0.44429326 0.3773005 - 0.75698864 -0.92216533 0.8696059 1.3556379 0.4134349 1.8767958 -0.7737892 -1.2446547 -1.7787203 1.4960443 0.65436566 -0.05558467 - 0.27996862 -1.125489 2.445752 0.12922119 0.109394796 0.7257666 0.48100924 0.22388403 -0.7904745 0.47146836 1.8820245 1.34542 - 1.5931866 -0.5112157 -0.98960483 -0.12578692 0.05572491 1.0941916 -1.6924646 1.5295503 -0.1580079 -0.42688107 -1.0121044 -1.6548567 - 0.8231706 0.07331797 -1.2899609 -1.2950788 -0.3357847 1.6690215 -0.25959134 -1.503143 -0.24574307 -0.27272356 -2.6968865 -0.054294866 - -0.23093453 0.6962064 1.8489561 1.126565 -0.26888868 -1.1065259 2.5733597 0.059218433 0.013929292 -0.024125088 0.19808476 -0.14436041 - -0.573662 -0.54685897 -0.03275327 -0.5434248 -0.7128458 0.106430225 -0.25497723 1.503993 -2.6509697 1.0915068 1.2460852 -2.0733902 - -0.3426876 -0.37144086 -1.4075117 -0.7778167 -1.1105758 1.7522705 0.9356784 1.2715551 0.72167206 -1.1290518 -0.5245203 0.48937455 - -1.2221278 0.71299845 -0.24032539 -0.3748208 0.71096 0.4442633 -0.36096618 1.1593298 -1.0810633 0.6159356 0.59310126 -0.30954644 - 0.326133 -1.2511135 0.924027 -0.18490213 -0.522723 1.0490092 -0.7043437 -1.4084613 -1.5566292 0.60600996 -1.2804294 1.7547942 - -2.0819294 1.6964563 0.21101747 -0.09671311 -0.5449191 0.39913613 -0.037634704 1.1033019 0.114227645 0.15030175 -0.3636122 -0.056945622 - 0.30780178 -1.7101684 -1.3481854 0.7432641 0.17086543 -0.18398334 0.018433932 0.3475817 -0.5397597 -0.7783047 0.19584526 -0.97837275 - 0.40825275 -1.7025836 1.0291556 0.47259748 0.25602973 0.982691 1.6654744 1.0143701 -1.8408742 -1.279577 -0.62481856 0.02609105 - 0.517659 -0.72574383 0.18676676 -0.75538296 -0.6115178 -1.4066612 -0.9232333 -1.3516846 -0.97587323 1.0536418 -0.9493989 2.6323822 - 0.4933179 0.18483612 -0.8583578 0.7003099 -0.5756378 0.122009814 2.5600846 -0.096059896 1.1492733 -0.70317644 -0.03498849 1.7708006 - -0.6269671 1.8124485 0.7077519 -0.5624668 0.6324077 0.97255445 0.62180996 -1.5702248 -0.72713715 -0.24751863 -0.07443343 0.6206721 - 0.177701 -1.3353443 0.38019785 0.61058575 0.55979043 1.0807807 0.83392215 0.4591801 -0.07016571 -1.6609609 0.4296182 0.20768769 - 0.27157885 -1.2767485 -1.0810566 1.0531528 -0.039555155 0.6815007 0.028318375 0.02975614 0.9382838 -0.51604474 0.096120775 -0.4622753 - -0.43449622 -0.30917212 0.22213377 -0.47874862 1.2557561 -0.8946073 -0.18687165 -0.43973106 1.4469779 0.19655478 1.0318445 -1.4855604 - 0.26705027 0.8896308 0.08228399 1.0654804 -0.51728845 1.4093474 2.2988982 -0.36283857 -0.44550252 1.4533845 1.5795722 -0.52286005 - -0.42018682 -0.2817846 -1.3444505 -0.91865194 -1.0041407 -0.7677976 -0.03468489 0.23421474 1.5505005 -0.998354 0.98432237 -0.21398884 - -0.049463708 0.67481947 -1.122722 0.38240975 0.16645221 0.49245125 0.28916866 2.4553 -0.63773996 -0.530997 -0.6231405 -0.55547714 - -0.63738716 1.1890166 1.4205042 -0.5707463 -0.83235556 0.47141555 -0.552223 0.6329318 0.20292301 -1.5157441 1.5475053 1.7958777 - -0.6127887 -0.38770157 0.2858654 0.3344568 0.6585443 2.0102046 -0.17694722 -0.7982972 -1.3793192 -0.73093003 -0.033126973 1.7945578 - -0.5176113 0.22378795 -0.016422896 1.1883932 2.5269325 -0.53086877 -0.48943943 1.0441608 0.6818915 1.8467073 0.58392817 -0.3592921 - 0.59065485 1.1087036 0.8204822 0.50727403 1.0666747 1.1692955 1.382159 0.6487099 -0.16711809 0.14671369 1.206509 -0.81693566 - 0.3686733 -0.3933388 0.028744822 1.2784519 0.19109906 0.04643655 -1.3598561 0.74625355 0.6454842 2.1632547 -0.30777824 0.21915033 - 0.24938369 1.5774533 -0.09529553 0.27902153 0.6078965 0.18660912 -0.4464336 0.19409 1.0736318 -1.0265152 0.13296968 -0.7001208] \ No newline at end of file diff --git a/kaldi/test_cases/lstm_12-3-6_T40_S1_delay2/io.npz b/kaldi/test_cases/lstm_12-3-6_T40_S1_delay2/io.npz deleted file mode 100644 index 4a052d2e1f..0000000000 Binary files a/kaldi/test_cases/lstm_12-3-6_T40_S1_delay2/io.npz and /dev/null differ diff --git a/kaldi/test_cases/lstm_12-3-6_T40_S1_delay2/model.raw b/kaldi/test_cases/lstm_12-3-6_T40_S1_delay2/model.raw deleted file mode 100644 index 2281b735cb..0000000000 Binary files a/kaldi/test_cases/lstm_12-3-6_T40_S1_delay2/model.raw and /dev/null differ diff --git a/kaldi/test_cases/lstm_12-3-6_T40_S1_delay2/model.raw.txt b/kaldi/test_cases/lstm_12-3-6_T40_S1_delay2/model.raw.txt deleted file mode 100644 index 737ea50c3f..0000000000 --- a/kaldi/test_cases/lstm_12-3-6_T40_S1_delay2/model.raw.txt +++ /dev/null @@ -1,72 +0,0 @@ - - -input-node name=input dim=12 -component-node name=lstm1.four_parts input=Append(input, IfDefined(Offset(lstm1.r_trunc,-2))) component=lstm1.W_all -component-node name=lstm1.lstm_nonlin input=Append(lstm1.four_parts, IfDefined(Offset(lstm1.c_trunc,-2))) component=lstm1.lstm_nonlin -dim-range-node name=lstm1.c input-node=lstm1.lstm_nonlin dim-offset=0 dim=6 -dim-range-node name=lstm1.m input-node=lstm1.lstm_nonlin dim-offset=6 dim=6 -component-node name=lstm1 input=lstm1.m component=lstm1.W_rp -dim-range-node name=lstm1.r input-node=lstm1 dim-offset=0 dim=3 -component-node name=lstm1.cr_trunc input=Append(lstm1.c, lstm1.r) component=lstm1.cr_trunc -dim-range-node name=lstm1.c_trunc input-node=lstm1.cr_trunc dim-offset=0 dim=6 -dim-range-node name=lstm1.r_trunc input-node=lstm1.cr_trunc dim-offset=6 dim=3 -output-node name=output input=lstm1 - - 4 - lstm1.W_all 1.0 1.0 0.0005 [ - 0.4967141530112327 -0.13826430117118466 0.6476885381006925 1.5230298564080254 -0.23415337472333597 -0.23413695694918055 1.5792128155073915 0.7674347291529088 -0.4694743859349521 0.5425600435859647 -0.46341769281246226 -0.46572975357025687 0.24196227156603412 -1.913280244657798 -1.7249178325130328 - -0.5622875292409727 -1.0128311203344238 0.3142473325952739 -0.9080240755212109 -1.4123037013352915 1.465648768921554 -0.22577630048653566 0.06752820468792384 -1.4247481862134568 -0.5443827245251827 0.11092258970986608 -1.1509935774223028 0.37569801834567196 -0.600638689918805 -0.2916937497932768 - -0.6017066122293969 1.8522781845089378 -0.013497224737933921 -1.0577109289559004 0.822544912103189 -1.2208436499710222 0.2088635950047554 -1.9596701238797756 -1.3281860488984305 0.19686123586912352 0.7384665799954104 0.1713682811899705 -0.11564828238824053 -0.3011036955892888 -1.4785219903674274 - -0.7198442083947086 -0.4606387709597875 1.0571222262189157 0.3436182895684614 -1.763040155362734 0.324083969394795 -0.38508228041631654 -0.6769220003059587 0.6116762888408679 1.030999522495951 0.9312801191161986 -0.8392175232226385 -0.3092123758512146 0.33126343140356396 0.9755451271223592 - -0.47917423784528995 -0.18565897666381712 -1.1063349740060282 -1.1962066240806708 0.812525822394198 1.356240028570823 -0.07201012158033385 1.0035328978920242 0.36163602504763415 -0.6451197546051243 0.36139560550841393 1.5380365664659692 -0.03582603910995154 1.5646436558140062 -2.6197451040897444 - 0.8219025043752238 0.08704706823817121 -0.2990073504658674 0.0917607765355023 -1.9875689146008928 -0.21967188783751193 0.3571125715117464 1.477894044741516 -0.5182702182736474 -0.8084936028931876 -0.5017570435845365 0.9154021177020741 0.32875110965968446 -0.5297602037670388 0.5132674331133561 - 0.09707754934804039 0.9686449905328892 -0.7020530938773524 -0.3276621465977682 -0.39210815313215763 -1.4635149481321186 0.29612027706457605 0.26105527217988933 0.00511345664246089 -0.23458713337514692 -1.4153707420504142 -0.42064532276535904 -0.3427145165267695 -0.8022772692216189 -0.16128571166600914 - 0.4040508568145384 1.8861859012105302 0.17457781283183896 0.25755039072276437 -0.07444591576616721 -1.9187712152990415 -0.026513875449216878 0.06023020994102644 2.463242112485286 -0.19236096478112252 0.30154734233361247 -0.03471176970524331 -1.168678037619532 1.1428228145150205 0.7519330326867741 - 0.7910319470430469 -0.9093874547947389 1.4027943109360992 -1.4018510627922809 0.5868570938002703 2.1904556258099785 -0.9905363251306883 -0.5662977296027719 0.09965136508764122 -0.5034756541161992 -1.5506634310661327 0.06856297480602733 -1.0623037137261049 0.4735924306351816 -0.9194242342338032 - 1.5499344050175394 -0.7832532923362371 -0.3220615162056756 0.8135172173696698 -1.2308643164339552 0.22745993460412942 1.307142754282428 -1.6074832345612275 0.1846338585323042 0.25988279424842353 0.7818228717773104 -1.236950710878082 -1.3204566130842763 0.5219415656168976 0.29698467323318606 - 0.25049285034587654 0.3464482094969757 -0.6800247215784908 0.23225369716100355 0.29307247329868125 -0.7143514180263678 1.8657745111447566 0.4738329209117875 -1.1913034972026486 0.6565536086338297 -0.9746816702273214 0.787084603742452 1.158595579007404 -0.8206823183517105 0.9633761292443218 - 0.4127809269364983 0.82206015999449 1.8967929826539474 -0.2453881160028705 -0.7537361643574896 -0.8895144296255233 -0.8158102849654383 -0.0771017094141042 0.3411519748166439 0.27669079933001905 0.8271832490360238 0.01300189187790702 1.4535340771573169 -0.2646568332379561 2.720169166589619 - 0.6256673477650062 -0.8571575564162826 -1.0708924980611123 0.4824724152431853 -0.2234627853258509 0.714000494092092 0.47323762457354485 -0.07282891265687277 -0.846793718068405 -1.5148472246858646 -0.4465149520670211 0.8563987943234723 0.21409374413020396 -1.245738778711988 0.173180925851182 - 0.3853173797288368 -0.883857436201133 0.1537251059455279 0.058208718445999896 -1.142970297830623 0.3577873603482833 0.5607845263682344 1.083051243175277 1.053802052034903 -1.377669367957091 -0.9378250399151228 0.5150352672086598 0.5137859509122088 0.5150476863060479 3.852731490654721 - 0.570890510693167 1.135565640180599 0.9540017634932023 0.651391251305798 -0.3152692446403456 0.7589692204932674 -0.7728252145375718 -0.23681860674000887 -0.48536354782910346 0.08187413938632256 2.3146585666735087 -1.867265192591748 0.6862601903745135 -1.6127158711896517 -0.47193186578943347 - 1.088950596967366 0.06428001909546277 -1.0777447779293061 -0.7153037092599682 0.6795977489346758 -0.7303666317171367 0.21645858958197486 0.045571839903813784 -0.6516003476058171 2.1439440893253257 0.6339190223180112 -2.025142586657607 0.18645431476942764 -0.661786464768388 0.852433334796224 - -0.7925207384327007 -0.11473644146689901 0.5049872789804571 0.8657551941701215 -1.2002964070557762 -0.3345012358409484 -0.4749453111609562 -0.6533292325737119 1.7654542402810969 0.40498171096095553 -1.2608839543350452 0.9178619470547761 2.1221561970126332 1.0324652605511468 -1.5193699659540134 - -0.48423407286625136 1.2669111491866227 -0.7076694656187807 0.44381942814622843 0.7746340534293368 -0.926930471578083 -0.05952535606180008 -3.2412673400690726 -1.0243876413342898 -0.2525681513931603 -1.2477831819648495 1.6324113039316352 -1.4301413779606327 -0.44004448669698376 0.13074057728609134 - 1.4412732890661155 -1.4358621511794394 1.1631637521549596 0.010233061019587049 -0.9815086510479509 0.46210347426327075 0.19905969557347003 -0.6002168771587947 0.06980208499001891 -0.3853135968617602 0.11351734525124804 0.6621306745210467 1.586016816145352 -1.237815498826849 2.1330333746562666 - -1.9520877995225019 -0.15178509503558332 0.5883172064845765 0.28099186773503265 -0.6226995198205938 -0.20812225035727522 -0.4930009346588328 -0.5893647569442115 0.8496020970210246 0.35701548596504734 -0.6929095952606542 0.8995998754332507 0.30729952087660933 0.8128621188389601 0.6296288419236122 - -0.8289950109220723 -0.5601810401969696 0.7472936051232618 0.6103702654334648 -0.020901593964148132 0.117327383308782 1.277664895788425 -0.5915713888358299 0.5470973811700379 -0.20219265243389406 -0.2176812032272203 1.09877685198719 0.8254163489880298 0.8135096360006385 1.305478807154329 - 0.02100384163275905 0.6819529712949639 -0.31026675659345604 0.3241663524884421 -0.13014305436768459 0.09699596499271819 0.5951570254369136 -0.8182206832334725 2.0923872756854602 -1.006017381499702 -1.2141886127877322 1.1581108735000678 0.7916626939629359 0.6241198170521551 0.6283455092642799 - -0.012246772846914623 -0.8972543714858315 0.07580455819372633 -0.6771617115121117 0.9751197334177512 -0.14705738150213865 -0.8254971967925115 -0.32138584165299344 0.41293145427562433 -0.5637245528039747 -0.8222203955664315 0.2436872114919123 0.24496657110872277 -0.5069431753711298 -0.4710383056183228 - 0.2320499373576363 -1.4480843414973241 -1.4074637743765552 -0.718444221252436 -0.21344715171184725 0.3109075655980046 1.475356216949552 0.8576596232020194 -0.1599385299634271 -0.01901620790268883 -1.0025293646378088 -0.01851313599238993 -0.2886586389201383 0.3227185603380895 -0.827230943552323 ] - [ 0.5193465142411723 1.5327389130025777 -0.1087601484568576 0.40171172209894146 0.6901439917111125 -0.40122047188583626 0.22409248181041677 0.01259240078179486 0.09767609854883172 -0.7730097838554665 0.024510174258942714 0.49799829124544975 1.4511436077950417 0.9592708260852069 2.1531824575115563 -0.7673475628880495 0.8723206367206782 0.18334200573835174 2.1898029332176723 -0.8082982853551515 -0.8397218421807761 -0.5993926454440222 -2.123895724309807 -0.525755021680761 ] - 20 80 4 2000 4 F - lstm1.lstm_nonlin 0.75 0.0005 [ - -0.759132661553698 0.15039378647620763 0.34175597577715944 1.8761708392158862 0.9504238381860503 -0.5769036556624031 - -0.898414671348358 0.4919191715065057 -1.3202332070206422 1.8314587658543537 1.179440120721287 -0.4691756521047048 - -1.7131345290908775 1.3538723741654128 -0.11453984525261789 1.2378163119734618 -1.594427658794367 -0.5993750229537729 ] - [ - 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 ] - [ - 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 ] - [ 0.05 0.05 0.2 0.05 0.2 1e-05 1e-05 1e-05 1e-05 1e-05 ] - [ 0.09288334 0.1117439 0.04945562 0.01552413 0.03755825 ] - 1 - lstm1.W_rp 1.0 1.0 0.0005 [ - 0.005243699718183166 0.046980593764742055 -0.45006547147924364 0.6228499323474987 -1.0676204293825944 -0.1423794850212935 - 0.12029563171189886 0.514438834058749 0.7116148780888898 -1.1246420918378692 -1.5341141707356223 1.277676821898509 - 0.33231401197959165 -0.7484865365565536 1.551151975522523 0.11567463429285867 1.1792971840638264 0.06751848141010895 - 2.060747924881987 1.7553408424432044 -0.2489641484790735 0.9715709509543554 0.6453759495851475 1.3686315575323487 - -0.9649234605801045 0.6860514599984393 1.0584244868495878 -1.7587394864231143 -1.183258512665775 -2.0392321777601006 - -0.26940683444455776 0.7175422557959623 1.502357052096028 0.07409478041977519 1.6286155455712918 -1.3801014582148914 ] - [ -1.7033824393551547 -0.05554769889661878 0.3840654489393073 -0.03269474809409311 -2.0674421000398766 -0.08912003951278841 ] - 20 80 4 2000 4 F - lstm1.cr_trunc 9 1.0 30 15 20 3 0 0 0 0 - \ No newline at end of file diff --git a/kaldi/test_cases/lstm_12-3-6_T40_S1_delay2/output.ark b/kaldi/test_cases/lstm_12-3-6_T40_S1_delay2/output.ark deleted file mode 100644 index bcb23718f8..0000000000 --- a/kaldi/test_cases/lstm_12-3-6_T40_S1_delay2/output.ark +++ /dev/null @@ -1,41 +0,0 @@ -idx [ - -1.688786 -0.4973838 0.530431 -1.220016 -1.487535 0.2184871 - -0.9022312 1.025996 -0.5270863 -0.4944882 -1.297519 -1.382206 - -1.762647 -0.5574194 0.8159553 -0.6470103 0.07028985 1.753952 - -2.090225 0.4367737 0.2569354 -0.97205 -1.79439 -0.8883328 - -2.022691 0.896066 0.3118976 0.04761074 0.02588511 1.438117 - -1.493642 0.7281471 -0.3492409 0.7840083 -2.896324 -1.317668 - -1.812996 1.477357 -0.1166055 1.836391 -2.202824 -0.2629137 - -1.328367 0.6034325 -0.03196082 -0.169255 -1.832646 -0.8142715 - -1.727417 0.3692377 0.0009675026 2.31777 -1.138945 0.9779965 - -1.645341 -0.1875789 0.3126998 -0.8544616 -1.904078 0.02955876 - -1.577445 -0.9532586 0.2547851 -0.8521796 -0.4633714 1.001037 - -1.262963 -1.520394 0.389678 -0.4671189 -1.587703 0.8832637 - -1.350832 1.637293 -0.1882734 2.608678 -2.990689 -1.519602 - -1.694761 0.02632144 0.6678256 1.486217 -2.75504 -0.2479752 - -1.676533 0.4890178 -0.1135334 0.9966648 -1.35813 0.5060074 - -0.9681376 -1.316496 0.2496578 0.08038773 -1.835446 0.4940537 - -1.586141 1.830741 -0.572401 0.18267 -0.7517908 -0.9219497 - -1.371324 -0.3980295 1.447024 2.841423 -3.469279 1.037109 - -1.674522 -0.2699427 0.3698199 -0.2821546 -1.710806 0.1399361 - -0.9199482 -1.157748 0.421889 1.973399 -1.660665 1.620008 - -1.647081 0.02559067 0.351804 -0.1545101 -2.001337 -0.1884358 - -1.190417 0.900401 -0.08547771 2.337028 -2.05581 -0.2464687 - -1.807655 0.007204279 0.7650378 -0.6857758 -2.09087 -0.2312039 - -1.308306 -0.133595 0.05772001 -0.06172777 -1.454828 -0.02000145 - -1.695196 -0.233337 1.089283 0.2447763 -0.7077342 1.149253 - -1.304263 0.2952525 -0.4065446 1.953591 -2.86635 -0.7840943 - -2.163161 1.974972 0.127831 2.644898 -2.518943 -0.9729971 - -1.680791 0.2834053 0.3860452 -0.4579608 -1.709659 -0.3352685 - -1.524152 0.5043682 -0.3597156 0.7096058 -1.000535 0.1850902 - -1.705034 0.2921499 0.2660813 0.2414404 -1.495119 -0.06448954 - -1.479283 0.5770163 -0.2628502 0.9156185 -1.368173 0.09499725 - -1.857486 0.2019295 0.8832535 -0.2296462 -1.704688 0.3888071 - -1.785061 0.230679 -0.395518 0.591413 0.06956601 1.114833 - -1.549194 -0.9024813 0.2739527 -1.011792 -0.5248755 0.8509248 - -1.727418 0.8086649 -0.1981398 1.513115 -0.9482344 0.7228354 - -1.298217 1.274017 0.2248976 0.6456508 -1.365838 -0.5065668 - -1.499903 0.6898385 -0.4618564 1.50781 -1.212288 0.3665579 - -1.802472 0.1154312 0.7011033 -0.3938018 -1.696573 0.3004605 - -1.631364 0.3023079 -0.3914791 1.167854 -1.241583 0.7455934 - -1.879468 0.3519434 0.2664236 -0.4424725 -1.318726 0.01288249 ] diff --git a/kaldi/test_cases/lstm_12-3-6_T40_S1_delay2/subsampling b/kaldi/test_cases/lstm_12-3-6_T40_S1_delay2/subsampling deleted file mode 100644 index 56a6051ca2..0000000000 --- a/kaldi/test_cases/lstm_12-3-6_T40_S1_delay2/subsampling +++ /dev/null @@ -1 +0,0 @@ -1 \ No newline at end of file diff --git a/kaldi/test_cases/lstm_12-3-6_T40_S1_delay2/test.sh b/kaldi/test_cases/lstm_12-3-6_T40_S1_delay2/test.sh deleted file mode 100644 index 9d34c08a9b..0000000000 --- a/kaldi/test_cases/lstm_12-3-6_T40_S1_delay2/test.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -nnet3-compute --frames-per-chunk=41 --frame-subsampling-factor=1 model.raw.txt ark:input.ark ark,t:predicted.ark 2>.error -fail=0 -diff output.ark predicted.ark || fail=1; -rm predicted.ark -echo "fail=$fail" && [ $fail -gt 0 ] && exit 1; diff --git a/kaldi/test_cases/lstm_12-3-6_T40_S1_delay2/vars.sh b/kaldi/test_cases/lstm_12-3-6_T40_S1_delay2/vars.sh deleted file mode 100644 index 94c31d31ad..0000000000 --- a/kaldi/test_cases/lstm_12-3-6_T40_S1_delay2/vars.sh +++ /dev/null @@ -1,4 +0,0 @@ -left_context=0 -right_context=0 -subsampling=1 -adjust_final_offset=0 diff --git a/kaldi/test_cases/lstm_15-7-8_T30_S2_delay2/input.ark b/kaldi/test_cases/lstm_15-7-8_T30_S2_delay2/input.ark deleted file mode 100644 index 3c59470b6f..0000000000 --- a/kaldi/test_cases/lstm_15-7-8_T30_S2_delay2/input.ark +++ /dev/null @@ -1,31 +0,0 @@ -idx [ - -1.0041407 -0.7677976 -0.03468489 0.23421474 1.5505005 -0.998354 0.98432237 -0.21398884 -0.049463708 0.67481947 -1.122722 0.38240975 0.16645221 0.49245125 0.28916866 - 2.4553 -0.63773996 -0.530997 -0.6231405 -0.55547714 -0.63738716 1.1890166 1.4205042 -0.5707463 -0.83235556 0.47141555 -0.552223 0.6329318 0.20292301 -1.5157441 - 1.5475053 1.7958777 -0.6127887 -0.38770157 0.2858654 0.3344568 0.6585443 2.0102046 -0.17694722 -0.7982972 -1.3793192 -0.73093003 -0.033126973 1.7945578 -0.5176113 - 0.22378795 -0.016422896 1.1883932 2.5269325 -0.53086877 -0.48943943 1.0441608 0.6818915 1.8467073 0.58392817 -0.3592921 0.59065485 1.1087036 0.8204822 0.50727403 - 1.0666747 1.1692955 1.382159 0.6487099 -0.16711809 0.14671369 1.206509 -0.81693566 0.3686733 -0.3933388 0.028744822 1.2784519 0.19109906 0.04643655 -1.3598561 - 0.74625355 0.6454842 2.1632547 -0.30777824 0.21915033 0.24938369 1.5774533 -0.09529553 0.27902153 0.6078965 0.18660912 -0.4464336 0.19409 1.0736318 -1.0265152 - 0.13296968 -0.7001208 1.1950467 -1.5231869 -0.5589219 0.37721187 1.565524 -0.06575026 -0.5551995 1.881157 -1.4480139 -2.198806 0.44001445 -0.5020542 -1.0212328 - 0.70835644 0.24380071 -0.5640786 -1.2803044 0.8724573 0.6502012 -0.09917586 1.846637 -1.0700848 -1.5255252 -0.69190806 -0.045586016 0.24333945 -0.24123606 0.3520554 - -1.2515395 1.4437646 -0.08215118 1.1172959 0.34272534 0.45675322 0.5697673 0.44770855 0.6427228 1.3291526 0.19652116 0.70900375 -0.089735694 1.4401172 -0.6763923 - 1.8009404 -0.04015795 -1.430775 0.12810442 -0.6810517 0.8406435 -0.65262395 -0.44618344 -1.8895407 -0.45230633 -2.4238794 -1.5839028 0.76041466 0.78580016 0.42545757 - -0.96697617 -0.047711357 -0.0036025392 -1.1583647 1.5033983 0.8773623 -0.22096418 0.02688584 0.20838282 -2.041735 -0.24717738 -0.68198425 -1.00162 -0.2811003 1.7976866 - 0.64084285 -0.571179 0.5725828 1.3993554 0.9246337 0.05963037 -0.6469368 0.6982233 0.3934854 0.8951932 0.63517183 1.0495527 -0.5352352 1.317394 0.1975996 - 2.0752609 -0.6891878 1.7359638 0.19791079 -0.65141803 -0.48388582 -0.3203473 0.42416593 0.5228355 -0.5737 -0.024354592 2.1422703 1.7275431 0.43632367 0.03800348 - 0.12003133 0.613518 -1.0227926 -0.25737655 -1.6685841 0.39922312 0.64719594 -0.48318645 1.5739868 -1.2257657 -1.4643749 0.22445183 1.0470983 1.6839277 -0.45888427 - 1.0786809 -0.03850847 -0.1726273 0.88365996 0.6523229 -1.5763922 1.4765403 1.3800913 -0.6255627 0.39580354 0.49403018 0.26067376 -0.5503051 -0.67162335 -0.02555407 - 1.172729 0.54360014 -0.37061432 0.7716987 -2.8485427 1.1487657 -1.7397138 -0.36244094 -1.1196699 -1.2946814 1.1608268 -0.4677012 0.34650388 -0.04692058 0.47704083 - 0.07682189 -1.2829922 0.99626684 -0.4937566 -1.5565819 -0.42811516 1.5007598 0.85022175 -0.34865212 -0.3492577 -0.32163504 2.076748 0.38193545 0.43004164 1.0302835 - 0.23878916 -0.25904214 -0.19634984 -0.07160126 -0.037222236 0.72762954 0.051945888 0.7326401 -0.08071658 0.07863519 -1.9982007 0.91632766 0.34648848 0.9980101 -2.8962555 - 2.0883746 -0.13958962 1.1081828 -1.0399059 0.6127739 -1.0534155 -0.623769 1.9140314 -0.1906824 0.21743287 0.8700677 0.49568188 0.1504189 0.364961 2.4034157 - -0.057618797 0.20109905 1.0506544 1.105526 1.1870303 0.6387302 -1.1430049 1.6334316 -1.1463454 0.30263546 -0.75427586 -0.064138345 0.3287624 0.32135722 0.42192075 - 1.6137112 0.4535343 -0.24415663 0.9640872 1.1894705 -1.2276078 0.59740007 0.70117277 -0.2975635 1.3757068 -0.15005559 0.12557645 -0.17307183 0.015579048 -1.0962751 - -1.4400508 1.5945051 -0.8469613 -0.9913924 -2.1533902 -0.63896173 -1.3230898 1.6420152 1.0098171 -0.68815035 2.252436 0.9817655 -0.3248314 -2.4994056 2.2909427 - -1.3895725 -1.6453987 1.0225705 2.4397523 1.3842728 0.5639091 0.59475434 0.85341555 0.7589286 0.28119144 0.1042011 -0.062593125 -0.7539646 -0.28067508 -1.6929568 - -0.098339625 -0.98859113 -1.1035893 0.17989415 1.3920023 0.9183166 -1.5705006 -0.98962814 0.94077116 -0.9824874 -0.22463316 0.5500521 -0.96834445 0.105375506 -1.3340255 - -0.60136765 0.31978193 -1.5929937 0.44047475 -0.019637799 0.55248994 0.22391413 1.3641404 0.1252245 -0.42940554 0.1222975 0.543298 0.04886007 0.04059169 -0.7019917 - -0.6629009 -1.4026053 1.7495767 -1.2438632 -0.6929052 -0.7184073 0.8949244 -0.29494968 1.247742 -0.67349064 0.27899417 -0.83534706 2.1451492 -1.1875985 0.3098207 - 0.6337769 0.4137991 -0.18528765 -0.1298207 0.04381147 -0.147002 0.9638791 2.210523 -0.5574918 -1.369803 -0.08828205 2.5797093 -0.8036746 1.6391168 1.6777008 - -0.5535883 0.5689831 1.6283966 -0.37912774 -0.20358036 -0.5816809 -1.0147567 -0.64927757 -1.2239403 0.034083467 -0.7699732 0.23378591 -1.5558957 0.33088022 0.83352894 - -1.9937357 0.37405658 1.227669 -1.209641 1.6725724 0.419019 -0.70501184 -0.05576908 0.5583269 0.07600539 0.538756 -0.9206736 0.16936083 -1.4137145 -0.11122606 - -0.90390766 -0.73552996 1.2360932 1.0913101 0.60913813 -1.0923128 -0.31640846 1.2130977 0.14171691 2.3193295 0.39331785 0.19204912 -0.30911645 0.1335409 -0.15246984] \ No newline at end of file diff --git a/kaldi/test_cases/lstm_15-7-8_T30_S2_delay2/io.npz b/kaldi/test_cases/lstm_15-7-8_T30_S2_delay2/io.npz deleted file mode 100644 index 8d81ef5399..0000000000 Binary files a/kaldi/test_cases/lstm_15-7-8_T30_S2_delay2/io.npz and /dev/null differ diff --git a/kaldi/test_cases/lstm_15-7-8_T30_S2_delay2/model.raw b/kaldi/test_cases/lstm_15-7-8_T30_S2_delay2/model.raw deleted file mode 100644 index 48339e04fa..0000000000 Binary files a/kaldi/test_cases/lstm_15-7-8_T30_S2_delay2/model.raw and /dev/null differ diff --git a/kaldi/test_cases/lstm_15-7-8_T30_S2_delay2/model.raw.txt b/kaldi/test_cases/lstm_15-7-8_T30_S2_delay2/model.raw.txt deleted file mode 100644 index 16ba857c7b..0000000000 --- a/kaldi/test_cases/lstm_15-7-8_T30_S2_delay2/model.raw.txt +++ /dev/null @@ -1,82 +0,0 @@ - - -input-node name=input dim=15 -component-node name=lstm1.four_parts input=Append(input, IfDefined(Offset(lstm1.r_trunc,-2))) component=lstm1.W_all -component-node name=lstm1.lstm_nonlin input=Append(lstm1.four_parts, IfDefined(Offset(lstm1.c_trunc,-2))) component=lstm1.lstm_nonlin -dim-range-node name=lstm1.c input-node=lstm1.lstm_nonlin dim-offset=0 dim=8 -dim-range-node name=lstm1.m input-node=lstm1.lstm_nonlin dim-offset=8 dim=8 -component-node name=lstm1 input=lstm1.m component=lstm1.W_rp -dim-range-node name=lstm1.r input-node=lstm1 dim-offset=0 dim=7 -component-node name=lstm1.cr_trunc input=Append(lstm1.c, lstm1.r) component=lstm1.cr_trunc -dim-range-node name=lstm1.c_trunc input-node=lstm1.cr_trunc dim-offset=0 dim=8 -dim-range-node name=lstm1.r_trunc input-node=lstm1.cr_trunc dim-offset=8 dim=7 -output-node name=output input=lstm1 - - 4 - lstm1.W_all 1.0 1.0 0.0005 [ - 0.4967141530112327 -0.13826430117118466 0.6476885381006925 1.5230298564080254 -0.23415337472333597 -0.23413695694918055 1.5792128155073915 0.7674347291529088 -0.4694743859349521 0.5425600435859647 -0.46341769281246226 -0.46572975357025687 0.24196227156603412 -1.913280244657798 -1.7249178325130328 -0.5622875292409727 -1.0128311203344238 0.3142473325952739 -0.9080240755212109 -1.4123037013352915 1.465648768921554 -0.22577630048653566 - 0.06752820468792384 -1.4247481862134568 -0.5443827245251827 0.11092258970986608 -1.1509935774223028 0.37569801834567196 -0.600638689918805 -0.2916937497932768 -0.6017066122293969 1.8522781845089378 -0.013497224737933921 -1.0577109289559004 0.822544912103189 -1.2208436499710222 0.2088635950047554 -1.9596701238797756 -1.3281860488984305 0.19686123586912352 0.7384665799954104 0.1713682811899705 -0.11564828238824053 -0.3011036955892888 - -1.4785219903674274 -0.7198442083947086 -0.4606387709597875 1.0571222262189157 0.3436182895684614 -1.763040155362734 0.324083969394795 -0.38508228041631654 -0.6769220003059587 0.6116762888408679 1.030999522495951 0.9312801191161986 -0.8392175232226385 -0.3092123758512146 0.33126343140356396 0.9755451271223592 -0.47917423784528995 -0.18565897666381712 -1.1063349740060282 -1.1962066240806708 0.812525822394198 1.356240028570823 - -0.07201012158033385 1.0035328978920242 0.36163602504763415 -0.6451197546051243 0.36139560550841393 1.5380365664659692 -0.03582603910995154 1.5646436558140062 -2.6197451040897444 0.8219025043752238 0.08704706823817121 -0.2990073504658674 0.0917607765355023 -1.9875689146008928 -0.21967188783751193 0.3571125715117464 1.477894044741516 -0.5182702182736474 -0.8084936028931876 -0.5017570435845365 0.9154021177020741 0.32875110965968446 - -0.5297602037670388 0.5132674331133561 0.09707754934804039 0.9686449905328892 -0.7020530938773524 -0.3276621465977682 -0.39210815313215763 -1.4635149481321186 0.29612027706457605 0.26105527217988933 0.00511345664246089 -0.23458713337514692 -1.4153707420504142 -0.42064532276535904 -0.3427145165267695 -0.8022772692216189 -0.16128571166600914 0.4040508568145384 1.8861859012105302 0.17457781283183896 0.25755039072276437 -0.07444591576616721 - -1.9187712152990415 -0.026513875449216878 0.06023020994102644 2.463242112485286 -0.19236096478112252 0.30154734233361247 -0.03471176970524331 -1.168678037619532 1.1428228145150205 0.7519330326867741 0.7910319470430469 -0.9093874547947389 1.4027943109360992 -1.4018510627922809 0.5868570938002703 2.1904556258099785 -0.9905363251306883 -0.5662977296027719 0.09965136508764122 -0.5034756541161992 -1.5506634310661327 0.06856297480602733 - -1.0623037137261049 0.4735924306351816 -0.9194242342338032 1.5499344050175394 -0.7832532923362371 -0.3220615162056756 0.8135172173696698 -1.2308643164339552 0.22745993460412942 1.307142754282428 -1.6074832345612275 0.1846338585323042 0.25988279424842353 0.7818228717773104 -1.236950710878082 -1.3204566130842763 0.5219415656168976 0.29698467323318606 0.25049285034587654 0.3464482094969757 -0.6800247215784908 0.23225369716100355 - 0.29307247329868125 -0.7143514180263678 1.8657745111447566 0.4738329209117875 -1.1913034972026486 0.6565536086338297 -0.9746816702273214 0.787084603742452 1.158595579007404 -0.8206823183517105 0.9633761292443218 0.4127809269364983 0.82206015999449 1.8967929826539474 -0.2453881160028705 -0.7537361643574896 -0.8895144296255233 -0.8158102849654383 -0.0771017094141042 0.3411519748166439 0.27669079933001905 0.8271832490360238 - 0.01300189187790702 1.4535340771573169 -0.2646568332379561 2.720169166589619 0.6256673477650062 -0.8571575564162826 -1.0708924980611123 0.4824724152431853 -0.2234627853258509 0.714000494092092 0.47323762457354485 -0.07282891265687277 -0.846793718068405 -1.5148472246858646 -0.4465149520670211 0.8563987943234723 0.21409374413020396 -1.245738778711988 0.173180925851182 0.3853173797288368 -0.883857436201133 0.1537251059455279 - 0.058208718445999896 -1.142970297830623 0.3577873603482833 0.5607845263682344 1.083051243175277 1.053802052034903 -1.377669367957091 -0.9378250399151228 0.5150352672086598 0.5137859509122088 0.5150476863060479 3.852731490654721 0.570890510693167 1.135565640180599 0.9540017634932023 0.651391251305798 -0.3152692446403456 0.7589692204932674 -0.7728252145375718 -0.23681860674000887 -0.48536354782910346 0.08187413938632256 - 2.3146585666735087 -1.867265192591748 0.6862601903745135 -1.6127158711896517 -0.47193186578943347 1.088950596967366 0.06428001909546277 -1.0777447779293061 -0.7153037092599682 0.6795977489346758 -0.7303666317171367 0.21645858958197486 0.045571839903813784 -0.6516003476058171 2.1439440893253257 0.6339190223180112 -2.025142586657607 0.18645431476942764 -0.661786464768388 0.852433334796224 -0.7925207384327007 -0.11473644146689901 - 0.5049872789804571 0.8657551941701215 -1.2002964070557762 -0.3345012358409484 -0.4749453111609562 -0.6533292325737119 1.7654542402810969 0.40498171096095553 -1.2608839543350452 0.9178619470547761 2.1221561970126332 1.0324652605511468 -1.5193699659540134 -0.48423407286625136 1.2669111491866227 -0.7076694656187807 0.44381942814622843 0.7746340534293368 -0.926930471578083 -0.05952535606180008 -3.2412673400690726 -1.0243876413342898 - -0.2525681513931603 -1.2477831819648495 1.6324113039316352 -1.4301413779606327 -0.44004448669698376 0.13074057728609134 1.4412732890661155 -1.4358621511794394 1.1631637521549596 0.010233061019587049 -0.9815086510479509 0.46210347426327075 0.19905969557347003 -0.6002168771587947 0.06980208499001891 -0.3853135968617602 0.11351734525124804 0.6621306745210467 1.586016816145352 -1.237815498826849 2.1330333746562666 -1.9520877995225019 - -0.15178509503558332 0.5883172064845765 0.28099186773503265 -0.6226995198205938 -0.20812225035727522 -0.4930009346588328 -0.5893647569442115 0.8496020970210246 0.35701548596504734 -0.6929095952606542 0.8995998754332507 0.30729952087660933 0.8128621188389601 0.6296288419236122 -0.8289950109220723 -0.5601810401969696 0.7472936051232618 0.6103702654334648 -0.020901593964148132 0.117327383308782 1.277664895788425 -0.5915713888358299 - 0.5470973811700379 -0.20219265243389406 -0.2176812032272203 1.09877685198719 0.8254163489880298 0.8135096360006385 1.305478807154329 0.02100384163275905 0.6819529712949639 -0.31026675659345604 0.3241663524884421 -0.13014305436768459 0.09699596499271819 0.5951570254369136 -0.8182206832334725 2.0923872756854602 -1.006017381499702 -1.2141886127877322 1.1581108735000678 0.7916626939629359 0.6241198170521551 0.6283455092642799 - -0.012246772846914623 -0.8972543714858315 0.07580455819372633 -0.6771617115121117 0.9751197334177512 -0.14705738150213865 -0.8254971967925115 -0.32138584165299344 0.41293145427562433 -0.5637245528039747 -0.8222203955664315 0.2436872114919123 0.24496657110872277 -0.5069431753711298 -0.4710383056183228 0.2320499373576363 -1.4480843414973241 -1.4074637743765552 -0.718444221252436 -0.21344715171184725 0.3109075655980046 1.475356216949552 - 0.8576596232020194 -0.1599385299634271 -0.01901620790268883 -1.0025293646378088 -0.01851313599238993 -0.2886586389201383 0.3227185603380895 -0.827230943552323 0.5193465142411723 1.5327389130025777 -0.1087601484568576 0.40171172209894146 0.6901439917111125 -0.40122047188583626 0.22409248181041677 0.01259240078179486 0.09767609854883172 -0.7730097838554665 0.024510174258942714 0.49799829124544975 1.4511436077950417 0.9592708260852069 - 2.1531824575115563 -0.7673475628880495 0.8723206367206782 0.18334200573835174 2.1898029332176723 -0.8082982853551515 -0.8397218421807761 -0.5993926454440222 -2.123895724309807 -0.525755021680761 -0.759132661553698 0.15039378647620763 0.34175597577715944 1.8761708392158862 0.9504238381860503 -0.5769036556624031 -0.898414671348358 0.4919191715065057 -1.3202332070206422 1.8314587658543537 1.179440120721287 -0.4691756521047048 - -1.7131345290908775 1.3538723741654128 -0.11453984525261789 1.2378163119734618 -1.594427658794367 -0.5993750229537729 0.005243699718183166 0.046980593764742055 -0.45006547147924364 0.6228499323474987 -1.0676204293825944 -0.1423794850212935 0.12029563171189886 0.514438834058749 0.7116148780888898 -1.1246420918378692 -1.5341141707356223 1.277676821898509 0.33231401197959165 -0.7484865365565536 1.551151975522523 0.11567463429285867 - 1.1792971840638264 0.06751848141010895 2.060747924881987 1.7553408424432044 -0.2489641484790735 0.9715709509543554 0.6453759495851475 1.3686315575323487 -0.9649234605801045 0.6860514599984393 1.0584244868495878 -1.7587394864231143 -1.183258512665775 -2.0392321777601006 -0.26940683444455776 0.7175422557959623 1.502357052096028 0.07409478041977519 1.6286155455712918 -1.3801014582148914 -1.7033824393551547 -0.05554769889661878 - 0.3840654489393073 -0.03269474809409311 -2.0674421000398766 -0.08912003951278841 -1.3044695005048532 0.6696725488300385 0.36659824609684827 -0.9398797863273552 -0.5138669173366935 -1.0592135218889516 -0.06267909727317188 0.9551423205012383 -0.9857260463355437 0.5040465155178444 -0.5302576183724408 -0.7928728322623442 -0.10703035995455783 -1.035242322419374 -0.553649305347182 -1.1978778925888485 1.9647251329163893 0.03526355197172861 - -0.6997255079925856 0.213979910734222 -0.11232804969082982 -0.22096959953322298 0.6141667000434252 0.7575077100473051 -0.5305011476105275 -0.57581824064468 -0.275051697151644 -2.301921164735585 -1.5151910621985523 1.3668742674445247 1.6449677135012837 -0.24903603955637832 0.5765569630557664 0.3112501545435361 3.0788808084552377 1.1195749114345768 -0.12791759148076653 -0.9555404406004258 -1.6064463202575725 0.2034636358672231 - -0.7563507452843033 -1.4222537095976742 -0.6465728842425266 -1.081548003614395 1.6871416350725648 0.8816397569494505 -0.007972641316617372 1.4799441388900259 0.0773683076476183 -0.8612842013282637 1.5231240772696573 0.5389100436846587 -1.0372461543264564 -0.1903386780836082 -0.8756182533847572 -1.382799730964336 0.9261775475316414 1.9094166404701305 -1.3985675738191412 0.5629692366905709 -0.6506425691218269 -0.48712538376469605 - -0.5923939242388692 -0.863990769679816 0.04852162794482699 -0.8309501164110378 0.2704568257798388 -0.05023810944913695 -0.23894804686640975 -0.9075636620415979 -0.5767713305683327 0.755391225825756 0.5009171876243808 -0.977555244798551 0.09933230542922587 0.751387123371789 -1.6694052811213718 0.543360192379935 -0.6626237589458467 0.5705986685931593 -0.7632591565425169 -1.804882100664519 -1.6275424378831627 0.048084946661381994 - 0.25972250172148187 -0.9043166251044086 0.6385924587773739 -1.6615200622689599 -0.06607979864731657 -1.2110161997624567 -0.6518361078021592 0.047398671316414016 -0.8604133652839524 -0.38455554422982535 1.0062928092144405 -0.5768918695231487 0.8356921120651418 -1.129706854657618 0.5298041779152828 1.4415686206579004 -2.4716445001272893 -0.7968952554704768 0.57707212718054 -0.2030453860429927 0.37114587337130883 -0.6039851867158206 - 0.08658978747289992 -0.15567723539207948 1.1677820616598074 0.2544208433012131 0.3376026620752022 -0.4118769661224674 -0.48760622407249354 -0.4325581878196209 0.39445214237829684 -0.42098448082026296 0.2897748568964129 2.075400798645439 0.8711247034316923 -0.32602353216784113 1.2012139221639448 -0.4080753730215514 -2.038124535177854 -1.008086310917404 -1.8707919210258557 -0.35151348404130867 0.0184183791895517 1.6764373122752827 - 0.32692737376416264 -0.21910052880886424 0.8294055811834892 -2.211135309007885 0.23561455810856594 0.7708651938869668 -1.4785862457798415 1.143754043206929 0.3384964074944141 -0.4152879139008013 0.6327818661062848 2.270692857804396 0.18186625505849516 0.24822058630033608 -0.4593608995402441 -0.8498443694647918 0.8303358165442456 -0.8560838259088672 0.07156623721939247 -0.4776574467651167 0.47897982574639186 0.3336621052869483 - 1.0375399442578992 -0.510016398854747 -0.26987493529337125 -0.9787637157823074 -0.4442932600761116 0.3773004930448522 0.7569886166453519 -0.9221653241776254 0.8696059201056602 1.355637858804951 0.41343490322370086 1.876795812558066 -0.773789199103573 -1.244654703311417 -1.7787202489042786 1.496044311489183 0.6543656563540577 -0.05558467091045507 0.2799686263198203 -1.1254890472983765 2.4457519796168263 0.1292211819752275 - 0.10939479460489289 0.725766623898692 0.4810092317367132 0.22388402427913137 -0.7904744554453119 0.4714683571359957 1.8820244964750337 1.3454200461549777 1.593186626639397 -0.5112156764311852 -0.9896048202585809 -0.12578692009964815 0.055724912288694604 1.0941915184709485 -1.6924646297148194 1.5295503194606137 -0.15800789857898942 -0.42688106994742003 -1.0121043752601675 -1.6548566718657693 0.8231705839619146 0.07331796718840389 - -1.2899608997410539 -1.295078772063616 -0.3357846992901282 1.669021525289393 -0.2595913513636048 -1.5031429531181062 -0.24574306408594432 -0.2727235697476705 -2.6968866429415717 -0.05429486651781221 -0.23093453020867796 0.6962063648134184 1.8489560949453452 1.1265650295477574 -0.26888869055483056 -1.1065259087416703 2.5733598032498604 0.05921843401448826 0.013929291912946203 -0.024125087110003277 0.19808476076785494 -0.14436041192394247 - -0.5736620068802363 -0.5468589412403921 -0.03275327021599839 -0.543424771133765 -0.7128457826771644 0.10643022769189683 -0.2549772174208553 1.5039929885826886 -2.650969808393012 1.0915068519224618 1.246085192497629 -2.0733902324081495 -0.34268759408034877 -0.37144086599579146 -1.4075116947178212 -0.7778166875908753 -1.1105758454658288 1.7522704434236227 0.9356783931474612 1.2715550949941588 0.7216720640432351 -1.1290517712172292 - -0.5245202662797737 0.48937456122791806 -1.2221278088919454 0.7129984301723881 -0.24032539815813503 -0.3748208075495975 0.7109599682034915 0.44426331148603976 -0.3609661658190799 1.159329803364248 -1.0810633275998973 0.6159356069442637 0.5931012579683838 -0.3095464393139903 0.326133022242118 -1.251113576385303 0.924027019206901 -0.18490213644298903 -0.5227230205190395 1.0490092258368893 -0.7043436905427592 -1.4084612963635597 ] - [ -1.5566291735239037 0.6060099513456396 -1.280429352496283 1.7547941819843647 -2.081929407883722 1.6964563682900382 0.2110174672026184 -0.09671311187039239 -0.5449190868089497 0.39913611435207086 -0.037634702424848364 1.1033018820165215 0.11422764866203965 0.1503017614618776 -0.36361221221385587 -0.056945623721067457 0.3078017688920592 -1.7101683926566256 -1.348185422105713 0.743264094022715 0.17086543812794186 -0.18398333635267913 0.01843393306539316 0.34758170536167105 -0.5397596803093615 -0.7783047254023127 0.19584525509768155 -0.978372777615032 0.40825275571447184 -1.7025836042378404 1.0291556373256436 0.472597482413043 ] - 20 80 4 2000 4 F - lstm1.lstm_nonlin 0.75 0.0005 [ - 0.25602973431387566 0.9826909839455139 1.6654744444625766 1.0143700650181304 -1.8408742313316453 -1.2795769667357015 -0.6248185776956788 0.026091050210833786 - 0.517659020469123 -0.7257438131534656 0.18676676447707832 -0.7553829323533225 -0.6115178029919482 -1.4066610968482223 -0.9232332461109043 -1.3516846056163336 - -0.9758732529773327 1.0536417966078395 -0.949398888831943 2.632382064837391 0.4933179008808892 0.1848361236948739 -0.8583577801812136 0.7003098794089914 ] - [ - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 ] - [ - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 ] - [ 0.05 0.05 0.2 0.05 0.2 1e-05 1e-05 1e-05 1e-05 1e-05 ] - [ 0.09288334 0.1117439 0.04945562 0.01552413 0.03755825 ] - 1 - lstm1.W_rp 1.0 1.0 0.0005 [ - -0.5756378262377739 0.12200981464536144 2.5600845382687947 -0.09605989972464987 1.1492733262856758 -0.7031764251258874 -0.0349884904969617 1.77080063563551 - -0.6269670577877674 1.8124485579969287 0.7077519354554754 -0.5624667758942676 0.632407739055521 0.9725544496267299 0.6218099622171964 -1.5702247198904564 - -0.7271371758248686 -0.24751863555150475 -0.07443342910004629 0.620672097550678 0.17770100093325383 -1.3353443587101013 0.3801978510059632 0.6105857452838231 - 0.5597904479310398 1.0807807255546218 0.8339221545489041 0.4591800792284367 -0.07016571145864703 -1.6609609335159914 0.42961821913258585 0.20768768716311115 - 0.27157883719537346 -1.2767485758203094 -1.0810565404082624 1.0531528533329035 -0.03955515385665504 0.6815006973726244 0.028318376130461172 0.02975613949574519 - 0.9382838059759977 -0.5160447282173739 0.09612077694098337 -0.4622752887050425 -0.4344962274323156 -0.30917212346863937 0.22213377163371284 -0.4787486216634773 - 1.2557561255735208 -0.8946073022195039 -0.18687164416135904 -0.4397310582741749 1.4469778843537329 0.19655477651157463 1.0318445394686349 -1.485560373036972 - 0.26705026586925884 0.889630795623437 0.08228398927542419 1.0654803750653512 -0.5172884501003722 1.40934744018558 2.2988981236192503 -0.36283856043965906 ] - [ -0.4455025214007718 1.453384477117701 1.5795721457307124 -0.5228600271532683 -0.42018681709585726 -0.2817846088605072 -1.344450511034277 -0.9186519464841982 ] - 20 80 4 2000 4 F - lstm1.cr_trunc 15 1.0 30 15 20 3 0 0 0 0 - \ No newline at end of file diff --git a/kaldi/test_cases/lstm_15-7-8_T30_S2_delay2/output.ark b/kaldi/test_cases/lstm_15-7-8_T30_S2_delay2/output.ark deleted file mode 100644 index 0d63ad8a3e..0000000000 --- a/kaldi/test_cases/lstm_15-7-8_T30_S2_delay2/output.ark +++ /dev/null @@ -1,16 +0,0 @@ -idx [ - -0.9000965 2.440951 0.6900898 -1.281685 -0.2873321 -0.5515385 -1.412726 0.2447047 - -0.9784171 2.291825 0.8876737 -1.359673 -0.02063793 -0.3634705 -0.8364419 0.5772594 - -1.405561 1.984002 1.193808 -1.161312 0.9712601 -0.7902501 -1.143033 1.007183 - -0.6776211 1.586383 2.210277 -0.08522287 0.7699427 -0.6394303 -0.9151727 2.145606 - -1.507692 1.747148 1.443795 -0.923032 1.156453 -0.6334334 -1.53796 3.043169 - -0.5326123 1.621293 1.380824 -0.7573504 -0.3259719 -0.3226761 -1.297824 -0.677502 - -2.657522 1.54036 1.019467 -1.562239 1.506032 -0.2073954 -0.9591702 1.090916 - -1.040522 1.993486 1.725007 -0.6284755 0.9743459 -0.7609059 -0.9164666 2.672405 - -2.456305 3.224707 1.145285 -0.6312798 0.6555664 -0.6941613 -0.6482611 2.234566 - -2.349362 3.019115 1.013708 -0.7727395 0.5948823 -0.7757689 -0.9987169 1.393031 - -0.9239042 1.80954 1.817326 -0.569916 0.9878972 -0.733991 -0.9543232 2.477928 - -0.9538295 1.612729 1.354444 -1.181961 1.049134 -0.7569094 -1.666449 3.015626 - -1.104985 2.717215 0.7807686 -1.568171 0.2674456 -0.4103424 -0.4150214 2.072472 - -2.402928 3.015568 0.1078256 -2.227482 0.3576722 -0.1974699 -0.1376042 0.3966681 - -1.746635 2.84692 0.3960562 -1.904601 0.2574999 -0.3092737 -0.3757888 0.9303871 ] diff --git a/kaldi/test_cases/lstm_15-7-8_T30_S2_delay2/subsampling b/kaldi/test_cases/lstm_15-7-8_T30_S2_delay2/subsampling deleted file mode 100644 index d8263ee986..0000000000 --- a/kaldi/test_cases/lstm_15-7-8_T30_S2_delay2/subsampling +++ /dev/null @@ -1 +0,0 @@ -2 \ No newline at end of file diff --git a/kaldi/test_cases/lstm_15-7-8_T30_S2_delay2/test.sh b/kaldi/test_cases/lstm_15-7-8_T30_S2_delay2/test.sh deleted file mode 100644 index 3fccdf8d6c..0000000000 --- a/kaldi/test_cases/lstm_15-7-8_T30_S2_delay2/test.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -nnet3-compute --frames-per-chunk=31 --frame-subsampling-factor=2 model.raw.txt ark:input.ark ark,t:predicted.ark 2>.error -fail=0 -diff output.ark predicted.ark || fail=1; -rm predicted.ark -echo "fail=$fail" && [ $fail -gt 0 ] && exit 1; diff --git a/kaldi/test_cases/lstm_15-7-8_T30_S2_delay2/vars.sh b/kaldi/test_cases/lstm_15-7-8_T30_S2_delay2/vars.sh deleted file mode 100644 index 10e0761d23..0000000000 --- a/kaldi/test_cases/lstm_15-7-8_T30_S2_delay2/vars.sh +++ /dev/null @@ -1,4 +0,0 @@ -left_context=0 -right_context=0 -subsampling=2 -adjust_final_offset=0 diff --git a/kaldi/test_cases/lstm_5-8-16_T20_S3_delay1/input.ark b/kaldi/test_cases/lstm_5-8-16_T20_S3_delay1/input.ark deleted file mode 100644 index 8747494a51..0000000000 --- a/kaldi/test_cases/lstm_5-8-16_T20_S3_delay1/input.ark +++ /dev/null @@ -1,21 +0,0 @@ -idx [ - -0.67349064 0.27899417 -0.83534706 2.1451492 -1.1875985 - 0.3098207 0.6337769 0.4137991 -0.18528765 -0.1298207 - 0.04381147 -0.147002 0.9638791 2.210523 -0.5574918 - -1.369803 -0.08828205 2.5797093 -0.8036746 1.6391168 - 1.6777008 -0.5535883 0.5689831 1.6283966 -0.37912774 - -0.20358036 -0.5816809 -1.0147567 -0.64927757 -1.2239403 - 0.034083467 -0.7699732 0.23378591 -1.5558957 0.33088022 - 0.83352894 -1.9937357 0.37405658 1.227669 -1.209641 - 1.6725724 0.419019 -0.70501184 -0.05576908 0.5583269 - 0.07600539 0.538756 -0.9206736 0.16936083 -1.4137145 - -0.11122606 -0.90390766 -0.73552996 1.2360932 1.0913101 - 0.60913813 -1.0923128 -0.31640846 1.2130977 0.14171691 - 2.3193295 0.39331785 0.19204912 -0.30911645 0.1335409 - -0.15246984 0.70810866 0.9567023 -0.78598946 -1.3312329 - -1.8362054 0.5079913 -1.1033666 -2.1528907 0.3885786 - 2.4929996 -0.0060709114 0.8384908 0.08182936 -0.09888966 - 0.9190765 -0.29027453 0.2673923 0.3216978 -0.66809046 - 0.99204236 -0.17495976 -0.7557452 0.5365099 -0.89846796 - 0.028181158 -0.009118997 1.0858955 0.47469825 -0.025026958 - 0.8177663 1.3902075 0.5578103 0.01035262 -1.3118362] \ No newline at end of file diff --git a/kaldi/test_cases/lstm_5-8-16_T20_S3_delay1/io.npz b/kaldi/test_cases/lstm_5-8-16_T20_S3_delay1/io.npz deleted file mode 100644 index fa49ebae7b..0000000000 Binary files a/kaldi/test_cases/lstm_5-8-16_T20_S3_delay1/io.npz and /dev/null differ diff --git a/kaldi/test_cases/lstm_5-8-16_T20_S3_delay1/model.raw b/kaldi/test_cases/lstm_5-8-16_T20_S3_delay1/model.raw deleted file mode 100644 index ef29bdb58b..0000000000 Binary files a/kaldi/test_cases/lstm_5-8-16_T20_S3_delay1/model.raw and /dev/null differ diff --git a/kaldi/test_cases/lstm_5-8-16_T20_S3_delay1/model.raw.txt b/kaldi/test_cases/lstm_5-8-16_T20_S3_delay1/model.raw.txt deleted file mode 100644 index 242e5a9771..0000000000 --- a/kaldi/test_cases/lstm_5-8-16_T20_S3_delay1/model.raw.txt +++ /dev/null @@ -1,122 +0,0 @@ - - -input-node name=input dim=5 -component-node name=lstm1.four_parts input=Append(input, IfDefined(Offset(lstm1.r_trunc,-1))) component=lstm1.W_all -component-node name=lstm1.lstm_nonlin input=Append(lstm1.four_parts, IfDefined(Offset(lstm1.c_trunc,-1))) component=lstm1.lstm_nonlin -dim-range-node name=lstm1.c input-node=lstm1.lstm_nonlin dim-offset=0 dim=16 -dim-range-node name=lstm1.m input-node=lstm1.lstm_nonlin dim-offset=16 dim=16 -component-node name=lstm1 input=lstm1.m component=lstm1.W_rp -dim-range-node name=lstm1.r input-node=lstm1 dim-offset=0 dim=8 -component-node name=lstm1.cr_trunc input=Append(lstm1.c, lstm1.r) component=lstm1.cr_trunc -dim-range-node name=lstm1.c_trunc input-node=lstm1.cr_trunc dim-offset=0 dim=16 -dim-range-node name=lstm1.r_trunc input-node=lstm1.cr_trunc dim-offset=16 dim=8 -output-node name=output input=lstm1 - - 4 - lstm1.W_all 1.0 1.0 0.0005 [ - 0.4967141530112327 -0.13826430117118466 0.6476885381006925 1.5230298564080254 -0.23415337472333597 -0.23413695694918055 1.5792128155073915 0.7674347291529088 -0.4694743859349521 0.5425600435859647 -0.46341769281246226 -0.46572975357025687 0.24196227156603412 - -1.913280244657798 -1.7249178325130328 -0.5622875292409727 -1.0128311203344238 0.3142473325952739 -0.9080240755212109 -1.4123037013352915 1.465648768921554 -0.22577630048653566 0.06752820468792384 -1.4247481862134568 -0.5443827245251827 0.11092258970986608 - -1.1509935774223028 0.37569801834567196 -0.600638689918805 -0.2916937497932768 -0.6017066122293969 1.8522781845089378 -0.013497224737933921 -1.0577109289559004 0.822544912103189 -1.2208436499710222 0.2088635950047554 -1.9596701238797756 -1.3281860488984305 - 0.19686123586912352 0.7384665799954104 0.1713682811899705 -0.11564828238824053 -0.3011036955892888 -1.4785219903674274 -0.7198442083947086 -0.4606387709597875 1.0571222262189157 0.3436182895684614 -1.763040155362734 0.324083969394795 -0.38508228041631654 - -0.6769220003059587 0.6116762888408679 1.030999522495951 0.9312801191161986 -0.8392175232226385 -0.3092123758512146 0.33126343140356396 0.9755451271223592 -0.47917423784528995 -0.18565897666381712 -1.1063349740060282 -1.1962066240806708 0.812525822394198 - 1.356240028570823 -0.07201012158033385 1.0035328978920242 0.36163602504763415 -0.6451197546051243 0.36139560550841393 1.5380365664659692 -0.03582603910995154 1.5646436558140062 -2.6197451040897444 0.8219025043752238 0.08704706823817121 -0.2990073504658674 - 0.0917607765355023 -1.9875689146008928 -0.21967188783751193 0.3571125715117464 1.477894044741516 -0.5182702182736474 -0.8084936028931876 -0.5017570435845365 0.9154021177020741 0.32875110965968446 -0.5297602037670388 0.5132674331133561 0.09707754934804039 - 0.9686449905328892 -0.7020530938773524 -0.3276621465977682 -0.39210815313215763 -1.4635149481321186 0.29612027706457605 0.26105527217988933 0.00511345664246089 -0.23458713337514692 -1.4153707420504142 -0.42064532276535904 -0.3427145165267695 -0.8022772692216189 - -0.16128571166600914 0.4040508568145384 1.8861859012105302 0.17457781283183896 0.25755039072276437 -0.07444591576616721 -1.9187712152990415 -0.026513875449216878 0.06023020994102644 2.463242112485286 -0.19236096478112252 0.30154734233361247 -0.03471176970524331 - -1.168678037619532 1.1428228145150205 0.7519330326867741 0.7910319470430469 -0.9093874547947389 1.4027943109360992 -1.4018510627922809 0.5868570938002703 2.1904556258099785 -0.9905363251306883 -0.5662977296027719 0.09965136508764122 -0.5034756541161992 - -1.5506634310661327 0.06856297480602733 -1.0623037137261049 0.4735924306351816 -0.9194242342338032 1.5499344050175394 -0.7832532923362371 -0.3220615162056756 0.8135172173696698 -1.2308643164339552 0.22745993460412942 1.307142754282428 -1.6074832345612275 - 0.1846338585323042 0.25988279424842353 0.7818228717773104 -1.236950710878082 -1.3204566130842763 0.5219415656168976 0.29698467323318606 0.25049285034587654 0.3464482094969757 -0.6800247215784908 0.23225369716100355 0.29307247329868125 -0.7143514180263678 - 1.8657745111447566 0.4738329209117875 -1.1913034972026486 0.6565536086338297 -0.9746816702273214 0.787084603742452 1.158595579007404 -0.8206823183517105 0.9633761292443218 0.4127809269364983 0.82206015999449 1.8967929826539474 -0.2453881160028705 - -0.7537361643574896 -0.8895144296255233 -0.8158102849654383 -0.0771017094141042 0.3411519748166439 0.27669079933001905 0.8271832490360238 0.01300189187790702 1.4535340771573169 -0.2646568332379561 2.720169166589619 0.6256673477650062 -0.8571575564162826 - -1.0708924980611123 0.4824724152431853 -0.2234627853258509 0.714000494092092 0.47323762457354485 -0.07282891265687277 -0.846793718068405 -1.5148472246858646 -0.4465149520670211 0.8563987943234723 0.21409374413020396 -1.245738778711988 0.173180925851182 - 0.3853173797288368 -0.883857436201133 0.1537251059455279 0.058208718445999896 -1.142970297830623 0.3577873603482833 0.5607845263682344 1.083051243175277 1.053802052034903 -1.377669367957091 -0.9378250399151228 0.5150352672086598 0.5137859509122088 - 0.5150476863060479 3.852731490654721 0.570890510693167 1.135565640180599 0.9540017634932023 0.651391251305798 -0.3152692446403456 0.7589692204932674 -0.7728252145375718 -0.23681860674000887 -0.48536354782910346 0.08187413938632256 2.3146585666735087 - -1.867265192591748 0.6862601903745135 -1.6127158711896517 -0.47193186578943347 1.088950596967366 0.06428001909546277 -1.0777447779293061 -0.7153037092599682 0.6795977489346758 -0.7303666317171367 0.21645858958197486 0.045571839903813784 -0.6516003476058171 - 2.1439440893253257 0.6339190223180112 -2.025142586657607 0.18645431476942764 -0.661786464768388 0.852433334796224 -0.7925207384327007 -0.11473644146689901 0.5049872789804571 0.8657551941701215 -1.2002964070557762 -0.3345012358409484 -0.4749453111609562 - -0.6533292325737119 1.7654542402810969 0.40498171096095553 -1.2608839543350452 0.9178619470547761 2.1221561970126332 1.0324652605511468 -1.5193699659540134 -0.48423407286625136 1.2669111491866227 -0.7076694656187807 0.44381942814622843 0.7746340534293368 - -0.926930471578083 -0.05952535606180008 -3.2412673400690726 -1.0243876413342898 -0.2525681513931603 -1.2477831819648495 1.6324113039316352 -1.4301413779606327 -0.44004448669698376 0.13074057728609134 1.4412732890661155 -1.4358621511794394 1.1631637521549596 - 0.010233061019587049 -0.9815086510479509 0.46210347426327075 0.19905969557347003 -0.6002168771587947 0.06980208499001891 -0.3853135968617602 0.11351734525124804 0.6621306745210467 1.586016816145352 -1.237815498826849 2.1330333746562666 -1.9520877995225019 - -0.15178509503558332 0.5883172064845765 0.28099186773503265 -0.6226995198205938 -0.20812225035727522 -0.4930009346588328 -0.5893647569442115 0.8496020970210246 0.35701548596504734 -0.6929095952606542 0.8995998754332507 0.30729952087660933 0.8128621188389601 - 0.6296288419236122 -0.8289950109220723 -0.5601810401969696 0.7472936051232618 0.6103702654334648 -0.020901593964148132 0.117327383308782 1.277664895788425 -0.5915713888358299 0.5470973811700379 -0.20219265243389406 -0.2176812032272203 1.09877685198719 - 0.8254163489880298 0.8135096360006385 1.305478807154329 0.02100384163275905 0.6819529712949639 -0.31026675659345604 0.3241663524884421 -0.13014305436768459 0.09699596499271819 0.5951570254369136 -0.8182206832334725 2.0923872756854602 -1.006017381499702 - -1.2141886127877322 1.1581108735000678 0.7916626939629359 0.6241198170521551 0.6283455092642799 -0.012246772846914623 -0.8972543714858315 0.07580455819372633 -0.6771617115121117 0.9751197334177512 -0.14705738150213865 -0.8254971967925115 -0.32138584165299344 - 0.41293145427562433 -0.5637245528039747 -0.8222203955664315 0.2436872114919123 0.24496657110872277 -0.5069431753711298 -0.4710383056183228 0.2320499373576363 -1.4480843414973241 -1.4074637743765552 -0.718444221252436 -0.21344715171184725 0.3109075655980046 - 1.475356216949552 0.8576596232020194 -0.1599385299634271 -0.01901620790268883 -1.0025293646378088 -0.01851313599238993 -0.2886586389201383 0.3227185603380895 -0.827230943552323 0.5193465142411723 1.5327389130025777 -0.1087601484568576 0.40171172209894146 - 0.6901439917111125 -0.40122047188583626 0.22409248181041677 0.01259240078179486 0.09767609854883172 -0.7730097838554665 0.024510174258942714 0.49799829124544975 1.4511436077950417 0.9592708260852069 2.1531824575115563 -0.7673475628880495 0.8723206367206782 - 0.18334200573835174 2.1898029332176723 -0.8082982853551515 -0.8397218421807761 -0.5993926454440222 -2.123895724309807 -0.525755021680761 -0.759132661553698 0.15039378647620763 0.34175597577715944 1.8761708392158862 0.9504238381860503 -0.5769036556624031 - -0.898414671348358 0.4919191715065057 -1.3202332070206422 1.8314587658543537 1.179440120721287 -0.4691756521047048 -1.7131345290908775 1.3538723741654128 -0.11453984525261789 1.2378163119734618 -1.594427658794367 -0.5993750229537729 0.005243699718183166 - 0.046980593764742055 -0.45006547147924364 0.6228499323474987 -1.0676204293825944 -0.1423794850212935 0.12029563171189886 0.514438834058749 0.7116148780888898 -1.1246420918378692 -1.5341141707356223 1.277676821898509 0.33231401197959165 -0.7484865365565536 - 1.551151975522523 0.11567463429285867 1.1792971840638264 0.06751848141010895 2.060747924881987 1.7553408424432044 -0.2489641484790735 0.9715709509543554 0.6453759495851475 1.3686315575323487 -0.9649234605801045 0.6860514599984393 1.0584244868495878 - -1.7587394864231143 -1.183258512665775 -2.0392321777601006 -0.26940683444455776 0.7175422557959623 1.502357052096028 0.07409478041977519 1.6286155455712918 -1.3801014582148914 -1.7033824393551547 -0.05554769889661878 0.3840654489393073 -0.03269474809409311 - -2.0674421000398766 -0.08912003951278841 -1.3044695005048532 0.6696725488300385 0.36659824609684827 -0.9398797863273552 -0.5138669173366935 -1.0592135218889516 -0.06267909727317188 0.9551423205012383 -0.9857260463355437 0.5040465155178444 -0.5302576183724408 - -0.7928728322623442 -0.10703035995455783 -1.035242322419374 -0.553649305347182 -1.1978778925888485 1.9647251329163893 0.03526355197172861 -0.6997255079925856 0.213979910734222 -0.11232804969082982 -0.22096959953322298 0.6141667000434252 0.7575077100473051 - -0.5305011476105275 -0.57581824064468 -0.275051697151644 -2.301921164735585 -1.5151910621985523 1.3668742674445247 1.6449677135012837 -0.24903603955637832 0.5765569630557664 0.3112501545435361 3.0788808084552377 1.1195749114345768 -0.12791759148076653 - -0.9555404406004258 -1.6064463202575725 0.2034636358672231 -0.7563507452843033 -1.4222537095976742 -0.6465728842425266 -1.081548003614395 1.6871416350725648 0.8816397569494505 -0.007972641316617372 1.4799441388900259 0.0773683076476183 -0.8612842013282637 - 1.5231240772696573 0.5389100436846587 -1.0372461543264564 -0.1903386780836082 -0.8756182533847572 -1.382799730964336 0.9261775475316414 1.9094166404701305 -1.3985675738191412 0.5629692366905709 -0.6506425691218269 -0.48712538376469605 -0.5923939242388692 - -0.863990769679816 0.04852162794482699 -0.8309501164110378 0.2704568257798388 -0.05023810944913695 -0.23894804686640975 -0.9075636620415979 -0.5767713305683327 0.755391225825756 0.5009171876243808 -0.977555244798551 0.09933230542922587 0.751387123371789 - -1.6694052811213718 0.543360192379935 -0.6626237589458467 0.5705986685931593 -0.7632591565425169 -1.804882100664519 -1.6275424378831627 0.048084946661381994 0.25972250172148187 -0.9043166251044086 0.6385924587773739 -1.6615200622689599 -0.06607979864731657 - -1.2110161997624567 -0.6518361078021592 0.047398671316414016 -0.8604133652839524 -0.38455554422982535 1.0062928092144405 -0.5768918695231487 0.8356921120651418 -1.129706854657618 0.5298041779152828 1.4415686206579004 -2.4716445001272893 -0.7968952554704768 - 0.57707212718054 -0.2030453860429927 0.37114587337130883 -0.6039851867158206 0.08658978747289992 -0.15567723539207948 1.1677820616598074 0.2544208433012131 0.3376026620752022 -0.4118769661224674 -0.48760622407249354 -0.4325581878196209 0.39445214237829684 - -0.42098448082026296 0.2897748568964129 2.075400798645439 0.8711247034316923 -0.32602353216784113 1.2012139221639448 -0.4080753730215514 -2.038124535177854 -1.008086310917404 -1.8707919210258557 -0.35151348404130867 0.0184183791895517 1.6764373122752827 - 0.32692737376416264 -0.21910052880886424 0.8294055811834892 -2.211135309007885 0.23561455810856594 0.7708651938869668 -1.4785862457798415 1.143754043206929 0.3384964074944141 -0.4152879139008013 0.6327818661062848 2.270692857804396 0.18186625505849516 - 0.24822058630033608 -0.4593608995402441 -0.8498443694647918 0.8303358165442456 -0.8560838259088672 0.07156623721939247 -0.4776574467651167 0.47897982574639186 0.3336621052869483 1.0375399442578992 -0.510016398854747 -0.26987493529337125 -0.9787637157823074 - -0.4442932600761116 0.3773004930448522 0.7569886166453519 -0.9221653241776254 0.8696059201056602 1.355637858804951 0.41343490322370086 1.876795812558066 -0.773789199103573 -1.244654703311417 -1.7787202489042786 1.496044311489183 0.6543656563540577 - -0.05558467091045507 0.2799686263198203 -1.1254890472983765 2.4457519796168263 0.1292211819752275 0.10939479460489289 0.725766623898692 0.4810092317367132 0.22388402427913137 -0.7904744554453119 0.4714683571359957 1.8820244964750337 1.3454200461549777 - 1.593186626639397 -0.5112156764311852 -0.9896048202585809 -0.12578692009964815 0.055724912288694604 1.0941915184709485 -1.6924646297148194 1.5295503194606137 -0.15800789857898942 -0.42688106994742003 -1.0121043752601675 -1.6548566718657693 0.8231705839619146 - 0.07331796718840389 -1.2899608997410539 -1.295078772063616 -0.3357846992901282 1.669021525289393 -0.2595913513636048 -1.5031429531181062 -0.24574306408594432 -0.2727235697476705 -2.6968866429415717 -0.05429486651781221 -0.23093453020867796 0.6962063648134184 - 1.8489560949453452 1.1265650295477574 -0.26888869055483056 -1.1065259087416703 2.5733598032498604 0.05921843401448826 0.013929291912946203 -0.024125087110003277 0.19808476076785494 -0.14436041192394247 -0.5736620068802363 -0.5468589412403921 -0.03275327021599839 - -0.543424771133765 -0.7128457826771644 0.10643022769189683 -0.2549772174208553 1.5039929885826886 -2.650969808393012 1.0915068519224618 1.246085192497629 -2.0733902324081495 -0.34268759408034877 -0.37144086599579146 -1.4075116947178212 -0.7778166875908753 - -1.1105758454658288 1.7522704434236227 0.9356783931474612 1.2715550949941588 0.7216720640432351 -1.1290517712172292 -0.5245202662797737 0.48937456122791806 -1.2221278088919454 0.7129984301723881 -0.24032539815813503 -0.3748208075495975 0.7109599682034915 - 0.44426331148603976 -0.3609661658190799 1.159329803364248 -1.0810633275998973 0.6159356069442637 0.5931012579683838 -0.3095464393139903 0.326133022242118 -1.251113576385303 0.924027019206901 -0.18490213644298903 -0.5227230205190395 1.0490092258368893 - -0.7043436905427592 -1.4084612963635597 -1.5566291735239037 0.6060099513456396 -1.280429352496283 1.7547941819843647 -2.081929407883722 1.6964563682900382 0.2110174672026184 -0.09671311187039239 -0.5449190868089497 0.39913611435207086 -0.037634702424848364 - 1.1033018820165215 0.11422764866203965 0.1503017614618776 -0.36361221221385587 -0.056945623721067457 0.3078017688920592 -1.7101683926566256 -1.348185422105713 0.743264094022715 0.17086543812794186 -0.18398333635267913 0.01843393306539316 0.34758170536167105 - -0.5397596803093615 -0.7783047254023127 0.19584525509768155 -0.978372777615032 0.40825275571447184 -1.7025836042378404 1.0291556373256436 0.472597482413043 0.25602973431387566 0.9826909839455139 1.6654744444625766 1.0143700650181304 -1.8408742313316453 - -1.2795769667357015 -0.6248185776956788 0.026091050210833786 0.517659020469123 -0.7257438131534656 0.18676676447707832 -0.7553829323533225 -0.6115178029919482 -1.4066610968482223 -0.9232332461109043 -1.3516846056163336 -0.9758732529773327 1.0536417966078395 - -0.949398888831943 2.632382064837391 0.4933179008808892 0.1848361236948739 -0.8583577801812136 0.7003098794089914 -0.5756378262377739 0.12200981464536144 2.5600845382687947 -0.09605989972464987 1.1492733262856758 -0.7031764251258874 -0.0349884904969617 - 1.77080063563551 -0.6269670577877674 1.8124485579969287 0.7077519354554754 -0.5624667758942676 0.632407739055521 0.9725544496267299 0.6218099622171964 -1.5702247198904564 -0.7271371758248686 -0.24751863555150475 -0.07443342910004629 0.620672097550678 - 0.17770100093325383 -1.3353443587101013 0.3801978510059632 0.6105857452838231 0.5597904479310398 1.0807807255546218 0.8339221545489041 0.4591800792284367 -0.07016571145864703 -1.6609609335159914 0.42961821913258585 0.20768768716311115 0.27157883719537346 - -1.2767485758203094 -1.0810565404082624 1.0531528533329035 -0.03955515385665504 0.6815006973726244 0.028318376130461172 0.02975613949574519 0.9382838059759977 -0.5160447282173739 0.09612077694098337 -0.4622752887050425 -0.4344962274323156 -0.30917212346863937 - 0.22213377163371284 -0.4787486216634773 1.2557561255735208 -0.8946073022195039 -0.18687164416135904 -0.4397310582741749 1.4469778843537329 0.19655477651157463 1.0318445394686349 -1.485560373036972 0.26705026586925884 0.889630795623437 0.08228398927542419 - 1.0654803750653512 -0.5172884501003722 1.40934744018558 2.2988981236192503 -0.36283856043965906 -0.4455025214007718 1.453384477117701 1.5795721457307124 -0.5228600271532683 -0.42018681709585726 -0.2817846088605072 -1.344450511034277 -0.9186519464841982 ] - [ -1.0041407667520679 -0.7677975651041284 -0.03468488738678118 0.23421473253652075 1.5505004928140769 -0.998354040738791 0.9843223984765838 -0.21398884422550896 -0.04946370965243295 0.6748194921666038 -1.1227220215622986 0.3824097461840506 0.1664522082130561 0.4924512640081491 0.2891686439078181 2.4553001399108942 -0.637739984251316 -0.5309969550018176 -0.6231405264247644 -0.5554771191602547 -0.6373871273065177 1.1890165311075518 1.4205042479898549 -0.5707462937494763 -0.8323555731042287 0.4714155563864041 -0.5522230442809712 0.6329318177555108 0.2029230208512997 -1.515744114997232 1.5475052013300616 1.7958776730955217 -0.6127886904843862 -0.38770155993598415 0.28586539072490497 0.334456789987025 0.6585442726728304 2.0102045387663496 -0.1769472274940494 -0.7982972445384537 -1.3793192280145272 -0.7309300399419191 -0.033126972873797095 1.7945578635177877 -0.5176112990361714 0.2237879516388985 -0.016422896072752075 1.188393273448084 2.5269324258736217 -0.5308687729203206 -0.48943944251822213 1.044160877069072 0.6818914896263114 1.8467073257360336 0.5839281853259639 -0.35929209078705954 0.5906548306923093 1.1087035805829077 0.820482181197364 0.5072740311072977 1.066674689589154 1.1692955904456728 1.3821589910375272 0.6487098875896427 ] - 20 80 4 2000 4 F - lstm1.lstm_nonlin 0.75 0.0005 [ - -0.16711808031685435 0.14671368643332283 1.2065089665083568 -0.8169356709872361 0.3686733088729012 -0.3933388123273607 0.028744822934817487 1.2784518626072987 0.19109906801990334 0.04643654815614881 -1.3598561409799192 0.7462535660272207 0.6454841811410754 2.16325472330546 -0.30777823495300083 0.21915032766393897 - 0.24938368371075526 1.5774532797634744 -0.0952955323869521 0.27902152577033923 0.6078965097165392 0.1866091231563581 -0.44643361455052827 0.19408999289830758 1.073631749859772 -1.0265152994110602 0.132969674146876 -0.7001208149391732 1.1950466289248425 -1.5231869047837747 -0.5589218472715883 0.37721187506452086 - 1.5655240292343404 -0.0657502610729878 -0.5551995266931984 1.8811570694405901 -1.448013900416244 -2.198805956620082 0.4400144500533324 -0.5020542243526112 -1.0212328171307132 0.7083564472993533 0.24380071377119883 -0.5640786307367284 -1.2803043986708944 0.8724573282801447 0.650201177958661 -0.09917586377938291 ] - [ - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 ] - [ - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 ] - [ 0.05 0.05 0.2 0.05 0.2 1e-05 1e-05 1e-05 1e-05 1e-05 ] - [ 0.09288334 0.1117439 0.04945562 0.01552413 0.03755825 ] - 1 - lstm1.W_rp 1.0 1.0 0.0005 [ - 1.8466369960476658 -1.0700847663261526 -1.5255251709247388 -0.6919080698812444 -0.045586016355497805 0.24333944932269183 -0.24123605785632987 0.3520553965142968 -1.251539424190444 1.4437646040732595 -0.0821511783925688 1.1172958315881276 0.34272534637770413 0.4567532191537839 0.5697672802322039 0.44770856001731496 - 0.6427227598675439 1.3291525301324314 0.19652116970147013 0.7090037575885123 -0.08973569428722672 1.4401172154494728 -0.6763923020592697 1.8009404329108156 -0.04015795064434341 -1.4307751021180481 0.12810441491078928 -0.6810516574748808 0.8406435489887241 -0.6526239793023909 -0.4461834332147797 -1.889540730945531 - -0.4523063192490767 -2.4238793266289567 -1.5839028234857233 0.7604146561442974 0.7858001586508322 0.42545756178496474 -0.966976143129213 -0.047711356141979855 -0.0036025390905684044 -1.1583646891925428 1.5033983017671506 0.8773622905756714 -0.22096417382966393 0.02688583899453078 0.20838280794755248 -2.0417348684242906 - -0.24717738252059693 -0.6819842479977986 -1.0016200098949155 -0.2811002928859549 1.7976865268495226 0.6408428612670098 -0.5711789897827968 0.5725827813561586 1.3993554365860021 0.9246336829127688 0.05963036992017413 -0.6469367777055739 0.6982233136135899 0.3934853854217496 0.8951932200277323 0.6351718016819695 - 1.0495527153193351 -0.535235211560568 1.3173940656343257 0.19759960469239965 2.0752608726252655 -0.6891878180895679 1.7359638031652493 0.1979107834626478 -0.6514180036144483 -0.48388583405432156 -0.32034730819432017 0.4241659464019164 0.5228354880354996 -0.573700003938579 -0.02435459226098284 2.1422703586118637 - 1.7275431701007113 0.4363236696740321 0.03800347816820029 0.1200313267182613 0.6135179727304166 -1.0227925651984056 -0.2573765374233451 -1.6685840738775894 0.39922312260527926 0.647195939702741 -0.483186462299374 1.5739867632900328 -1.2257656630023412 -1.4643748802098202 0.22445181855997204 1.0470983026121545 - 1.6839276914578687 -0.45888426286894 1.0786808334312956 -0.03850846950070721 -0.17262729994081963 0.8836599374866724 0.6523228784134196 -1.5763921569842494 1.4765403497258958 1.3800913541474515 -0.6255627015095294 0.39580353343740904 0.4940301862827388 0.2606737658239071 -0.5503051538454201 -0.6716233679380516 - -0.025554070991445278 1.1727290192593647 0.5436001545944323 -0.37061433208610595 0.7716987106483447 -2.8485426206300755 1.1487657003721035 -1.7397137787780996 -0.36244094140313216 -1.1196698946261439 -1.2946814757209058 1.1608267873785194 -0.46770120131189136 0.3465038817307158 -0.04692057887918407 0.47704082722312147 - 0.07682189106025536 -1.2829922241885696 0.99626681944714 -0.4937565831613125 -1.556581898659751 -0.4281151609659125 1.5007597906343109 0.8502217421134929 -0.3486521344078592 -0.3492577043184288 -0.3216350512173826 2.076747983560841 0.38193545223155334 0.43004164719106963 1.0302834540318422 0.23878915902651351 - -0.2590421458207031 -0.19634984908497827 -0.07160125941406395 -0.03722223650984159 0.7276295436369798 0.05194588580729943 0.7326400772155792 -0.08071658010858232 0.07863519031609059 -1.9982006845321076 0.9163276747024814 0.3464884758979927 0.9980101098596522 -2.8962553781936893 2.0883747047807275 -0.13958962815517376 - 1.1081828167375165 -1.0399059271255309 0.6127739050625697 -1.0534155631736561 -0.6237689606958051 1.9140313538667861 -0.19068240076334658 0.21743287317972287 0.8700677306887542 0.49568188797260465 0.15041890514357642 0.3649610024662254 2.403415585238275 -0.05761879703358539 0.2010990467149675 1.050654396007612 - 1.1055259329579838 1.1870303055603801 0.6387302220291846 -1.1430049127304835 1.633431532301096 -1.146345393018688 0.30263546523903323 -0.7542758500193579 -0.06413834659299254 0.3287624103034804 0.32135721545027307 0.42192075423528475 1.613711269058647 0.45353430151397983 -0.24415663529064868 0.9640871682883573 - 1.1894704889246406 -1.2276078151369925 0.597400069849858 0.7011727423108983 -0.29756350335999193 1.3757068133116195 -0.15005558703252672 0.12557645347154225 -0.1730718242838696 0.015579047581467534 -1.0962750868952018 -1.4400508825942944 1.5945050632249722 -0.8469613483183278 -0.9913923494563072 -2.153390113603715 - -0.6389617476895022 -1.3230897934074983 1.642015160136369 1.0098170893426341 -0.6881503451777238 2.2524358053443088 0.9817654869915943 -0.32483138350862245 -2.499405714873573 2.2909425725907417 -1.389572466763596 -1.6453987469568918 1.0225704320096403 2.439752406339273 1.3842728185105182 0.5639091200523596 - 0.594754341665286 0.8534155587803077 0.7589285897867651 0.2811914239693758 0.10420110395187607 -0.06259312789952241 -0.7539645888666763 -0.28067507686677406 -1.6929568141953855 -0.09833962679474989 -0.9885911071509175 -1.103589317215771 0.17989415115347845 1.3920022863445993 0.918316606002313 -1.570500603623177 - -0.9896281365703375 0.9407711879882159 -0.9824873935383096 -0.2246331499970246 0.5500520990245519 -0.9683444548636353 0.1053755061459599 -1.3340254949182044 -0.6013676439512137 0.31978193414253697 -1.5929937335316693 0.440474737960399 -0.019637798926681216 0.5524899544171478 0.22391413406466143 1.3641404299738442 ] - [ 0.12522450264790727 -0.429405541125253 0.12229750303228377 0.5432980290363879 0.04886007032570433 0.04059169120388238 -0.7019916878067554 -0.6629009175509482 -1.4026052717996935 1.7495767431869393 -1.243863235391285 -0.6929051977959073 -0.7184072655691974 0.8949243769444413 -0.2949496782920278 1.2477420726737338 ] - 20 80 4 2000 4 F - lstm1.cr_trunc 24 1.0 30 15 20 3 0 0 0 0 - \ No newline at end of file diff --git a/kaldi/test_cases/lstm_5-8-16_T20_S3_delay1/output.ark b/kaldi/test_cases/lstm_5-8-16_T20_S3_delay1/output.ark deleted file mode 100644 index 53434d17e5..0000000000 --- a/kaldi/test_cases/lstm_5-8-16_T20_S3_delay1/output.ark +++ /dev/null @@ -1,8 +0,0 @@ -idx [ - -1.429117 -1.806256 -1.790826 -1.395527 -0.01289583 -0.2237177 -2.374472 1.32744 0.5078694 0.1747515 -2.729976 -3.172308 -3.101212 1.867283 -0.8531239 3.286691 - -2.485923 2.180181 0.885919 -2.795914 -4.866895 -2.646777 -2.125952 0.4622823 -1.011118 1.0543 -3.089119 -2.135501 -0.9529293 -4.043024 -0.6940877 1.420427 - -0.8449665 -1.199943 -1.106683 -2.20005 -4.059119 0.8070166 -1.607283 2.459339 0.6462686 2.777791 -3.157262 -1.061242 -4.130698 -1.272572 0.5060785 3.4925 - -1.1928 -1.268409 -2.901053 -2.705006 -1.792455 0.7163601 -0.2278378 2.411783 1.100454 1.514121 -1.807788 -0.8115385 -2.910705 0.6986119 -0.7736224 3.746703 - -0.7817292 -1.014923 -1.732991 -2.434692 -2.853101 1.115151 -0.6482059 1.376994 0.07328355 1.223133 -1.960786 -1.206528 -3.205745 -0.4470875 -0.671842 3.12546 - 0.5987532 -4.327652 -0.4487442 -2.572488 -1.440928 4.04685 -1.043585 4.186492 -0.4736671 -0.3655468 -4.366355 -0.5015861 -5.49361 -4.778343 -2.704826 4.541684 - 1.56082 -1.1191 -1.222605 1.705256 -1.718401 1.667937 0.9701309 -0.7917767 -2.207445 -0.5851358 0.3581808 -0.1103194 0.09539437 2.770706 0.6519942 3.843792 ] diff --git a/kaldi/test_cases/lstm_5-8-16_T20_S3_delay1/subsampling b/kaldi/test_cases/lstm_5-8-16_T20_S3_delay1/subsampling deleted file mode 100644 index e440e5c842..0000000000 --- a/kaldi/test_cases/lstm_5-8-16_T20_S3_delay1/subsampling +++ /dev/null @@ -1 +0,0 @@ -3 \ No newline at end of file diff --git a/kaldi/test_cases/lstm_5-8-16_T20_S3_delay1/test.sh b/kaldi/test_cases/lstm_5-8-16_T20_S3_delay1/test.sh deleted file mode 100644 index 1bef2b41ee..0000000000 --- a/kaldi/test_cases/lstm_5-8-16_T20_S3_delay1/test.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -nnet3-compute --frames-per-chunk=21 --frame-subsampling-factor=3 model.raw.txt ark:input.ark ark,t:predicted.ark 2>.error -fail=0 -diff output.ark predicted.ark || fail=1; -rm predicted.ark -echo "fail=$fail" && [ $fail -gt 0 ] && exit 1; diff --git a/kaldi/test_cases/lstm_5-8-16_T20_S3_delay1/vars.sh b/kaldi/test_cases/lstm_5-8-16_T20_S3_delay1/vars.sh deleted file mode 100644 index 626d88e288..0000000000 --- a/kaldi/test_cases/lstm_5-8-16_T20_S3_delay1/vars.sh +++ /dev/null @@ -1,4 +0,0 @@ -left_context=0 -right_context=0 -subsampling=3 -adjust_final_offset=0 diff --git a/kaldi/test_cases/lstm_nonlin_10_T34_S1_delay3/input.ark b/kaldi/test_cases/lstm_nonlin_10_T34_S1_delay3/input.ark deleted file mode 100644 index 45b983f346..0000000000 --- a/kaldi/test_cases/lstm_nonlin_10_T34_S1_delay3/input.ark +++ /dev/null @@ -1,35 +0,0 @@ -idx [ - -0.6017066 1.8522782 -0.013497225 -1.0577109 0.82254493 -1.2208437 0.2088636 -1.9596701 -1.328186 0.19686124 0.73846656 0.17136829 -0.115648285 -0.30110368 -1.478522 -0.7198442 -0.46063876 1.0571222 0.3436183 -1.7630402 0.32408398 -0.38508227 -0.676922 0.6116763 1.0309995 0.93128014 -0.83921754 -0.3092124 0.33126342 0.9755451 -0.47917423 -0.18565898 -1.1063349 -1.1962066 0.8125258 1.35624 -0.07201012 1.0035329 0.361636 -0.6451197 - 0.3613956 1.5380366 -0.03582604 1.5646436 -2.619745 0.8219025 0.08704707 -0.29900736 0.09176078 -1.9875689 -0.21967189 0.35711256 1.4778941 -0.5182702 -0.8084936 -0.501757 0.9154021 0.32875112 -0.5297602 0.51326746 0.09707755 0.968645 -0.70205307 -0.32766214 -0.39210814 -1.4635149 0.2961203 0.26105526 0.005113457 -0.23458713 -1.4153707 -0.42064533 -0.34271452 -0.80227727 -0.16128571 0.40405086 1.8861859 0.17457782 0.2575504 -0.07444592 - -1.9187713 -0.026513875 0.06023021 2.463242 -0.19236097 0.30154735 -0.03471177 -1.168678 1.1428229 0.75193304 0.79103196 -0.90938747 1.4027944 -1.401851 0.5868571 2.1904557 -0.99053633 -0.5662977 0.09965137 -0.50347567 -1.5506635 0.06856298 -1.0623037 0.47359243 -0.91942424 1.5499344 -0.7832533 -0.3220615 0.8135172 -1.2308643 0.22745994 1.3071427 -1.6074833 0.18463387 0.2598828 0.78182286 -1.2369508 -1.3204566 0.52194154 0.29698467 - 0.25049284 0.3464482 -0.68002474 0.2322537 0.29307246 -0.7143514 1.8657745 0.47383294 -1.1913035 0.6565536 -0.9746817 0.7870846 1.1585956 -0.82068235 0.9633761 0.41278094 0.82206017 1.896793 -0.24538812 -0.75373614 -0.88951445 -0.81581026 -0.07710171 0.34115198 0.2766908 0.82718325 0.013001892 1.4535341 -0.26465684 2.720169 0.62566733 -0.8571575 -1.0708925 0.48247242 -0.22346279 0.7140005 0.47323763 -0.07282891 -0.8467937 -1.5148473 - -0.44651496 0.8563988 0.21409374 -1.2457387 0.17318092 0.3853174 -0.8838574 0.1537251 0.05820872 -1.1429703 0.35778737 0.5607845 1.0830512 1.053802 -1.3776693 -0.937825 0.5150353 0.51378596 0.51504767 3.8527315 0.5708905 1.1355656 0.9540018 0.65139127 -0.31526923 0.75896925 -0.77282524 -0.23681861 -0.48536354 0.08187414 2.3146586 -1.8672652 0.68626016 -1.6127158 -0.47193187 1.0889506 0.06428002 -1.0777447 -0.7153037 0.67959774 - -0.73036665 0.21645859 0.04557184 -0.65160036 2.143944 0.633919 -2.0251427 0.18645431 -0.66178644 0.8524333 -0.79252076 -0.11473644 0.5049873 0.8657552 -1.2002964 -0.33450124 -0.4749453 -0.65332925 1.7654543 0.4049817 -1.2608839 0.91786194 2.1221561 1.0324652 -1.51937 -0.48423406 1.2669111 -0.70766944 0.44381943 0.77463406 -0.9269305 -0.059525356 -3.2412674 -1.0243876 -0.25256816 -1.2477832 1.6324114 -1.4301413 -0.4400445 0.13074058 - 1.4412733 -1.4358622 1.1631638 0.010233061 -0.9815087 0.4621035 0.1990597 -0.60021687 0.06980208 -0.3853136 0.113517344 0.66213065 1.5860168 -1.2378155 2.1330333 -1.9520878 -0.15178509 0.5883172 0.28099188 -0.6226995 -0.20812225 -0.49300092 -0.58936477 0.8496021 0.3570155 -0.6929096 0.89959985 0.30729952 0.8128621 0.62962884 -0.828995 -0.560181 0.7472936 0.6103703 -0.020901594 0.117327385 1.2776649 -0.5915714 0.5470974 -0.20219265 - -0.2176812 1.0987768 0.8254163 0.81350964 1.3054788 0.021003842 0.68195295 -0.31026676 0.32416636 -0.13014306 0.096995965 0.595157 -0.8182207 2.0923872 -1.0060173 -1.2141886 1.1581109 0.7916627 0.6241198 0.6283455 -0.012246773 -0.89725435 0.07580456 -0.6771617 0.9751197 -0.14705738 -0.8254972 -0.32138583 0.41293144 -0.5637246 -0.8222204 0.24368721 0.24496657 -0.50694317 -0.4710383 0.23204994 -1.4480844 -1.4074638 -0.7184442 -0.21344715 - 0.31090757 1.4753562 0.85765964 -0.15993853 -0.019016208 -1.0025294 -0.018513136 -0.28865865 0.32271856 -0.82723093 0.51934654 1.5327389 -0.10876015 0.40171173 0.690144 -0.40122047 0.22409248 0.0125924 0.0976761 -0.7730098 0.024510175 0.4979983 1.4511436 0.95927083 2.1531825 -0.7673476 0.87232065 0.18334201 2.189803 -0.8082983 -0.83972186 -0.59939265 -2.1238956 -0.52575505 -0.7591327 0.15039378 0.341756 1.8761709 0.95042384 -0.57690364 - -0.8984147 0.49191916 -1.3202332 1.8314588 1.1794401 -0.46917567 -1.7131345 1.3538724 -0.11453985 1.2378163 -1.5944277 -0.599375 0.0052436995 0.046980593 -0.45006546 0.62284994 -1.0676204 -0.14237948 0.12029563 0.5144388 0.7116149 -1.1246421 -1.5341141 1.2776768 0.332314 -0.7484865 1.551152 0.11567464 1.1792972 0.06751848 2.0607479 1.7553408 -0.24896415 0.97157097 0.64537597 1.3686316 -0.96492344 0.6860515 1.0584245 -1.7587395 - -1.1832585 -2.0392323 -0.26940683 0.71754223 1.502357 0.07409478 1.6286155 -1.3801014 -1.7033825 -0.0555477 0.38406545 -0.03269475 -2.0674422 -0.08912004 -1.3044695 0.66967255 0.36659825 -0.9398798 -0.5138669 -1.0592135 -0.0626791 0.9551423 -0.98572606 0.5040465 -0.53025764 -0.79287285 -0.10703036 -1.0352423 -0.5536493 -1.1978779 1.9647251 0.035263553 -0.6997255 0.21397991 -0.11232805 -0.2209696 0.6141667 0.7575077 -0.5305011 -0.57581824 - -0.27505168 -2.3019211 -1.5151911 1.3668742 1.6449677 -0.24903604 0.576557 0.31125015 3.0788808 1.1195749 -0.12791759 -0.9555404 -1.6064463 0.20346363 -0.75635076 -1.4222537 -0.6465729 -1.081548 1.6871417 0.8816398 -0.007972641 1.4799441 0.077368304 -0.8612842 1.5231241 0.53891003 -1.0372461 -0.19033867 -0.8756183 -1.3827997 0.92617756 1.9094167 -1.3985676 0.5629692 -0.6506426 -0.4871254 -0.59239393 -0.8639908 0.048521627 -0.83095014 - 0.27045682 -0.05023811 -0.23894805 -0.9075637 -0.5767713 0.75539124 0.5009172 -0.9775552 0.0993323 0.7513871 -1.6694052 0.5433602 -0.66262376 0.57059866 -0.7632592 -1.804882 -1.6275425 0.04808495 0.2597225 -0.9043166 0.6385925 -1.66152 -0.066079795 -1.2110162 -0.6518361 0.04739867 -0.8604134 -0.38455555 1.0062928 -0.5768919 0.8356921 -1.1297069 0.52980417 1.4415686 -2.4716444 -0.79689527 0.57707214 -0.20304538 0.37114587 -0.6039852 - 0.08658979 -0.15567723 1.1677821 0.25442085 0.33760267 -0.41187698 -0.48760623 -0.43255818 0.39445215 -0.42098448 0.28977486 2.0754008 0.8711247 -0.32602352 1.201214 -0.40807536 -2.0381246 -1.0080863 -1.8707919 -0.35151348 0.01841838 1.6764373 0.32692736 -0.21910053 0.8294056 -2.2111354 0.23561455 0.7708652 -1.4785862 1.143754 0.33849642 -0.4152879 0.63278186 2.2706928 0.18186626 0.2482206 -0.4593609 -0.8498444 0.8303358 -0.8560838 - 0.07156624 -0.47765744 0.47897983 0.3336621 1.03754 -0.5100164 -0.26987493 -0.9787637 -0.44429326 0.3773005 0.75698864 -0.92216533 0.8696059 1.3556379 0.4134349 1.8767958 -0.7737892 -1.2446547 -1.7787203 1.4960443 0.65436566 -0.05558467 0.27996862 -1.125489 2.445752 0.12922119 0.109394796 0.7257666 0.48100924 0.22388403 -0.7904745 0.47146836 1.8820245 1.34542 1.5931866 -0.5112157 -0.98960483 -0.12578692 0.05572491 1.0941916 - -1.6924646 1.5295503 -0.1580079 -0.42688107 -1.0121044 -1.6548567 0.8231706 0.07331797 -1.2899609 -1.2950788 -0.3357847 1.6690215 -0.25959134 -1.503143 -0.24574307 -0.27272356 -2.6968865 -0.054294866 -0.23093453 0.6962064 1.8489561 1.126565 -0.26888868 -1.1065259 2.5733597 0.059218433 0.013929292 -0.024125088 0.19808476 -0.14436041 -0.573662 -0.54685897 -0.03275327 -0.5434248 -0.7128458 0.106430225 -0.25497723 1.503993 -2.6509697 1.0915068 - 1.2460852 -2.0733902 -0.3426876 -0.37144086 -1.4075117 -0.7778167 -1.1105758 1.7522705 0.9356784 1.2715551 0.72167206 -1.1290518 -0.5245203 0.48937455 -1.2221278 0.71299845 -0.24032539 -0.3748208 0.71096 0.4442633 -0.36096618 1.1593298 -1.0810633 0.6159356 0.59310126 -0.30954644 0.326133 -1.2511135 0.924027 -0.18490213 -0.522723 1.0490092 -0.7043437 -1.4084613 -1.5566292 0.60600996 -1.2804294 1.7547942 -2.0819294 1.6964563 - 0.21101747 -0.09671311 -0.5449191 0.39913613 -0.037634704 1.1033019 0.114227645 0.15030175 -0.3636122 -0.056945622 0.30780178 -1.7101684 -1.3481854 0.7432641 0.17086543 -0.18398334 0.018433932 0.3475817 -0.5397597 -0.7783047 0.19584526 -0.97837275 0.40825275 -1.7025836 1.0291556 0.47259748 0.25602973 0.982691 1.6654744 1.0143701 -1.8408742 -1.279577 -0.62481856 0.02609105 0.517659 -0.72574383 0.18676676 -0.75538296 -0.6115178 -1.4066612 - -0.9232333 -1.3516846 -0.97587323 1.0536418 -0.9493989 2.6323822 0.4933179 0.18483612 -0.8583578 0.7003099 -0.5756378 0.122009814 2.5600846 -0.096059896 1.1492733 -0.70317644 -0.03498849 1.7708006 -0.6269671 1.8124485 0.7077519 -0.5624668 0.6324077 0.97255445 0.62180996 -1.5702248 -0.72713715 -0.24751863 -0.07443343 0.6206721 0.177701 -1.3353443 0.38019785 0.61058575 0.55979043 1.0807807 0.83392215 0.4591801 -0.07016571 -1.6609609 - 0.4296182 0.20768769 0.27157885 -1.2767485 -1.0810566 1.0531528 -0.039555155 0.6815007 0.028318375 0.02975614 0.9382838 -0.51604474 0.096120775 -0.4622753 -0.43449622 -0.30917212 0.22213377 -0.47874862 1.2557561 -0.8946073 -0.18687165 -0.43973106 1.4469779 0.19655478 1.0318445 -1.4855604 0.26705027 0.8896308 0.08228399 1.0654804 -0.51728845 1.4093474 2.2988982 -0.36283857 -0.44550252 1.4533845 1.5795722 -0.52286005 -0.42018682 -0.2817846 - -1.3444505 -0.91865194 -1.0041407 -0.7677976 -0.03468489 0.23421474 1.5505005 -0.998354 0.98432237 -0.21398884 -0.049463708 0.67481947 -1.122722 0.38240975 0.16645221 0.49245125 0.28916866 2.4553 -0.63773996 -0.530997 -0.6231405 -0.55547714 -0.63738716 1.1890166 1.4205042 -0.5707463 -0.83235556 0.47141555 -0.552223 0.6329318 0.20292301 -1.5157441 1.5475053 1.7958777 -0.6127887 -0.38770157 0.2858654 0.3344568 0.6585443 2.0102046 - -0.17694722 -0.7982972 -1.3793192 -0.73093003 -0.033126973 1.7945578 -0.5176113 0.22378795 -0.016422896 1.1883932 2.5269325 -0.53086877 -0.48943943 1.0441608 0.6818915 1.8467073 0.58392817 -0.3592921 0.59065485 1.1087036 0.8204822 0.50727403 1.0666747 1.1692955 1.382159 0.6487099 -0.16711809 0.14671369 1.206509 -0.81693566 0.3686733 -0.3933388 0.028744822 1.2784519 0.19109906 0.04643655 -1.3598561 0.74625355 0.6454842 2.1632547 - -0.30777824 0.21915033 0.24938369 1.5774533 -0.09529553 0.27902153 0.6078965 0.18660912 -0.4464336 0.19409 1.0736318 -1.0265152 0.13296968 -0.7001208 1.1950467 -1.5231869 -0.5589219 0.37721187 1.565524 -0.06575026 -0.5551995 1.881157 -1.4480139 -2.198806 0.44001445 -0.5020542 -1.0212328 0.70835644 0.24380071 -0.5640786 -1.2803044 0.8724573 0.6502012 -0.09917586 1.846637 -1.0700848 -1.5255252 -0.69190806 -0.045586016 0.24333945 - -0.24123606 0.3520554 -1.2515395 1.4437646 -0.08215118 1.1172959 0.34272534 0.45675322 0.5697673 0.44770855 0.6427228 1.3291526 0.19652116 0.70900375 -0.089735694 1.4401172 -0.6763923 1.8009404 -0.04015795 -1.430775 0.12810442 -0.6810517 0.8406435 -0.65262395 -0.44618344 -1.8895407 -0.45230633 -2.4238794 -1.5839028 0.76041466 0.78580016 0.42545757 -0.96697617 -0.047711357 -0.0036025392 -1.1583647 1.5033983 0.8773623 -0.22096418 0.02688584 - 0.20838282 -2.041735 -0.24717738 -0.68198425 -1.00162 -0.2811003 1.7976866 0.64084285 -0.571179 0.5725828 1.3993554 0.9246337 0.05963037 -0.6469368 0.6982233 0.3934854 0.8951932 0.63517183 1.0495527 -0.5352352 1.317394 0.1975996 2.0752609 -0.6891878 1.7359638 0.19791079 -0.65141803 -0.48388582 -0.3203473 0.42416593 0.5228355 -0.5737 -0.024354592 2.1422703 1.7275431 0.43632367 0.03800348 0.12003133 0.613518 -1.0227926 - -0.25737655 -1.6685841 0.39922312 0.64719594 -0.48318645 1.5739868 -1.2257657 -1.4643749 0.22445183 1.0470983 1.6839277 -0.45888427 1.0786809 -0.03850847 -0.1726273 0.88365996 0.6523229 -1.5763922 1.4765403 1.3800913 -0.6255627 0.39580354 0.49403018 0.26067376 -0.5503051 -0.67162335 -0.02555407 1.172729 0.54360014 -0.37061432 0.7716987 -2.8485427 1.1487657 -1.7397138 -0.36244094 -1.1196699 -1.2946814 1.1608268 -0.4677012 0.34650388 - -0.04692058 0.47704083 0.07682189 -1.2829922 0.99626684 -0.4937566 -1.5565819 -0.42811516 1.5007598 0.85022175 -0.34865212 -0.3492577 -0.32163504 2.076748 0.38193545 0.43004164 1.0302835 0.23878916 -0.25904214 -0.19634984 -0.07160126 -0.037222236 0.72762954 0.051945888 0.7326401 -0.08071658 0.07863519 -1.9982007 0.91632766 0.34648848 0.9980101 -2.8962555 2.0883746 -0.13958962 1.1081828 -1.0399059 0.6127739 -1.0534155 -0.623769 1.9140314 - -0.1906824 0.21743287 0.8700677 0.49568188 0.1504189 0.364961 2.4034157 -0.057618797 0.20109905 1.0506544 1.105526 1.1870303 0.6387302 -1.1430049 1.6334316 -1.1463454 0.30263546 -0.75427586 -0.064138345 0.3287624 0.32135722 0.42192075 1.6137112 0.4535343 -0.24415663 0.9640872 1.1894705 -1.2276078 0.59740007 0.70117277 -0.2975635 1.3757068 -0.15005559 0.12557645 -0.17307183 0.015579048 -1.0962751 -1.4400508 1.5945051 -0.8469613 - -0.9913924 -2.1533902 -0.63896173 -1.3230898 1.6420152 1.0098171 -0.68815035 2.252436 0.9817655 -0.3248314 -2.4994056 2.2909427 -1.3895725 -1.6453987 1.0225705 2.4397523 1.3842728 0.5639091 0.59475434 0.85341555 0.7589286 0.28119144 0.1042011 -0.062593125 -0.7539646 -0.28067508 -1.6929568 -0.098339625 -0.98859113 -1.1035893 0.17989415 1.3920023 0.9183166 -1.5705006 -0.98962814 0.94077116 -0.9824874 -0.22463316 0.5500521 -0.96834445 - 0.105375506 -1.3340255 -0.60136765 0.31978193 -1.5929937 0.44047475 -0.019637799 0.55248994 0.22391413 1.3641404 0.1252245 -0.42940554 0.1222975 0.543298 0.04886007 0.04059169 -0.7019917 -0.6629009 -1.4026053 1.7495767 -1.2438632 -0.6929052 -0.7184073 0.8949244 -0.29494968 1.247742 -0.67349064 0.27899417 -0.83534706 2.1451492 -1.1875985 0.3098207 0.6337769 0.4137991 -0.18528765 -0.1298207 0.04381147 -0.147002 0.9638791 2.210523 - -0.5574918 -1.369803 -0.08828205 2.5797093 -0.8036746 1.6391168 1.6777008 -0.5535883 0.5689831 1.6283966 -0.37912774 -0.20358036 -0.5816809 -1.0147567 -0.64927757 -1.2239403 0.034083467 -0.7699732 0.23378591 -1.5558957 0.33088022 0.83352894 -1.9937357 0.37405658 1.227669 -1.209641 1.6725724 0.419019 -0.70501184 -0.05576908 0.5583269 0.07600539 0.538756 -0.9206736 0.16936083 -1.4137145 -0.11122606 -0.90390766 -0.73552996 1.2360932 - 1.0913101 0.60913813 -1.0923128 -0.31640846 1.2130977 0.14171691 2.3193295 0.39331785 0.19204912 -0.30911645 0.1335409 -0.15246984 0.70810866 0.9567023 -0.78598946 -1.3312329 -1.8362054 0.5079913 -1.1033666 -2.1528907 0.3885786 2.4929996 -0.0060709114 0.8384908 0.08182936 -0.09888966 0.9190765 -0.29027453 0.2673923 0.3216978 -0.66809046 0.99204236 -0.17495976 -0.7557452 0.5365099 -0.89846796 0.028181158 -0.009118997 1.0858955 0.47469825 - -0.025026958 0.8177663 1.3902075 0.5578103 0.01035262 -1.3118362 -1.0651137 -0.30522472 -0.6095122 -0.1869713 0.056649923 0.52969277 -0.07049878 0.48650163 0.06447441 -1.9754666 -0.9393354 -0.14408755 -1.2096947 0.59992874 1.5307509 1.2187618 -0.21344288 1.4907261 0.14866745 -0.33708596 -0.61340266 -0.3024697 -0.38817683 0.17041622 0.16057397 0.0030460202 0.43693817 1.1906463 0.94955415 -1.484898 -2.5539212 0.9343199 -1.3668787 -0.2247654 - -1.170113 -1.8019805 0.5414627 0.75915515 -0.5765104 -2.5910423 -0.54624444 0.391804 -1.4789115 0.18335992 -0.015309849 0.5792915 0.119580366 -0.97306895 1.1965715 -0.15852958 -0.02730454 -0.93326795 -0.44328225 -0.8848027 -0.17294607 1.7117084 -1.3719012 -1.6135614 1.4711703 -0.20932367 -0.66907275 1.0399047 -0.60561556 1.8260098 0.6779259 -0.4879114 2.157308 -0.6057149 0.74209535 0.2992926 1.3017412 1.5615112 0.032004148 -0.75341785] \ No newline at end of file diff --git a/kaldi/test_cases/lstm_nonlin_10_T34_S1_delay3/io.npz b/kaldi/test_cases/lstm_nonlin_10_T34_S1_delay3/io.npz deleted file mode 100644 index 48472cdbe5..0000000000 Binary files a/kaldi/test_cases/lstm_nonlin_10_T34_S1_delay3/io.npz and /dev/null differ diff --git a/kaldi/test_cases/lstm_nonlin_10_T34_S1_delay3/model.raw b/kaldi/test_cases/lstm_nonlin_10_T34_S1_delay3/model.raw deleted file mode 100644 index d49f0025d3..0000000000 Binary files a/kaldi/test_cases/lstm_nonlin_10_T34_S1_delay3/model.raw and /dev/null differ diff --git a/kaldi/test_cases/lstm_nonlin_10_T34_S1_delay3/model.raw.txt b/kaldi/test_cases/lstm_nonlin_10_T34_S1_delay3/model.raw.txt deleted file mode 100644 index 084da965c9..0000000000 --- a/kaldi/test_cases/lstm_nonlin_10_T34_S1_delay3/model.raw.txt +++ /dev/null @@ -1,29 +0,0 @@ - - -input-node name=input dim=40 -component-node name=lstm1 input=Append(input, IfDefined(Offset(lstm1.c, -3))) component=lstm1 -dim-range-node name=lstm1.c input-node=lstm1 dim-offset=0 dim=10 -dim-range-node name=lstm1.m input-node=lstm1 dim-offset=10 dim=10 -output-node name=output input=lstm1.m - - 1 - lstm1 0.75 0.0005 [ - 0.4967141530112327 -0.13826430117118466 0.6476885381006925 1.5230298564080254 -0.23415337472333597 -0.23413695694918055 1.5792128155073915 0.7674347291529088 -0.4694743859349521 0.5425600435859647 - -0.46341769281246226 -0.46572975357025687 0.24196227156603412 -1.913280244657798 -1.7249178325130328 -0.5622875292409727 -1.0128311203344238 0.3142473325952739 -0.9080240755212109 -1.4123037013352915 - 1.465648768921554 -0.22577630048653566 0.06752820468792384 -1.4247481862134568 -0.5443827245251827 0.11092258970986608 -1.1509935774223028 0.37569801834567196 -0.600638689918805 -0.2916937497932768 ] - [ - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 ] - [ - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 ] - [ 0.05 0.05 0.2 0.05 0.2 1e-05 1e-05 1e-05 1e-05 1e-05 ] - [ 0.09288334 0.1117439 0.04945562 0.01552413 0.03755825 ] - 1 - \ No newline at end of file diff --git a/kaldi/test_cases/lstm_nonlin_10_T34_S1_delay3/output.ark b/kaldi/test_cases/lstm_nonlin_10_T34_S1_delay3/output.ark deleted file mode 100644 index 663d901922..0000000000 --- a/kaldi/test_cases/lstm_nonlin_10_T34_S1_delay3/output.ark +++ /dev/null @@ -1,35 +0,0 @@ -idx [ - 0.04653337 -0.1448019 -0.06971277 0.02770022 0.3081737 0.1317196 -0.2131119 -0.02697313 0.0387539 0.1239789 - 0.01190003 0.1993425 -0.1185475 -0.1008791 -0.01173044 -0.322899 0.1262601 0.05994507 0.001507162 -0.013418 - -0.05985349 0.02652804 -0.06270797 0.1552081 -0.1925459 0.3364922 -0.09201974 -0.01519242 0.2598989 -0.3176739 - -0.1876564 -0.1830948 -0.05978427 0.1241795 0.1543273 0.2063073 -0.188729 0.2508529 -0.009249199 0.09766442 - 0.2184125 0.08044348 0.1037492 -0.02356366 -0.06904441 0.1341916 -0.07407203 -0.01522852 -0.08127878 -0.005101969 - -0.05963184 0.1818815 0.007161582 0.07109884 -0.4125748 -0.02171303 -0.07294629 -0.05822695 0.1531536 -0.01653805 - -0.07229653 -0.1960277 -0.353203 0.2064816 0.1751788 -0.1629775 0.1220688 0.1789552 0.1877885 0.1608613 - 0.03820387 -0.01513733 0.05800058 -0.252659 0.156423 -0.01896155 -0.1440153 -0.03139365 0.02433657 -0.1108079 - -0.04570746 0.1930359 0.07051223 0.1082275 -0.1082644 -0.1135651 0.135641 -0.08606219 0.3862352 -0.07779501 - 0.07260946 -0.5510041 -0.1689423 0.3014593 0.2002212 -0.3515336 0.04772391 0.2271536 0.3189578 0.03387916 - 0.04431826 0.0364783 -0.1035007 -0.07161358 -0.1674253 -0.1525402 -0.3153621 -0.1225134 -0.01797018 -0.1674207 - -0.06501073 0.1932905 0.03253124 -0.3394759 0.1509413 0.06683859 -0.2246408 -0.03696142 -0.06940011 -0.2373195 - 0.2575192 -0.2202722 -0.09729312 -0.2595564 -0.01037979 -0.01596362 -0.3208249 0.02865179 0.2655519 -0.113617 - 0.02275234 0.1692 0.001603032 -0.1550219 0.06456681 -0.2829541 -0.008461943 0.05759973 -0.3809912 0.004189135 - 0.08573852 0.02394062 0.2473824 -0.5853829 0.5410756 0.07389814 -0.05717031 0.06184871 0.07785668 -0.445499 - 0.1350076 -0.08090381 -0.08752986 -0.1485088 0.06222121 -0.006891932 -0.01646156 0.01488416 0.01260278 -0.1969269 - -0.07021208 0.1353053 -0.1034882 0.01322957 0.02059502 -0.3060206 0.01359118 -0.473199 0.01383808 -0.1136645 - 0.04249961 -0.078071 0.07730836 -0.6057689 0.266231 0.130852 0.00710706 0.1675291 0.1174396 -0.007547403 - 0.1824881 -0.04863274 -0.01602459 0.1495548 0.1697575 -0.5070254 -0.2949605 -0.07060135 0.02203044 0.01750975 - -0.07869808 -0.1278882 0.2609304 0.02776476 0.08319779 -0.5877799 0.1350233 0.06356474 0.05322966 0.1332176 - -0.00907816 -0.07257796 -0.09056728 -0.6343052 0.1478919 -0.01756768 -0.3623498 0.3522401 -0.1585605 0.1999814 - 0.4159172 0.02323637 0.07393317 0.3022474 0.244288 -0.1381073 -0.0863121 0.020637 0.2454357 -0.3770093 - -0.05172765 0.3097701 -0.2374508 -0.4916409 0.284596 -0.1215861 -0.1251927 0.1579533 0.09241618 -0.1012137 - 0.03140725 -0.3783564 0.02329514 -0.6317158 -0.02058565 -0.1432309 -0.348454 -0.1099108 -0.3483489 0.197943 - 0.6656711 0.0226777 0.2417636 -0.2094939 0.3590362 -0.05507612 -0.4236282 -0.136039 0.1174619 0.0006791054 - -0.2505248 0.01133125 -0.02455154 -0.1435252 -0.02955455 -0.164788 -0.1059666 0.220697 0.1308903 -0.2359047 - -0.01231737 -0.01936768 0.3135647 -0.6103104 0.2873214 -0.1275792 -0.2339888 -0.09436119 0.05852371 0.3150533 - 0.485903 0.2066393 0.3792268 0.07154816 0.08745741 0.2052286 0.03023556 -0.07008607 0.280223 0.1152777 - 0.04804003 0.1761 0.02070624 -0.04530308 -0.1792542 -0.5511296 -0.1947605 0.04557304 -0.1867909 -0.1725403 - -0.05757615 -0.1646119 -0.03242218 -0.54219 0.04358189 0.09764253 -0.2062254 0.006630017 -0.2453554 0.6960073 - 0.2969337 0.1220766 -0.1083566 0.06732906 0.1490541 -0.1007332 0.1733859 -0.003948092 -0.06524157 -0.002366523 - 0.1413807 0.4336594 0.008175282 0.02088617 -0.1708829 -0.1092952 0.1661297 -0.05345304 0.04877469 -0.01761556 - 0.08354964 0.1820677 -0.1141151 -0.3122113 0.08472676 -0.007967599 -0.01931424 -0.08374887 -0.05350992 0.1602737 - 0.09654143 0.09985491 -0.4935334 -0.3437019 0.2893586 -0.1895792 -0.1270028 0.3643513 -0.1005039 0.1369644 ] diff --git a/kaldi/test_cases/lstm_nonlin_10_T34_S1_delay3/subsampling b/kaldi/test_cases/lstm_nonlin_10_T34_S1_delay3/subsampling deleted file mode 100644 index 56a6051ca2..0000000000 --- a/kaldi/test_cases/lstm_nonlin_10_T34_S1_delay3/subsampling +++ /dev/null @@ -1 +0,0 @@ -1 \ No newline at end of file diff --git a/kaldi/test_cases/lstm_nonlin_10_T34_S1_delay3/test.sh b/kaldi/test_cases/lstm_nonlin_10_T34_S1_delay3/test.sh deleted file mode 100644 index 0032637c9a..0000000000 --- a/kaldi/test_cases/lstm_nonlin_10_T34_S1_delay3/test.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -nnet3-compute --frames-per-chunk=35 --frame-subsampling-factor=1 model.raw.txt ark:input.ark ark,t:predicted.ark 2>.error -fail=0 -diff output.ark predicted.ark || fail=1; -rm predicted.ark -echo "fail=$fail" && [ $fail -gt 0 ] && exit 1; diff --git a/kaldi/test_cases/lstm_nonlin_10_T34_S1_delay3/vars.sh b/kaldi/test_cases/lstm_nonlin_10_T34_S1_delay3/vars.sh deleted file mode 100644 index 94c31d31ad..0000000000 --- a/kaldi/test_cases/lstm_nonlin_10_T34_S1_delay3/vars.sh +++ /dev/null @@ -1,4 +0,0 @@ -left_context=0 -right_context=0 -subsampling=1 -adjust_final_offset=0 diff --git a/kaldi/test_cases/lstm_nonlin_15_T42_S3_delay3/input.ark b/kaldi/test_cases/lstm_nonlin_15_T42_S3_delay3/input.ark deleted file mode 100644 index 36144005e9..0000000000 --- a/kaldi/test_cases/lstm_nonlin_15_T42_S3_delay3/input.ark +++ /dev/null @@ -1,43 +0,0 @@ -idx [ - -0.7198442 -0.46063876 1.0571222 0.3436183 -1.7630402 0.32408398 -0.38508227 -0.676922 0.6116763 1.0309995 0.93128014 -0.83921754 -0.3092124 0.33126342 0.9755451 -0.47917423 -0.18565898 -1.1063349 -1.1962066 0.8125258 1.35624 -0.07201012 1.0035329 0.361636 -0.6451197 0.3613956 1.5380366 -0.03582604 1.5646436 -2.619745 0.8219025 0.08704707 -0.29900736 0.09176078 -1.9875689 -0.21967189 0.35711256 1.4778941 -0.5182702 -0.8084936 -0.501757 0.9154021 0.32875112 -0.5297602 0.51326746 0.09707755 0.968645 -0.70205307 -0.32766214 -0.39210814 -1.4635149 0.2961203 0.26105526 0.005113457 -0.23458713 -1.4153707 -0.42064533 -0.34271452 -0.80227727 -0.16128571 - 0.40405086 1.8861859 0.17457782 0.2575504 -0.07444592 -1.9187713 -0.026513875 0.06023021 2.463242 -0.19236097 0.30154735 -0.03471177 -1.168678 1.1428229 0.75193304 0.79103196 -0.90938747 1.4027944 -1.401851 0.5868571 2.1904557 -0.99053633 -0.5662977 0.09965137 -0.50347567 -1.5506635 0.06856298 -1.0623037 0.47359243 -0.91942424 1.5499344 -0.7832533 -0.3220615 0.8135172 -1.2308643 0.22745994 1.3071427 -1.6074833 0.18463387 0.2598828 0.78182286 -1.2369508 -1.3204566 0.52194154 0.29698467 0.25049284 0.3464482 -0.68002474 0.2322537 0.29307246 -0.7143514 1.8657745 0.47383294 -1.1913035 0.6565536 -0.9746817 0.7870846 1.1585956 -0.82068235 0.9633761 - 0.41278094 0.82206017 1.896793 -0.24538812 -0.75373614 -0.88951445 -0.81581026 -0.07710171 0.34115198 0.2766908 0.82718325 0.013001892 1.4535341 -0.26465684 2.720169 0.62566733 -0.8571575 -1.0708925 0.48247242 -0.22346279 0.7140005 0.47323763 -0.07282891 -0.8467937 -1.5148473 -0.44651496 0.8563988 0.21409374 -1.2457387 0.17318092 0.3853174 -0.8838574 0.1537251 0.05820872 -1.1429703 0.35778737 0.5607845 1.0830512 1.053802 -1.3776693 -0.937825 0.5150353 0.51378596 0.51504767 3.8527315 0.5708905 1.1355656 0.9540018 0.65139127 -0.31526923 0.75896925 -0.77282524 -0.23681861 -0.48536354 0.08187414 2.3146586 -1.8672652 0.68626016 -1.6127158 -0.47193187 - 1.0889506 0.06428002 -1.0777447 -0.7153037 0.67959774 -0.73036665 0.21645859 0.04557184 -0.65160036 2.143944 0.633919 -2.0251427 0.18645431 -0.66178644 0.8524333 -0.79252076 -0.11473644 0.5049873 0.8657552 -1.2002964 -0.33450124 -0.4749453 -0.65332925 1.7654543 0.4049817 -1.2608839 0.91786194 2.1221561 1.0324652 -1.51937 -0.48423406 1.2669111 -0.70766944 0.44381943 0.77463406 -0.9269305 -0.059525356 -3.2412674 -1.0243876 -0.25256816 -1.2477832 1.6324114 -1.4301413 -0.4400445 0.13074058 1.4412733 -1.4358622 1.1631638 0.010233061 -0.9815087 0.4621035 0.1990597 -0.60021687 0.06980208 -0.3853136 0.113517344 0.66213065 1.5860168 -1.2378155 2.1330333 - -1.9520878 -0.15178509 0.5883172 0.28099188 -0.6226995 -0.20812225 -0.49300092 -0.58936477 0.8496021 0.3570155 -0.6929096 0.89959985 0.30729952 0.8128621 0.62962884 -0.828995 -0.560181 0.7472936 0.6103703 -0.020901594 0.117327385 1.2776649 -0.5915714 0.5470974 -0.20219265 -0.2176812 1.0987768 0.8254163 0.81350964 1.3054788 0.021003842 0.68195295 -0.31026676 0.32416636 -0.13014306 0.096995965 0.595157 -0.8182207 2.0923872 -1.0060173 -1.2141886 1.1581109 0.7916627 0.6241198 0.6283455 -0.012246773 -0.89725435 0.07580456 -0.6771617 0.9751197 -0.14705738 -0.8254972 -0.32138583 0.41293144 -0.5637246 -0.8222204 0.24368721 0.24496657 -0.50694317 -0.4710383 - 0.23204994 -1.4480844 -1.4074638 -0.7184442 -0.21344715 0.31090757 1.4753562 0.85765964 -0.15993853 -0.019016208 -1.0025294 -0.018513136 -0.28865865 0.32271856 -0.82723093 0.51934654 1.5327389 -0.10876015 0.40171173 0.690144 -0.40122047 0.22409248 0.0125924 0.0976761 -0.7730098 0.024510175 0.4979983 1.4511436 0.95927083 2.1531825 -0.7673476 0.87232065 0.18334201 2.189803 -0.8082983 -0.83972186 -0.59939265 -2.1238956 -0.52575505 -0.7591327 0.15039378 0.341756 1.8761709 0.95042384 -0.57690364 -0.8984147 0.49191916 -1.3202332 1.8314588 1.1794401 -0.46917567 -1.7131345 1.3538724 -0.11453985 1.2378163 -1.5944277 -0.599375 0.0052436995 0.046980593 -0.45006546 - 0.62284994 -1.0676204 -0.14237948 0.12029563 0.5144388 0.7116149 -1.1246421 -1.5341141 1.2776768 0.332314 -0.7484865 1.551152 0.11567464 1.1792972 0.06751848 2.0607479 1.7553408 -0.24896415 0.97157097 0.64537597 1.3686316 -0.96492344 0.6860515 1.0584245 -1.7587395 -1.1832585 -2.0392323 -0.26940683 0.71754223 1.502357 0.07409478 1.6286155 -1.3801014 -1.7033825 -0.0555477 0.38406545 -0.03269475 -2.0674422 -0.08912004 -1.3044695 0.66967255 0.36659825 -0.9398798 -0.5138669 -1.0592135 -0.0626791 0.9551423 -0.98572606 0.5040465 -0.53025764 -0.79287285 -0.10703036 -1.0352423 -0.5536493 -1.1978779 1.9647251 0.035263553 -0.6997255 0.21397991 -0.11232805 - -0.2209696 0.6141667 0.7575077 -0.5305011 -0.57581824 -0.27505168 -2.3019211 -1.5151911 1.3668742 1.6449677 -0.24903604 0.576557 0.31125015 3.0788808 1.1195749 -0.12791759 -0.9555404 -1.6064463 0.20346363 -0.75635076 -1.4222537 -0.6465729 -1.081548 1.6871417 0.8816398 -0.007972641 1.4799441 0.077368304 -0.8612842 1.5231241 0.53891003 -1.0372461 -0.19033867 -0.8756183 -1.3827997 0.92617756 1.9094167 -1.3985676 0.5629692 -0.6506426 -0.4871254 -0.59239393 -0.8639908 0.048521627 -0.83095014 0.27045682 -0.05023811 -0.23894805 -0.9075637 -0.5767713 0.75539124 0.5009172 -0.9775552 0.0993323 0.7513871 -1.6694052 0.5433602 -0.66262376 0.57059866 -0.7632592 - -1.804882 -1.6275425 0.04808495 0.2597225 -0.9043166 0.6385925 -1.66152 -0.066079795 -1.2110162 -0.6518361 0.04739867 -0.8604134 -0.38455555 1.0062928 -0.5768919 0.8356921 -1.1297069 0.52980417 1.4415686 -2.4716444 -0.79689527 0.57707214 -0.20304538 0.37114587 -0.6039852 0.08658979 -0.15567723 1.1677821 0.25442085 0.33760267 -0.41187698 -0.48760623 -0.43255818 0.39445215 -0.42098448 0.28977486 2.0754008 0.8711247 -0.32602352 1.201214 -0.40807536 -2.0381246 -1.0080863 -1.8707919 -0.35151348 0.01841838 1.6764373 0.32692736 -0.21910053 0.8294056 -2.2111354 0.23561455 0.7708652 -1.4785862 1.143754 0.33849642 -0.4152879 0.63278186 2.2706928 0.18186626 - 0.2482206 -0.4593609 -0.8498444 0.8303358 -0.8560838 0.07156624 -0.47765744 0.47897983 0.3336621 1.03754 -0.5100164 -0.26987493 -0.9787637 -0.44429326 0.3773005 0.75698864 -0.92216533 0.8696059 1.3556379 0.4134349 1.8767958 -0.7737892 -1.2446547 -1.7787203 1.4960443 0.65436566 -0.05558467 0.27996862 -1.125489 2.445752 0.12922119 0.109394796 0.7257666 0.48100924 0.22388403 -0.7904745 0.47146836 1.8820245 1.34542 1.5931866 -0.5112157 -0.98960483 -0.12578692 0.05572491 1.0941916 -1.6924646 1.5295503 -0.1580079 -0.42688107 -1.0121044 -1.6548567 0.8231706 0.07331797 -1.2899609 -1.2950788 -0.3357847 1.6690215 -0.25959134 -1.503143 -0.24574307 - -0.27272356 -2.6968865 -0.054294866 -0.23093453 0.6962064 1.8489561 1.126565 -0.26888868 -1.1065259 2.5733597 0.059218433 0.013929292 -0.024125088 0.19808476 -0.14436041 -0.573662 -0.54685897 -0.03275327 -0.5434248 -0.7128458 0.106430225 -0.25497723 1.503993 -2.6509697 1.0915068 1.2460852 -2.0733902 -0.3426876 -0.37144086 -1.4075117 -0.7778167 -1.1105758 1.7522705 0.9356784 1.2715551 0.72167206 -1.1290518 -0.5245203 0.48937455 -1.2221278 0.71299845 -0.24032539 -0.3748208 0.71096 0.4442633 -0.36096618 1.1593298 -1.0810633 0.6159356 0.59310126 -0.30954644 0.326133 -1.2511135 0.924027 -0.18490213 -0.522723 1.0490092 -0.7043437 -1.4084613 -1.5566292 - 0.60600996 -1.2804294 1.7547942 -2.0819294 1.6964563 0.21101747 -0.09671311 -0.5449191 0.39913613 -0.037634704 1.1033019 0.114227645 0.15030175 -0.3636122 -0.056945622 0.30780178 -1.7101684 -1.3481854 0.7432641 0.17086543 -0.18398334 0.018433932 0.3475817 -0.5397597 -0.7783047 0.19584526 -0.97837275 0.40825275 -1.7025836 1.0291556 0.47259748 0.25602973 0.982691 1.6654744 1.0143701 -1.8408742 -1.279577 -0.62481856 0.02609105 0.517659 -0.72574383 0.18676676 -0.75538296 -0.6115178 -1.4066612 -0.9232333 -1.3516846 -0.97587323 1.0536418 -0.9493989 2.6323822 0.4933179 0.18483612 -0.8583578 0.7003099 -0.5756378 0.122009814 2.5600846 -0.096059896 1.1492733 - -0.70317644 -0.03498849 1.7708006 -0.6269671 1.8124485 0.7077519 -0.5624668 0.6324077 0.97255445 0.62180996 -1.5702248 -0.72713715 -0.24751863 -0.07443343 0.6206721 0.177701 -1.3353443 0.38019785 0.61058575 0.55979043 1.0807807 0.83392215 0.4591801 -0.07016571 -1.6609609 0.4296182 0.20768769 0.27157885 -1.2767485 -1.0810566 1.0531528 -0.039555155 0.6815007 0.028318375 0.02975614 0.9382838 -0.51604474 0.096120775 -0.4622753 -0.43449622 -0.30917212 0.22213377 -0.47874862 1.2557561 -0.8946073 -0.18687165 -0.43973106 1.4469779 0.19655478 1.0318445 -1.4855604 0.26705027 0.8896308 0.08228399 1.0654804 -0.51728845 1.4093474 2.2988982 -0.36283857 -0.44550252 - 1.4533845 1.5795722 -0.52286005 -0.42018682 -0.2817846 -1.3444505 -0.91865194 -1.0041407 -0.7677976 -0.03468489 0.23421474 1.5505005 -0.998354 0.98432237 -0.21398884 -0.049463708 0.67481947 -1.122722 0.38240975 0.16645221 0.49245125 0.28916866 2.4553 -0.63773996 -0.530997 -0.6231405 -0.55547714 -0.63738716 1.1890166 1.4205042 -0.5707463 -0.83235556 0.47141555 -0.552223 0.6329318 0.20292301 -1.5157441 1.5475053 1.7958777 -0.6127887 -0.38770157 0.2858654 0.3344568 0.6585443 2.0102046 -0.17694722 -0.7982972 -1.3793192 -0.73093003 -0.033126973 1.7945578 -0.5176113 0.22378795 -0.016422896 1.1883932 2.5269325 -0.53086877 -0.48943943 1.0441608 0.6818915 - 1.8467073 0.58392817 -0.3592921 0.59065485 1.1087036 0.8204822 0.50727403 1.0666747 1.1692955 1.382159 0.6487099 -0.16711809 0.14671369 1.206509 -0.81693566 0.3686733 -0.3933388 0.028744822 1.2784519 0.19109906 0.04643655 -1.3598561 0.74625355 0.6454842 2.1632547 -0.30777824 0.21915033 0.24938369 1.5774533 -0.09529553 0.27902153 0.6078965 0.18660912 -0.4464336 0.19409 1.0736318 -1.0265152 0.13296968 -0.7001208 1.1950467 -1.5231869 -0.5589219 0.37721187 1.565524 -0.06575026 -0.5551995 1.881157 -1.4480139 -2.198806 0.44001445 -0.5020542 -1.0212328 0.70835644 0.24380071 -0.5640786 -1.2803044 0.8724573 0.6502012 -0.09917586 1.846637 - -1.0700848 -1.5255252 -0.69190806 -0.045586016 0.24333945 -0.24123606 0.3520554 -1.2515395 1.4437646 -0.08215118 1.1172959 0.34272534 0.45675322 0.5697673 0.44770855 0.6427228 1.3291526 0.19652116 0.70900375 -0.089735694 1.4401172 -0.6763923 1.8009404 -0.04015795 -1.430775 0.12810442 -0.6810517 0.8406435 -0.65262395 -0.44618344 -1.8895407 -0.45230633 -2.4238794 -1.5839028 0.76041466 0.78580016 0.42545757 -0.96697617 -0.047711357 -0.0036025392 -1.1583647 1.5033983 0.8773623 -0.22096418 0.02688584 0.20838282 -2.041735 -0.24717738 -0.68198425 -1.00162 -0.2811003 1.7976866 0.64084285 -0.571179 0.5725828 1.3993554 0.9246337 0.05963037 -0.6469368 0.6982233 - 0.3934854 0.8951932 0.63517183 1.0495527 -0.5352352 1.317394 0.1975996 2.0752609 -0.6891878 1.7359638 0.19791079 -0.65141803 -0.48388582 -0.3203473 0.42416593 0.5228355 -0.5737 -0.024354592 2.1422703 1.7275431 0.43632367 0.03800348 0.12003133 0.613518 -1.0227926 -0.25737655 -1.6685841 0.39922312 0.64719594 -0.48318645 1.5739868 -1.2257657 -1.4643749 0.22445183 1.0470983 1.6839277 -0.45888427 1.0786809 -0.03850847 -0.1726273 0.88365996 0.6523229 -1.5763922 1.4765403 1.3800913 -0.6255627 0.39580354 0.49403018 0.26067376 -0.5503051 -0.67162335 -0.02555407 1.172729 0.54360014 -0.37061432 0.7716987 -2.8485427 1.1487657 -1.7397138 -0.36244094 - -1.1196699 -1.2946814 1.1608268 -0.4677012 0.34650388 -0.04692058 0.47704083 0.07682189 -1.2829922 0.99626684 -0.4937566 -1.5565819 -0.42811516 1.5007598 0.85022175 -0.34865212 -0.3492577 -0.32163504 2.076748 0.38193545 0.43004164 1.0302835 0.23878916 -0.25904214 -0.19634984 -0.07160126 -0.037222236 0.72762954 0.051945888 0.7326401 -0.08071658 0.07863519 -1.9982007 0.91632766 0.34648848 0.9980101 -2.8962555 2.0883746 -0.13958962 1.1081828 -1.0399059 0.6127739 -1.0534155 -0.623769 1.9140314 -0.1906824 0.21743287 0.8700677 0.49568188 0.1504189 0.364961 2.4034157 -0.057618797 0.20109905 1.0506544 1.105526 1.1870303 0.6387302 -1.1430049 1.6334316 - -1.1463454 0.30263546 -0.75427586 -0.064138345 0.3287624 0.32135722 0.42192075 1.6137112 0.4535343 -0.24415663 0.9640872 1.1894705 -1.2276078 0.59740007 0.70117277 -0.2975635 1.3757068 -0.15005559 0.12557645 -0.17307183 0.015579048 -1.0962751 -1.4400508 1.5945051 -0.8469613 -0.9913924 -2.1533902 -0.63896173 -1.3230898 1.6420152 1.0098171 -0.68815035 2.252436 0.9817655 -0.3248314 -2.4994056 2.2909427 -1.3895725 -1.6453987 1.0225705 2.4397523 1.3842728 0.5639091 0.59475434 0.85341555 0.7589286 0.28119144 0.1042011 -0.062593125 -0.7539646 -0.28067508 -1.6929568 -0.098339625 -0.98859113 -1.1035893 0.17989415 1.3920023 0.9183166 -1.5705006 -0.98962814 - 0.94077116 -0.9824874 -0.22463316 0.5500521 -0.96834445 0.105375506 -1.3340255 -0.60136765 0.31978193 -1.5929937 0.44047475 -0.019637799 0.55248994 0.22391413 1.3641404 0.1252245 -0.42940554 0.1222975 0.543298 0.04886007 0.04059169 -0.7019917 -0.6629009 -1.4026053 1.7495767 -1.2438632 -0.6929052 -0.7184073 0.8949244 -0.29494968 1.247742 -0.67349064 0.27899417 -0.83534706 2.1451492 -1.1875985 0.3098207 0.6337769 0.4137991 -0.18528765 -0.1298207 0.04381147 -0.147002 0.9638791 2.210523 -0.5574918 -1.369803 -0.08828205 2.5797093 -0.8036746 1.6391168 1.6777008 -0.5535883 0.5689831 1.6283966 -0.37912774 -0.20358036 -0.5816809 -1.0147567 -0.64927757 - -1.2239403 0.034083467 -0.7699732 0.23378591 -1.5558957 0.33088022 0.83352894 -1.9937357 0.37405658 1.227669 -1.209641 1.6725724 0.419019 -0.70501184 -0.05576908 0.5583269 0.07600539 0.538756 -0.9206736 0.16936083 -1.4137145 -0.11122606 -0.90390766 -0.73552996 1.2360932 1.0913101 0.60913813 -1.0923128 -0.31640846 1.2130977 0.14171691 2.3193295 0.39331785 0.19204912 -0.30911645 0.1335409 -0.15246984 0.70810866 0.9567023 -0.78598946 -1.3312329 -1.8362054 0.5079913 -1.1033666 -2.1528907 0.3885786 2.4929996 -0.0060709114 0.8384908 0.08182936 -0.09888966 0.9190765 -0.29027453 0.2673923 0.3216978 -0.66809046 0.99204236 -0.17495976 -0.7557452 0.5365099 - -0.89846796 0.028181158 -0.009118997 1.0858955 0.47469825 -0.025026958 0.8177663 1.3902075 0.5578103 0.01035262 -1.3118362 -1.0651137 -0.30522472 -0.6095122 -0.1869713 0.056649923 0.52969277 -0.07049878 0.48650163 0.06447441 -1.9754666 -0.9393354 -0.14408755 -1.2096947 0.59992874 1.5307509 1.2187618 -0.21344288 1.4907261 0.14866745 -0.33708596 -0.61340266 -0.3024697 -0.38817683 0.17041622 0.16057397 0.0030460202 0.43693817 1.1906463 0.94955415 -1.484898 -2.5539212 0.9343199 -1.3668787 -0.2247654 -1.170113 -1.8019805 0.5414627 0.75915515 -0.5765104 -2.5910423 -0.54624444 0.391804 -1.4789115 0.18335992 -0.015309849 0.5792915 0.119580366 -0.97306895 1.1965715 - -0.15852958 -0.02730454 -0.93326795 -0.44328225 -0.8848027 -0.17294607 1.7117084 -1.3719012 -1.6135614 1.4711703 -0.20932367 -0.66907275 1.0399047 -0.60561556 1.8260098 0.6779259 -0.4879114 2.157308 -0.6057149 0.74209535 0.2992926 1.3017412 1.5615112 0.032004148 -0.75341785 0.45997214 -0.67771536 2.0133872 0.13653533 -0.36532155 0.18468031 -1.3471262 -0.97161406 1.200414 -0.65689427 -1.046911 0.53665274 1.1857041 0.7189533 0.9960477 -0.7567951 -1.4218106 1.5013336 -0.32267985 -0.250833 1.3281941 0.55623 0.45588776 2.1650023 -0.6435182 0.9278401 0.057013124 0.26859227 1.5284684 0.50783575 0.5382961 1.0725074 -0.36495274 -0.8392097 -1.0448092 - -1.9663566 2.0562072 -1.1032084 -0.22125362 -0.2768133 0.3074067 0.8157372 0.8604735 -0.58307743 -0.16712171 0.28257996 -0.24869113 1.6073456 0.49097496 0.73487777 0.66288126 1.1734738 0.18102156 -1.296832 0.39968795 -0.6513569 -0.52861667 0.58636403 1.238283 0.021271577 0.308833 1.702215 0.24075317 2.6016831 0.5655096 -1.7607628 0.7533416 0.38115838 1.2897527 0.67318135 -0.13845599 -1.2242982 -0.20902325 -0.85052043 -0.58052343 0.5885784 1.6699045 0.39467153 -1.195883 0.44460267 1.1966314 -0.6097829 -0.13401717 0.014688195 -0.78489834 0.64828044 -0.12094815 0.41953245 -0.8874922 -0.4374583 0.72238135 -0.37283316 1.7269639 -0.39963618 0.22468473 - 0.93259084 -1.4183657 -1.7608088 -1.5256563 1.2625841 -0.5518581 2.5581992 -0.5642476 0.1845513 1.54211 2.0060928 2.0615036 1.2083663 1.0240625 0.592527 0.7783611 -0.5511857 -0.81819886 -0.0033744574 -0.17018463 -0.45322806 0.69638747 0.9553052 0.08840688 1.4775301 -1.1416891 -0.19365945 -0.7168223 -1.8665366 -0.08268069 -0.12174751 1.5134498 0.6308117 -1.0241868 1.8540926 1.2210337 0.5820977 -0.2264841 -0.9594392 -0.37220678 1.0887486 1.8845863 1.5432435 -0.48884943 -1.1196175 0.14088625 -1.7684394 0.3231677 -0.14760259 -0.4660365 -1.5947031 0.5136001 -0.53270084 -1.1699169 -2.8722622 -0.027514905 1.7722516 1.6612592 -0.45709625 -0.6022121 - 0.46877426 -0.9983854 0.3017919 0.76608026 1.2269332 -0.10015408 -0.20367375 -0.8779826 -0.82688034 -0.22647889 0.3673655 0.91358465 -0.80317897 1.4926885 -0.2711236 -0.021367295 -0.7472117 -2.4242404 0.8840454 0.7368439 -0.28132755 0.06699072 0.51593924 -1.5625459 -0.5290527 0.7942647 -1.2542894 0.29355794 -1.3565818 0.46642998 -0.035641484 -1.6151319 1.1647394 -0.7345916 -0.8102524 0.2005692 1.1486373 -1.0158218 0.06167985 0.4288165 0.6931056 0.17644155 -0.36702785 -0.8275902 0.08614388 -1.072139 -2.9213505 0.4365598 0.90393484 -2.3629324 -1.0097307 0.6191543 2.0574954 0.020793708 -0.72800297 -0.18289644 1.3748764 -0.6459642 -0.799192 -0.48274353 - -0.9533286 0.122670315 1.6246785 0.3230793 -0.2523535 -0.29181126 -1.5631908 0.88310975 -0.0778372 -0.18047991 3.1931076 0.2987529 -0.75179106 -0.4263576 1.1484457 0.11327041 -1.438278 0.9192289 -0.6681441 1.8732978 1.0800481 -0.4473219 1.2810163 0.06785551 0.85277367 0.4847328 -0.84635663 -0.64354986 1.0299609 -0.33477533 -0.40364847 -0.9551226 0.42359906 2.062525 -1.0675329 0.024219457 1.4122206 -0.079641394 0.4523718 -1.0623935 0.4283071 -0.18714426 0.98573 1.187386 2.5895636 0.5796332 0.3257963 0.1943843 -0.35316628 0.33848384 -0.29540142 0.16846098 1.3175975 -1.0065426 1.1398785 1.3171151 -0.11806852 -2.1218548 -0.607822 1.2969946 - -0.022868061 -0.9993022 -0.5047749 0.84062004 0.54673356 -0.2389321 -0.36682442 -0.39175814 -0.9224102 1.6153756 -0.32232046 1.2171586 1.521316 0.9983109 -0.4316203 0.4037301 -0.024195606 -0.90370184 0.32435927 -1.1790398 1.1876794 -0.4646173 0.20115966 0.28328788 -0.25890496 0.5866938 -0.47490364 0.8712973 -1.3459797 0.12637958 1.938929 -1.0003313 -0.677745 0.51390785 0.17958178 0.3506301 0.48918712 0.63472146 1.1096998 0.40981865 -0.24125765 0.6725737 1.899882 -0.13263375 -0.9745293 1.1070807 -0.12038116 -2.1726696 0.8474217 -0.5353282 -0.09053328 0.33198032 0.19049968 0.7094518 -0.43548638 0.5131058 -0.25954667 0.7388105 0.6153675 -0.9354387 - 1.0859821 -0.5359634 0.8080578 0.3672873 1.8381836 -0.22346598 -0.3493168 -0.019419607 -0.30317977 0.7999419 -1.6163106 -1.0536824 -1.0678029 0.9503076 1.7106134 -0.10444922 -0.16882172 0.07005216 1.1618783 -0.92735314 0.23836899 0.9751976 0.50109416 0.18958162 1.0010461 -2.7032323 0.67787534 -0.6540757 -1.8306329 0.5112026 1.3736585 -0.13744852 0.95287454 1.6122782 1.3149145 1.6399646 0.7421275 0.07543364 -1.6019658 -0.24606249 -0.8432466 2.1709428 -0.17588581 0.123204805 0.55148536 0.043602448 1.6950511 -0.6226494 0.19460745 -0.74247056 -1.3200225 -0.6117691 -0.0370368 -0.42930222 -0.69242096 -1.4063175 -0.08310557 -1.5047203 0.76005596 0.08243975 - -1.4575515 -0.30920908 -0.7521564 0.3191745 1.3404504 -1.8751725 0.11502608 -0.1601328 0.67134005 0.21319664 -0.75196934 -0.31905395 -0.7960259 1.0760071 0.021311648 1.9011906 -0.060660813 -0.70840675 -1.5137144 -1.8031397 -1.5841359 0.26712665 0.50872505 -1.5811907 0.8950383 -0.48306105 0.14679301 1.6122206 0.8968393 -0.26853064 -0.8911922 -2.1518154 -0.71915334 -0.21113023 -0.9871795 -0.13125697 0.07685188 -0.22485599 -0.6500026 0.16865467 0.44194064 -1.090399 1.4109324 -0.09858813 0.018849622 0.7082144 0.23321614 0.9531366 0.28712416 -0.61243737 0.3615035 -1.1437262 0.108559705 -0.03322999 -0.20811686 -0.1285375 -1.881849 -0.5487249 0.0928449 0.1598564 - -1.0276752 1.2657079 -0.8661749 0.9694572 0.42719436 -0.6462273 1.7753109 -1.1936368 0.91915417 1.0005823 -0.6706202 1.3924654 -0.25004652 0.28869364 0.26032183 -0.13430874 0.8108083 0.79348874 -1.7485319 1.3043402 -1.662492 1.0325462 1.1267052 -1.0909665 -0.4108143 -1.1057047 -0.21492103 -0.30803427 0.7796605 1.3103087 1.3956838 -0.562168 -0.20922187 -1.6834382 -0.80587006 0.9648516 1.6155828 -1.2343489 -0.59246427 -0.026405757 0.28016117 -0.8096035 0.42406103 -0.47383934 -0.014452271 0.54628426 0.0064222696 -0.4363859 -0.109609805 -0.08836296 -0.37001103 -0.25879607 1.5986471 0.56091946 -0.2954803 0.6969544 -0.33381948 1.1731247 0.3696422 -0.107302144 - 0.44771692 -1.5708761 -1.1267675 -1.193925 0.1429431 1.732515 2.2313 0.6380511 0.5008445 -1.8010577 -0.5426738 -0.78778374 -0.6208476 -0.16814382 -0.47209057 -1.9792998 0.74791026 -1.072743 0.23924686 2.0740826 -0.9193846 -2.5302875 -0.28600422 1.1009597 1.9583474 -1.2295496 0.4966992 -0.46531045 -0.10594835 2.6443434 -1.5029703 0.25373966 0.46769318 1.0857863 0.09798315 0.30805054 -0.39164856 0.26912695 -0.34319228 0.6215719 -0.36961034 0.3771004 -0.029262813 1.1260502 -0.051393725 -1.7730324 1.2619215 -0.9057323 -0.65376633 -0.5956613 1.374438 -2.1356742 3.1377485 1.0560569 0.22323892 -0.054894 0.28555408 0.52112246 0.6452156 0.55560446 - 0.089580685 -0.19733842 -0.15127328 -0.19490828 1.1337701 0.5935567 -2.9403887 0.6559008 0.1947362 -0.018708756 -0.38851845 1.1241127 0.94752645 -0.7728777 0.40705228 -0.97165674 -1.3796182 -0.6267172 0.8623935 0.95312506 0.5130854 0.7250958 0.5161783 -0.6414816 0.43192255 0.8004095 0.75429136 1.1889133 0.70830387 0.3514482 1.0701503 -0.02652126 -0.8818747 -0.16306697 -0.7449027 -0.6751783 -0.14451867 -0.7924199 -0.30796152 -1.8936146 0.2132937 0.0012054754 -0.8170886 0.65924567 0.93757015 -1.6075599 -0.76272476 -0.7691423 -0.9399031 0.82947487 -0.19382614 -0.26451483 -2.0038624 0.63541806 -1.2392584 0.05993263 0.27737695 1.3606586 -1.3088204 -3.0195122 - 0.18384954 1.8005112 1.2389463 0.20965941 -0.4916362 0.8071226 -0.9735462 0.47635776 0.50547016 1.0602099 2.75966 0.39241597 -0.50896364 -0.025574312 -1.7690759 -0.6947131 -0.40928245 -0.5240884 0.15235487 -0.82241994 1.1210307 0.00020706492 -0.009300321 -0.32789472 0.15519068 0.8250983 -0.8671302 -0.65811646 -0.30372602 -1.345871 -0.81925786 -0.47622088 0.8743892 0.26256132 0.19358991 0.85089797 -0.1373718 0.39046484 -0.10322175 0.26536235 -0.58275867 -2.4388173 -0.13427916 1.4227481 0.9262154 0.9653975 1.2361307 0.08865759 0.19731571 -0.6176519 -0.31607285 0.6157712 1.2038845 -0.13944627 -0.45018926 0.00052795885 0.6012067 -1.4438548 -2.296181 -0.5505369 - -1.2207124 -0.5081402 -0.14778031 -0.4532484 1.4524676 0.32674477 0.30047435 0.62220716 -1.1388332 1.0391117 -0.07576428 0.6704806 -1.0718572 -1.5537587 0.81788963 0.37640953 -0.90205157 -0.86966306 1.1254348 -1.1894119 1.6426729 -0.90062076 0.6383919 -0.32861847 0.60318744 -0.544114 -0.1627929 0.040919177 -1.0021875 0.74082434 -0.5132136 -0.22859992 -0.99434936 -2.5623336 -0.19102776 2.4126155 0.7846043 -0.01926038 -0.26289082 0.022465892 0.54711914 -1.1808128 1.1143217 0.7153813 0.7181857 0.43847573 0.019616658 0.6728612 0.59181416 -0.3540407 -0.5736018 0.1018563 1.5490202 -1.2391071 -1.4675252 0.16476084 0.0508877 0.17334166 0.2439532 -0.22320226 - 1.4898634 -1.600904 -0.82849705 -0.10325476 -1.6431888 -0.1758544 1.6614702 0.020886488 0.23070091 -1.2601647 -0.6163614 -0.37519637 -0.3177151 1.2816437 0.55769104 -1.111458 0.24650478 0.49822176 1.140149 1.5805407 -1.0150942 -0.81085753 -1.2575779 -0.23401986 0.46635836 0.9873345 -0.075951025 -0.31984752 0.15175799 -0.8351429 2.0895388 -1.607661 0.18474057 2.0236063 0.0067998446 -0.19003904 -0.35744542 -0.18039168 1.3728485 -2.2118618 1.5334337 -1.4239571 -0.26665232 -0.42924443 0.58855325 -1.5981244 0.46217266 2.0243096 -1.363174 0.18970616 -0.6619822 0.4258872 0.019147778 -0.6414869 0.48787227 1.8043481 -0.1909038 0.7197579 -1.293273 -0.9564364 - 0.47240627 1.4841161 0.35561335 -0.31305802 -0.00070859457 -1.2504077 0.6045153 0.88233304 -0.45209032 -0.47004214 0.26587823 -0.43671975 -0.06613261 2.0997217 -0.2470257 -0.35834014 -0.6475418 0.74419194 -0.18122417 -0.64937305 1.3213041 1.419603 -0.6004236 -1.86654 1.0075136 -0.6846298 0.7906256 -1.9701039 0.8925973 -1.211172 0.7307641 0.014273068 -0.95393944 -0.4070363 0.68631846 0.105894454 0.584413 1.9764405 -1.5642416 1.6172125 0.10435594 -0.89878404 -1.3303137 -0.1891204 0.9216501 -0.12754913 1.5111549 -1.4511757 -0.012088948 -1.2523935 0.36363187 0.8868874 -0.4207618 -2.604214 0.19894814 0.43673855 0.40429476 1.2357821 -1.0710536 0.68021613 - 1.1925075 -1.7785876 0.3196518 -0.50417984 -0.08152267 0.3476765 -0.48722857 -0.67570806 0.03415242 -1.087246 -1.0858251 0.67937326 -1.148794 0.6663125 0.4625913 -1.7258067 -0.6775647 1.1941094 -0.9811655 -0.46440426 0.4620609 0.7833905 -0.25153887 -0.5975102 1.4223698 1.7388997 0.97885805 0.08531814 -0.80826575 -0.8304444 0.5225141 0.41839823 1.4015986 0.6504501 -1.5030802 1.0519476 -0.99806064 -0.38397127 0.2502002 1.9956675 3.1099186 0.60672307 -0.18319662 0.53450567 0.88765544 -0.32066762 1.7952113 0.23007075 0.4977431 0.66592425 0.4215866 0.8389405 -0.6172532 -0.55830175 -1.1001543 0.43950123 0.7789365 0.45777288 1.6744925 -0.005596019 - 0.66874164 -1.0917009 -0.3870997 0.69553775 0.84910214 -0.29396695 -0.07159925 -1.5178738 -0.3570292 0.8903832 0.575205 0.5006657 0.049773686 0.007063159 -0.6603211 0.6988284 0.42097294 0.49201885 -0.52603483 -2.153343 1.0971527 -0.47883746 -0.86277574 0.6934789 -0.39201263 1.0599364 0.61700594 0.6835693 -1.3659557 1.211944 0.26125053 -0.36927715 0.14338847 -1.7762352 0.4086528 -1.0293715 -1.3526703 -1.5223591 1.1126884 -0.6292634 1.5337278 -0.5358015 -1.707358 -1.1165245 1.2358116 -0.15589818 -0.5482873 0.16001822 0.5017827 1.1173989 1.4484992 -0.35976866 -1.3260477 -0.41346517 0.26028052 -0.96375895 -0.95715094 0.34378788 -0.04865235 0.032796994 - -0.75849533 -0.23040071 -0.92423314 0.8901984 1.0352494 -1.8461878 -0.92951083 -1.4965292 -0.65002394 -0.08343797 -1.4496452 -0.9218598 -1.0039574 0.20726733 0.069344334 -0.72173756 0.17682087 -0.5466801 -0.2716551 1.6734521 1.340461 -1.2995813 0.8297324 0.81139654 -1.1482633 0.8187776 1.5379319 -1.1225448 -0.9175028 1.0176615 0.2714953 0.5514763 0.34058923 0.39069593 -1.3264722 1.0473177 1.16959 -0.22939074 -0.04347695 -1.5311075 0.51425475 0.5720574 -0.062191017 1.1243534 -0.33407724 0.56460595 -1.0196643 -0.023552151 -0.17435426 0.22530793 -0.36952692 -0.1314726 0.8260472 -0.43676424 -1.6065772 1.749584 1.3814541 -1.2922627 0.6897078 -0.50297475 - 0.26348722 0.29422414 -0.2344078 -0.7837657 -0.690541 -0.91619194 -0.8318222 -0.06717829 -0.71576 0.6820521 1.4872462 -0.58005327 0.2394045 0.4996851 0.47200227 0.075955264 0.7426824 0.48224896 -1.2376624 0.86915606 0.88729084 -0.7632861 0.037937835 0.683329 -0.20931382 1.072978 2.3638725 -0.785986 -1.3810446 0.30381858 0.7215625 -0.23086637 1.4532607 -1.3386058 0.6929186 -0.6058608 1.7193779 1.9925153 -0.7666566 -0.54955715 0.8595879 -0.38713065 -0.045411218 0.02538842 -1.9196732 -0.013837746 -0.6897278 -0.49312282 1.443632 -1.2565069 0.8132052 -0.27896294 -0.27976018 0.7903719 0.3400513 0.570613 0.96818465 -0.3313084 -0.61223674 -1.0851505 - -0.82541054 2.9490945 1.2446796 -1.3510743 -1.3224579 0.48186606 0.5472648 0.54888386 -0.2549558 -0.12545426 0.32787952 0.085893005 -2.2193003 -0.22979963 -0.85140646 0.17521141 2.985259 0.36748168 -0.3135297 0.9218015 0.4826879 0.4200945 0.60685056 2.0565436 -1.1308885 0.47363207 -0.9263811 0.55551267 -0.9186865 -0.4173668 -0.2950899 0.9758167 0.91845447 -1.2457174 0.05493411 -0.7095798 -1.2585049 -0.21701705 -0.3084828 2.4267166 0.43295982 -1.3776175 -0.564774 1.0213833 2.0884428 -1.5859833 -1.8799244 1.8709651 0.38961416 -0.86829275 0.5346291 -2.6357477 0.0033755065 0.32782117 0.92427015 -1.013896 0.08568716 -0.92542464 0.25538376 -0.89534634] \ No newline at end of file diff --git a/kaldi/test_cases/lstm_nonlin_15_T42_S3_delay3/io.npz b/kaldi/test_cases/lstm_nonlin_15_T42_S3_delay3/io.npz deleted file mode 100644 index 6ea2d75a7a..0000000000 Binary files a/kaldi/test_cases/lstm_nonlin_15_T42_S3_delay3/io.npz and /dev/null differ diff --git a/kaldi/test_cases/lstm_nonlin_15_T42_S3_delay3/model.raw b/kaldi/test_cases/lstm_nonlin_15_T42_S3_delay3/model.raw deleted file mode 100644 index 0e3f61ab44..0000000000 Binary files a/kaldi/test_cases/lstm_nonlin_15_T42_S3_delay3/model.raw and /dev/null differ diff --git a/kaldi/test_cases/lstm_nonlin_15_T42_S3_delay3/model.raw.txt b/kaldi/test_cases/lstm_nonlin_15_T42_S3_delay3/model.raw.txt deleted file mode 100644 index 4a8cb4b29a..0000000000 --- a/kaldi/test_cases/lstm_nonlin_15_T42_S3_delay3/model.raw.txt +++ /dev/null @@ -1,29 +0,0 @@ - - -input-node name=input dim=60 -component-node name=lstm1 input=Append(input, IfDefined(Offset(lstm1.c, -3))) component=lstm1 -dim-range-node name=lstm1.c input-node=lstm1 dim-offset=0 dim=15 -dim-range-node name=lstm1.m input-node=lstm1 dim-offset=15 dim=15 -output-node name=output input=lstm1.m - - 1 - lstm1 0.75 0.0005 [ - 0.4967141530112327 -0.13826430117118466 0.6476885381006925 1.5230298564080254 -0.23415337472333597 -0.23413695694918055 1.5792128155073915 0.7674347291529088 -0.4694743859349521 0.5425600435859647 -0.46341769281246226 -0.46572975357025687 0.24196227156603412 -1.913280244657798 -1.7249178325130328 - -0.5622875292409727 -1.0128311203344238 0.3142473325952739 -0.9080240755212109 -1.4123037013352915 1.465648768921554 -0.22577630048653566 0.06752820468792384 -1.4247481862134568 -0.5443827245251827 0.11092258970986608 -1.1509935774223028 0.37569801834567196 -0.600638689918805 -0.2916937497932768 - -0.6017066122293969 1.8522781845089378 -0.013497224737933921 -1.0577109289559004 0.822544912103189 -1.2208436499710222 0.2088635950047554 -1.9596701238797756 -1.3281860488984305 0.19686123586912352 0.7384665799954104 0.1713682811899705 -0.11564828238824053 -0.3011036955892888 -1.4785219903674274 ] - [ - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 ] - [ - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 ] - [ 0.05 0.05 0.2 0.05 0.2 1e-05 1e-05 1e-05 1e-05 1e-05 ] - [ 0.09288334 0.1117439 0.04945562 0.01552413 0.03755825 ] - 1 - \ No newline at end of file diff --git a/kaldi/test_cases/lstm_nonlin_15_T42_S3_delay3/output.ark b/kaldi/test_cases/lstm_nonlin_15_T42_S3_delay3/output.ark deleted file mode 100644 index ece46f97ea..0000000000 --- a/kaldi/test_cases/lstm_nonlin_15_T42_S3_delay3/output.ark +++ /dev/null @@ -1,15 +0,0 @@ -idx [ - 0.106947 0.02474785 -0.0704656 0.02166647 -0.05262177 -0.02651423 0.08003888 0.1229394 -0.180334 -0.1907682 -0.05120503 0.0871255 0.05494189 -0.09024655 0.1118979 - -0.2292149 0.151503 -0.2011023 0.08167993 0.1293738 -0.1946501 0.008848536 -0.2486342 -0.357425 -0.187344 -0.2347285 0.1594107 -0.2987688 -0.0963103 0.1131535 - -0.106171 0.464128 -0.1226976 -0.2957647 0.06956793 0.0129632 -0.001770681 -0.1840004 -0.2812437 -0.1054382 0.07345476 0.1546218 -0.1653486 -0.3708518 -0.1419951 - -0.01266968 0.1238576 -0.08100516 -0.05413593 0.0458609 -0.06338734 0.1157863 0.1271905 0.05340068 0.03496688 -0.0462794 -0.1487969 -0.1304939 -0.03716491 0.1008174 - 0.08702312 0.003033592 0.3034476 -0.04382722 0.08844416 0.03999999 -0.04895055 0.1779098 -0.08872042 -0.1800942 -0.04370539 -0.02638172 -0.307229 0.157098 -0.1427661 - -0.07499681 -0.007115359 -0.06875521 -0.2013632 0.1307064 0.1386984 0.1639193 0.05030096 -0.04949236 -0.03528506 -0.424915 0.3515451 0.09196641 0.01099175 -0.07108735 - 0.07750114 -0.1472127 0.1139583 -0.0332551 -0.01388531 -0.07865228 0.1069828 -0.491755 -0.2865385 0.07978375 0.3464172 0.4769528 0.1303771 0.05215038 0.06506994 - -0.009575061 -0.0279495 -0.02933273 -0.2256058 0.03024555 0.004138092 0.06662019 -0.02628174 0.03733784 0.3063292 0.1835179 0.1330773 0.1991211 0.02035903 0.1015451 - -0.06260029 -0.01257898 0.03809695 -0.1404472 0.3521329 0.03807062 0.3580201 -0.04608815 -0.07823519 0.007855621 0.4103128 0.633582 0.5776013 -0.1234358 -0.1934882 - 0.2622795 -0.09001594 -0.02109353 0.07699355 0.0708305 0.1403724 0.2856494 0.07248177 0.04961852 0.1519493 0.2837005 0.2356573 0.5750013 -0.1202233 -0.2922636 - 0.2311778 -0.133667 -0.07617783 -0.390147 -0.1100736 0.1043885 0.4196192 -0.08328123 -0.2537889 0.04955799 0.1323991 -0.1313916 0.5765965 -0.2462772 -0.333248 - -0.2083367 -0.2932947 0.2235965 -0.2456014 -0.009757093 0.1434508 0.2708152 0.1213587 -0.1423666 0.1005173 -0.1486803 -0.392604 0.06874857 0.031462 0.0313285 - 0.1002689 -0.2395921 -0.03059285 -0.1838847 0.07474142 0.2305464 0.4699433 0.0821003 -0.04722525 0.2958827 -0.03186134 -0.4199533 -0.2881139 0.02936401 0.1672664 - 0.098612 0.0008817578 0.01419449 0.02496813 -0.1814601 0.1376212 0.2695606 0.2101583 -0.1791693 -0.05929883 0.04692954 -0.4771297 -0.02175747 0.2593512 0.03379829 ] diff --git a/kaldi/test_cases/lstm_nonlin_15_T42_S3_delay3/subsampling b/kaldi/test_cases/lstm_nonlin_15_T42_S3_delay3/subsampling deleted file mode 100644 index e440e5c842..0000000000 --- a/kaldi/test_cases/lstm_nonlin_15_T42_S3_delay3/subsampling +++ /dev/null @@ -1 +0,0 @@ -3 \ No newline at end of file diff --git a/kaldi/test_cases/lstm_nonlin_15_T42_S3_delay3/test.sh b/kaldi/test_cases/lstm_nonlin_15_T42_S3_delay3/test.sh deleted file mode 100644 index f52cc3098a..0000000000 --- a/kaldi/test_cases/lstm_nonlin_15_T42_S3_delay3/test.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -nnet3-compute --frames-per-chunk=43 --frame-subsampling-factor=3 model.raw.txt ark:input.ark ark,t:predicted.ark 2>.error -fail=0 -diff output.ark predicted.ark || fail=1; -rm predicted.ark -echo "fail=$fail" && [ $fail -gt 0 ] && exit 1; diff --git a/kaldi/test_cases/lstm_nonlin_15_T42_S3_delay3/vars.sh b/kaldi/test_cases/lstm_nonlin_15_T42_S3_delay3/vars.sh deleted file mode 100644 index 626d88e288..0000000000 --- a/kaldi/test_cases/lstm_nonlin_15_T42_S3_delay3/vars.sh +++ /dev/null @@ -1,4 +0,0 @@ -left_context=0 -right_context=0 -subsampling=3 -adjust_final_offset=0 diff --git a/kaldi/test_cases/lstm_nonlin_7_T23_S1_delay1/input.ark b/kaldi/test_cases/lstm_nonlin_7_T23_S1_delay1/input.ark deleted file mode 100644 index 83a010b8b6..0000000000 --- a/kaldi/test_cases/lstm_nonlin_7_T23_S1_delay1/input.ark +++ /dev/null @@ -1,24 +0,0 @@ -idx [ - -0.2257763 0.0675282 -1.4247482 -0.54438275 0.11092259 -1.1509936 0.37569803 -0.6006387 -0.29169375 -0.6017066 1.8522782 -0.013497225 -1.0577109 0.82254493 -1.2208437 0.2088636 -1.9596701 -1.328186 0.19686124 0.73846656 0.17136829 -0.115648285 -0.30110368 -1.478522 -0.7198442 -0.46063876 1.0571222 0.3436183 - -1.7630402 0.32408398 -0.38508227 -0.676922 0.6116763 1.0309995 0.93128014 -0.83921754 -0.3092124 0.33126342 0.9755451 -0.47917423 -0.18565898 -1.1063349 -1.1962066 0.8125258 1.35624 -0.07201012 1.0035329 0.361636 -0.6451197 0.3613956 1.5380366 -0.03582604 1.5646436 -2.619745 0.8219025 0.08704707 - -0.29900736 0.09176078 -1.9875689 -0.21967189 0.35711256 1.4778941 -0.5182702 -0.8084936 -0.501757 0.9154021 0.32875112 -0.5297602 0.51326746 0.09707755 0.968645 -0.70205307 -0.32766214 -0.39210814 -1.4635149 0.2961203 0.26105526 0.005113457 -0.23458713 -1.4153707 -0.42064533 -0.34271452 -0.80227727 -0.16128571 - 0.40405086 1.8861859 0.17457782 0.2575504 -0.07444592 -1.9187713 -0.026513875 0.06023021 2.463242 -0.19236097 0.30154735 -0.03471177 -1.168678 1.1428229 0.75193304 0.79103196 -0.90938747 1.4027944 -1.401851 0.5868571 2.1904557 -0.99053633 -0.5662977 0.09965137 -0.50347567 -1.5506635 0.06856298 -1.0623037 - 0.47359243 -0.91942424 1.5499344 -0.7832533 -0.3220615 0.8135172 -1.2308643 0.22745994 1.3071427 -1.6074833 0.18463387 0.2598828 0.78182286 -1.2369508 -1.3204566 0.52194154 0.29698467 0.25049284 0.3464482 -0.68002474 0.2322537 0.29307246 -0.7143514 1.8657745 0.47383294 -1.1913035 0.6565536 -0.9746817 - 0.7870846 1.1585956 -0.82068235 0.9633761 0.41278094 0.82206017 1.896793 -0.24538812 -0.75373614 -0.88951445 -0.81581026 -0.07710171 0.34115198 0.2766908 0.82718325 0.013001892 1.4535341 -0.26465684 2.720169 0.62566733 -0.8571575 -1.0708925 0.48247242 -0.22346279 0.7140005 0.47323763 -0.07282891 -0.8467937 - -1.5148473 -0.44651496 0.8563988 0.21409374 -1.2457387 0.17318092 0.3853174 -0.8838574 0.1537251 0.05820872 -1.1429703 0.35778737 0.5607845 1.0830512 1.053802 -1.3776693 -0.937825 0.5150353 0.51378596 0.51504767 3.8527315 0.5708905 1.1355656 0.9540018 0.65139127 -0.31526923 0.75896925 -0.77282524 - -0.23681861 -0.48536354 0.08187414 2.3146586 -1.8672652 0.68626016 -1.6127158 -0.47193187 1.0889506 0.06428002 -1.0777447 -0.7153037 0.67959774 -0.73036665 0.21645859 0.04557184 -0.65160036 2.143944 0.633919 -2.0251427 0.18645431 -0.66178644 0.8524333 -0.79252076 -0.11473644 0.5049873 0.8657552 -1.2002964 - -0.33450124 -0.4749453 -0.65332925 1.7654543 0.4049817 -1.2608839 0.91786194 2.1221561 1.0324652 -1.51937 -0.48423406 1.2669111 -0.70766944 0.44381943 0.77463406 -0.9269305 -0.059525356 -3.2412674 -1.0243876 -0.25256816 -1.2477832 1.6324114 -1.4301413 -0.4400445 0.13074058 1.4412733 -1.4358622 1.1631638 - 0.010233061 -0.9815087 0.4621035 0.1990597 -0.60021687 0.06980208 -0.3853136 0.113517344 0.66213065 1.5860168 -1.2378155 2.1330333 -1.9520878 -0.15178509 0.5883172 0.28099188 -0.6226995 -0.20812225 -0.49300092 -0.58936477 0.8496021 0.3570155 -0.6929096 0.89959985 0.30729952 0.8128621 0.62962884 -0.828995 - -0.560181 0.7472936 0.6103703 -0.020901594 0.117327385 1.2776649 -0.5915714 0.5470974 -0.20219265 -0.2176812 1.0987768 0.8254163 0.81350964 1.3054788 0.021003842 0.68195295 -0.31026676 0.32416636 -0.13014306 0.096995965 0.595157 -0.8182207 2.0923872 -1.0060173 -1.2141886 1.1581109 0.7916627 0.6241198 - 0.6283455 -0.012246773 -0.89725435 0.07580456 -0.6771617 0.9751197 -0.14705738 -0.8254972 -0.32138583 0.41293144 -0.5637246 -0.8222204 0.24368721 0.24496657 -0.50694317 -0.4710383 0.23204994 -1.4480844 -1.4074638 -0.7184442 -0.21344715 0.31090757 1.4753562 0.85765964 -0.15993853 -0.019016208 -1.0025294 -0.018513136 - -0.28865865 0.32271856 -0.82723093 0.51934654 1.5327389 -0.10876015 0.40171173 0.690144 -0.40122047 0.22409248 0.0125924 0.0976761 -0.7730098 0.024510175 0.4979983 1.4511436 0.95927083 2.1531825 -0.7673476 0.87232065 0.18334201 2.189803 -0.8082983 -0.83972186 -0.59939265 -2.1238956 -0.52575505 -0.7591327 - 0.15039378 0.341756 1.8761709 0.95042384 -0.57690364 -0.8984147 0.49191916 -1.3202332 1.8314588 1.1794401 -0.46917567 -1.7131345 1.3538724 -0.11453985 1.2378163 -1.5944277 -0.599375 0.0052436995 0.046980593 -0.45006546 0.62284994 -1.0676204 -0.14237948 0.12029563 0.5144388 0.7116149 -1.1246421 -1.5341141 - 1.2776768 0.332314 -0.7484865 1.551152 0.11567464 1.1792972 0.06751848 2.0607479 1.7553408 -0.24896415 0.97157097 0.64537597 1.3686316 -0.96492344 0.6860515 1.0584245 -1.7587395 -1.1832585 -2.0392323 -0.26940683 0.71754223 1.502357 0.07409478 1.6286155 -1.3801014 -1.7033825 -0.0555477 0.38406545 - -0.03269475 -2.0674422 -0.08912004 -1.3044695 0.66967255 0.36659825 -0.9398798 -0.5138669 -1.0592135 -0.0626791 0.9551423 -0.98572606 0.5040465 -0.53025764 -0.79287285 -0.10703036 -1.0352423 -0.5536493 -1.1978779 1.9647251 0.035263553 -0.6997255 0.21397991 -0.11232805 -0.2209696 0.6141667 0.7575077 -0.5305011 - -0.57581824 -0.27505168 -2.3019211 -1.5151911 1.3668742 1.6449677 -0.24903604 0.576557 0.31125015 3.0788808 1.1195749 -0.12791759 -0.9555404 -1.6064463 0.20346363 -0.75635076 -1.4222537 -0.6465729 -1.081548 1.6871417 0.8816398 -0.007972641 1.4799441 0.077368304 -0.8612842 1.5231241 0.53891003 -1.0372461 - -0.19033867 -0.8756183 -1.3827997 0.92617756 1.9094167 -1.3985676 0.5629692 -0.6506426 -0.4871254 -0.59239393 -0.8639908 0.048521627 -0.83095014 0.27045682 -0.05023811 -0.23894805 -0.9075637 -0.5767713 0.75539124 0.5009172 -0.9775552 0.0993323 0.7513871 -1.6694052 0.5433602 -0.66262376 0.57059866 -0.7632592 - -1.804882 -1.6275425 0.04808495 0.2597225 -0.9043166 0.6385925 -1.66152 -0.066079795 -1.2110162 -0.6518361 0.04739867 -0.8604134 -0.38455555 1.0062928 -0.5768919 0.8356921 -1.1297069 0.52980417 1.4415686 -2.4716444 -0.79689527 0.57707214 -0.20304538 0.37114587 -0.6039852 0.08658979 -0.15567723 1.1677821 - 0.25442085 0.33760267 -0.41187698 -0.48760623 -0.43255818 0.39445215 -0.42098448 0.28977486 2.0754008 0.8711247 -0.32602352 1.201214 -0.40807536 -2.0381246 -1.0080863 -1.8707919 -0.35151348 0.01841838 1.6764373 0.32692736 -0.21910053 0.8294056 -2.2111354 0.23561455 0.7708652 -1.4785862 1.143754 0.33849642 - -0.4152879 0.63278186 2.2706928 0.18186626 0.2482206 -0.4593609 -0.8498444 0.8303358 -0.8560838 0.07156624 -0.47765744 0.47897983 0.3336621 1.03754 -0.5100164 -0.26987493 -0.9787637 -0.44429326 0.3773005 0.75698864 -0.92216533 0.8696059 1.3556379 0.4134349 1.8767958 -0.7737892 -1.2446547 -1.7787203 - 1.4960443 0.65436566 -0.05558467 0.27996862 -1.125489 2.445752 0.12922119 0.109394796 0.7257666 0.48100924 0.22388403 -0.7904745 0.47146836 1.8820245 1.34542 1.5931866 -0.5112157 -0.98960483 -0.12578692 0.05572491 1.0941916 -1.6924646 1.5295503 -0.1580079 -0.42688107 -1.0121044 -1.6548567 0.8231706 - 0.07331797 -1.2899609 -1.2950788 -0.3357847 1.6690215 -0.25959134 -1.503143 -0.24574307 -0.27272356 -2.6968865 -0.054294866 -0.23093453 0.6962064 1.8489561 1.126565 -0.26888868 -1.1065259 2.5733597 0.059218433 0.013929292 -0.024125088 0.19808476 -0.14436041 -0.573662 -0.54685897 -0.03275327 -0.5434248 -0.7128458] \ No newline at end of file diff --git a/kaldi/test_cases/lstm_nonlin_7_T23_S1_delay1/io.npz b/kaldi/test_cases/lstm_nonlin_7_T23_S1_delay1/io.npz deleted file mode 100644 index 8b956bed04..0000000000 Binary files a/kaldi/test_cases/lstm_nonlin_7_T23_S1_delay1/io.npz and /dev/null differ diff --git a/kaldi/test_cases/lstm_nonlin_7_T23_S1_delay1/model.raw b/kaldi/test_cases/lstm_nonlin_7_T23_S1_delay1/model.raw deleted file mode 100644 index 52bbf6d333..0000000000 Binary files a/kaldi/test_cases/lstm_nonlin_7_T23_S1_delay1/model.raw and /dev/null differ diff --git a/kaldi/test_cases/lstm_nonlin_7_T23_S1_delay1/model.raw.txt b/kaldi/test_cases/lstm_nonlin_7_T23_S1_delay1/model.raw.txt deleted file mode 100644 index 234a907236..0000000000 --- a/kaldi/test_cases/lstm_nonlin_7_T23_S1_delay1/model.raw.txt +++ /dev/null @@ -1,29 +0,0 @@ - - -input-node name=input dim=28 -component-node name=lstm1 input=Append(input, IfDefined(Offset(lstm1.c, -1))) component=lstm1 -dim-range-node name=lstm1.c input-node=lstm1 dim-offset=0 dim=7 -dim-range-node name=lstm1.m input-node=lstm1 dim-offset=7 dim=7 -output-node name=output input=lstm1.m - - 1 - lstm1 0.75 0.0005 [ - 0.4967141530112327 -0.13826430117118466 0.6476885381006925 1.5230298564080254 -0.23415337472333597 -0.23413695694918055 1.5792128155073915 - 0.7674347291529088 -0.4694743859349521 0.5425600435859647 -0.46341769281246226 -0.46572975357025687 0.24196227156603412 -1.913280244657798 - -1.7249178325130328 -0.5622875292409727 -1.0128311203344238 0.3142473325952739 -0.9080240755212109 -1.4123037013352915 1.465648768921554 ] - [ - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 ] - [ - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 ] - [ 0.05 0.05 0.2 0.05 0.2 1e-05 1e-05 1e-05 1e-05 1e-05 ] - [ 0.09288334 0.1117439 0.04945562 0.01552413 0.03755825 ] - 1 - \ No newline at end of file diff --git a/kaldi/test_cases/lstm_nonlin_7_T23_S1_delay1/output.ark b/kaldi/test_cases/lstm_nonlin_7_T23_S1_delay1/output.ark deleted file mode 100644 index 64a4424e20..0000000000 --- a/kaldi/test_cases/lstm_nonlin_7_T23_S1_delay1/output.ark +++ /dev/null @@ -1,24 +0,0 @@ -idx [ - -0.2241172 0.04354324 -0.0397761 -0.09435306 0.03730366 0.1047738 0.06220488 - -0.1287098 0.3187101 0.0963112 -0.2056341 0.02088275 0.1843381 -0.1442439 - 0.09589728 -0.07605214 0.02163688 -0.105257 -0.1582502 0.0802011 -0.0835633 - 0.06292226 0.1230244 -0.2046602 0.0880962 -0.1499145 0.07868349 0.06666495 - -0.1535574 0.1157388 0.1488969 0.1336355 -0.06514689 -0.2048726 0.03042631 - 0.05349297 0.07957536 0.1213711 -0.09294089 0.2293709 0.09155992 -0.08070576 - 0.1454769 -0.2066002 -0.2654879 0.133059 0.1180677 0.208997 -0.0355465 - 0.05784942 -0.1360925 -0.1668602 0.4051436 0.1009713 -0.2649286 -0.005311005 - 0.3143918 -0.09415588 -0.0329601 -0.2855811 -0.2645584 -0.03808694 -0.3092318 - 0.1810243 -0.07937281 -0.2978314 -0.1402529 -0.3341801 -0.2152561 -0.06516577 - 0.07133375 0.2543048 -0.1089189 -0.01663791 -0.3218199 -0.0907062 -0.08077022 - -0.09796338 -0.0800018 -0.09386823 -0.1846812 -0.2584702 -0.2072249 -0.07301884 - 0.07948378 0.1136403 0.03877896 0.06551779 -0.1331558 0.06156063 -0.0009811877 - 0.05834294 -0.05830922 -0.2130688 0.04401064 -0.1034895 0.01049247 0.08616002 - 0.3464446 0.1599969 -0.3338395 -0.09689332 -0.1334247 -0.08887564 0.3154122 - 0.03274882 0.03758163 -0.2717232 -0.2012647 -0.517235 0.2308536 0.0428397 - 0.06446983 -0.1923014 -0.3119532 -0.12032 -0.7381928 0.2318406 0.1268459 - 0.01616174 -0.1151454 -0.0508043 -0.2539257 -0.04442059 0.1898539 -0.08029449 - -0.03911745 0.03240006 -0.3018456 -0.02224644 0.1041833 -0.2630161 -0.2538945 - -0.3579927 -0.05713449 -0.2566021 -0.01408089 0.05965301 0.02043224 -0.07916683 - -0.3497297 -0.2748086 -0.5419092 -0.195868 0.1029892 0.04255272 -0.02869755 - 0.03325164 0.2796012 -0.3259492 -0.1654003 0.02496939 0.02630348 0.03687774 - 0.1603677 0.04052483 -0.06054682 -0.008977551 0.04362221 0.04835111 0.01351366 ] diff --git a/kaldi/test_cases/lstm_nonlin_7_T23_S1_delay1/subsampling b/kaldi/test_cases/lstm_nonlin_7_T23_S1_delay1/subsampling deleted file mode 100644 index 56a6051ca2..0000000000 --- a/kaldi/test_cases/lstm_nonlin_7_T23_S1_delay1/subsampling +++ /dev/null @@ -1 +0,0 @@ -1 \ No newline at end of file diff --git a/kaldi/test_cases/lstm_nonlin_7_T23_S1_delay1/test.sh b/kaldi/test_cases/lstm_nonlin_7_T23_S1_delay1/test.sh deleted file mode 100644 index 5488ebe208..0000000000 --- a/kaldi/test_cases/lstm_nonlin_7_T23_S1_delay1/test.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -nnet3-compute --frames-per-chunk=24 --frame-subsampling-factor=1 model.raw.txt ark:input.ark ark,t:predicted.ark 2>.error -fail=0 -diff output.ark predicted.ark || fail=1; -rm predicted.ark -echo "fail=$fail" && [ $fail -gt 0 ] && exit 1; diff --git a/kaldi/test_cases/lstm_nonlin_7_T23_S1_delay1/vars.sh b/kaldi/test_cases/lstm_nonlin_7_T23_S1_delay1/vars.sh deleted file mode 100644 index 94c31d31ad..0000000000 --- a/kaldi/test_cases/lstm_nonlin_7_T23_S1_delay1/vars.sh +++ /dev/null @@ -1,4 +0,0 @@ -left_context=0 -right_context=0 -subsampling=1 -adjust_final_offset=0 diff --git a/kaldi/test_cases/lstm_without_lstm_test1/.error b/kaldi/test_cases/lstm_without_lstm_test1/.error deleted file mode 100644 index 1e980ddbfb..0000000000 --- a/kaldi/test_cases/lstm_without_lstm_test1/.error +++ /dev/null @@ -1,5 +0,0 @@ -nnet3-compute --frames-per-chunk=11 --frame-subsampling-factor=1 model.raw.txt ark:input.ark ark,t:predicted.ark -LOG (nnet3-compute[5.2.0-4058]:RemoveOrphanComponents():nnet-nnet.cc:841) Removing 0 orphan components. -LOG (nnet3-compute[5.2.0-4058]:main():nnet3-compute.cc:166) Time taken 0.0238831s: real-time factor assuming 100 frames/sec is 0.238831 -LOG (nnet3-compute[5.2.0-4058]:main():nnet3-compute.cc:169) Done 1 utterances, failed for 0 -LOG (nnet3-compute[5.2.0-4058]:~CachingOptimizingCompiler():nnet-optimize.cc:670) 0.00267 seconds taken in nnet3 compilation total (breakdown: 0.00109 compilation, 0.000704 optimization, 0 shortcut expansion, 0.000221 checking, 0 computing indexes, 0.000656 misc.) diff --git a/kaldi/test_cases/lstm_without_lstm_test1/input.ark b/kaldi/test_cases/lstm_without_lstm_test1/input.ark deleted file mode 100644 index 805303da71..0000000000 --- a/kaldi/test_cases/lstm_without_lstm_test1/input.ark +++ /dev/null @@ -1,11 +0,0 @@ -idx [ - -0.828995 -0.560181 0.7472936 0.6103703 - -0.020901594 0.117327385 1.2776649 -0.5915714 - 0.5470974 -0.20219265 -0.2176812 1.0987768 - 0.8254163 0.81350964 1.3054788 0.021003842 - 0.68195295 -0.31026676 0.32416636 -0.13014306 - 0.096995965 0.595157 -0.8182207 2.0923872 - -1.0060173 -1.2141886 1.1581109 0.7916627 - 0.6241198 0.6283455 -0.012246773 -0.89725435 - 0.07580456 -0.6771617 0.9751197 -0.14705738 - -0.8254972 -0.32138583 0.41293144 -0.5637246] \ No newline at end of file diff --git a/kaldi/test_cases/lstm_without_lstm_test1/io.npz b/kaldi/test_cases/lstm_without_lstm_test1/io.npz deleted file mode 100644 index 2183df255f..0000000000 Binary files a/kaldi/test_cases/lstm_without_lstm_test1/io.npz and /dev/null differ diff --git a/kaldi/test_cases/lstm_without_lstm_test1/model.raw b/kaldi/test_cases/lstm_without_lstm_test1/model.raw deleted file mode 100644 index e87b7d3078..0000000000 Binary files a/kaldi/test_cases/lstm_without_lstm_test1/model.raw and /dev/null differ diff --git a/kaldi/test_cases/lstm_without_lstm_test1/model.raw.txt b/kaldi/test_cases/lstm_without_lstm_test1/model.raw.txt deleted file mode 100644 index 9e56b1885a..0000000000 --- a/kaldi/test_cases/lstm_without_lstm_test1/model.raw.txt +++ /dev/null @@ -1,54 +0,0 @@ - - -input-node name=input dim=4 -component-node name=lstm1.four_parts input=Append(input, IfDefined(Offset(lstm1.r_trunc,-3))) component=lstm1.W_all -component-node name=lstm1.lstm_nonlin input=Append(lstm1.four_parts, IfDefined(Offset(lstm1.c_trunc,-3))) component=lstm1.lstm_nonlin -dim-range-node name=lstm1.c input-node=lstm1.lstm_nonlin dim-offset=0 dim=4 -dim-range-node name=lstm1.m input-node=lstm1.lstm_nonlin dim-offset=4 dim=4 -component-node name=lstm1 input=lstm1.m component=lstm1.W_rp -dim-range-node name=lstm1.r input-node=lstm1 dim-offset=0 dim=2 -component-node name=lstm1.cr_trunc input=Append(lstm1.c, lstm1.r) component=lstm1.cr_trunc -dim-range-node name=lstm1.c_trunc input-node=lstm1.cr_trunc dim-offset=0 dim=4 -dim-range-node name=lstm1.r_trunc input-node=lstm1.cr_trunc dim-offset=4 dim=2 -output-node name=output input=lstm1 - - 4 - lstm1.W_all 1.0 1.0 0.0005 [ - 0.4967141530112327 -0.13826430117118466 0.6476885381006925 1.5230298564080254 -0.23415337472333597 -0.23413695694918055 - 1.5792128155073915 0.7674347291529088 -0.4694743859349521 0.5425600435859647 -0.46341769281246226 -0.46572975357025687 - 0.24196227156603412 -1.913280244657798 -1.7249178325130328 -0.5622875292409727 -1.0128311203344238 0.3142473325952739 - -0.9080240755212109 -1.4123037013352915 1.465648768921554 -0.22577630048653566 0.06752820468792384 -1.4247481862134568 - -0.5443827245251827 0.11092258970986608 -1.1509935774223028 0.37569801834567196 -0.600638689918805 -0.2916937497932768 - -0.6017066122293969 1.8522781845089378 -0.013497224737933921 -1.0577109289559004 0.822544912103189 -1.2208436499710222 - 0.2088635950047554 -1.9596701238797756 -1.3281860488984305 0.19686123586912352 0.7384665799954104 0.1713682811899705 - -0.11564828238824053 -0.3011036955892888 -1.4785219903674274 -0.7198442083947086 -0.4606387709597875 1.0571222262189157 - 0.3436182895684614 -1.763040155362734 0.324083969394795 -0.38508228041631654 -0.6769220003059587 0.6116762888408679 - 1.030999522495951 0.9312801191161986 -0.8392175232226385 -0.3092123758512146 0.33126343140356396 0.9755451271223592 - -0.47917423784528995 -0.18565897666381712 -1.1063349740060282 -1.1962066240806708 0.812525822394198 1.356240028570823 - -0.07201012158033385 1.0035328978920242 0.36163602504763415 -0.6451197546051243 0.36139560550841393 1.5380365664659692 - -0.03582603910995154 1.5646436558140062 -2.6197451040897444 0.8219025043752238 0.08704706823817121 -0.2990073504658674 - 0.0917607765355023 -1.9875689146008928 -0.21967188783751193 0.3571125715117464 1.477894044741516 -0.5182702182736474 - -0.8084936028931876 -0.5017570435845365 0.9154021177020741 0.32875110965968446 -0.5297602037670388 0.5132674331133561 - 0.09707754934804039 0.9686449905328892 -0.7020530938773524 -0.3276621465977682 -0.39210815313215763 -1.4635149481321186 ] - [ 0.29612027706457605 0.26105527217988933 0.00511345664246089 -0.23458713337514692 -1.4153707420504142 -0.42064532276535904 -0.3427145165267695 -0.8022772692216189 -0.16128571166600914 0.4040508568145384 1.8861859012105302 0.17457781283183896 0.25755039072276437 -0.07444591576616721 -1.9187712152990415 -0.026513875449216878 ] - 20 80 4 2000 4 F - lstm1.lstm_nonlin 1.0 1.0 0.0005 [ - 0.06023020994102644 2.463242112485286 -0.19236096478112252 0.30154734233361247 -0.03471176970524331 -1.168678037619532 1.1428228145150205 0.7519330326867741 0.7910319470430469 -0.9093874547947389 1.4027943109360992 -1.4018510627922809 0.5868570938002703 2.1904556258099785 -0.9905363251306883 -0.5662977296027719 0.09965136508764122 -0.5034756541161992 -1.5506634310661327 0.06856297480602733 - -1.0623037137261049 0.4735924306351816 -0.9194242342338032 1.5499344050175394 -0.7832532923362371 -0.3220615162056756 0.8135172173696698 -1.2308643164339552 0.22745993460412942 1.307142754282428 -1.6074832345612275 0.1846338585323042 0.25988279424842353 0.7818228717773104 -1.236950710878082 -1.3204566130842763 0.5219415656168976 0.29698467323318606 0.25049285034587654 0.3464482094969757 - -0.6800247215784908 0.23225369716100355 0.29307247329868125 -0.7143514180263678 1.8657745111447566 0.4738329209117875 -1.1913034972026486 0.6565536086338297 -0.9746816702273214 0.787084603742452 1.158595579007404 -0.8206823183517105 0.9633761292443218 0.4127809269364983 0.82206015999449 1.8967929826539474 -0.2453881160028705 -0.7537361643574896 -0.8895144296255233 -0.8158102849654383 - -0.0771017094141042 0.3411519748166439 0.27669079933001905 0.8271832490360238 0.01300189187790702 1.4535340771573169 -0.2646568332379561 2.720169166589619 0.6256673477650062 -0.8571575564162826 -1.0708924980611123 0.4824724152431853 -0.2234627853258509 0.714000494092092 0.47323762457354485 -0.07282891265687277 -0.846793718068405 -1.5148472246858646 -0.4465149520670211 0.8563987943234723 - 0.21409374413020396 -1.245738778711988 0.173180925851182 0.3853173797288368 -0.883857436201133 0.1537251059455279 0.058208718445999896 -1.142970297830623 0.3577873603482833 0.5607845263682344 1.083051243175277 1.053802052034903 -1.377669367957091 -0.9378250399151228 0.5150352672086598 0.5137859509122088 0.5150476863060479 3.852731490654721 0.570890510693167 1.135565640180599 - 0.9540017634932023 0.651391251305798 -0.3152692446403456 0.7589692204932674 -0.7728252145375718 -0.23681860674000887 -0.48536354782910346 0.08187413938632256 2.3146585666735087 -1.867265192591748 0.6862601903745135 -1.6127158711896517 -0.47193186578943347 1.088950596967366 0.06428001909546277 -1.0777447779293061 -0.7153037092599682 0.6795977489346758 -0.7303666317171367 0.21645858958197486 - 0.045571839903813784 -0.6516003476058171 2.1439440893253257 0.6339190223180112 -2.025142586657607 0.18645431476942764 -0.661786464768388 0.852433334796224 -0.7925207384327007 -0.11473644146689901 0.5049872789804571 0.8657551941701215 -1.2002964070557762 -0.3345012358409484 -0.4749453111609562 -0.6533292325737119 1.7654542402810969 0.40498171096095553 -1.2608839543350452 0.9178619470547761 - 2.1221561970126332 1.0324652605511468 -1.5193699659540134 -0.48423407286625136 1.2669111491866227 -0.7076694656187807 0.44381942814622843 0.7746340534293368 -0.926930471578083 -0.05952535606180008 -3.2412673400690726 -1.0243876413342898 -0.2525681513931603 -1.2477831819648495 1.6324113039316352 -1.4301413779606327 -0.44004448669698376 0.13074057728609134 1.4412732890661155 -1.4358621511794394 ] - [ 1.1631637521549596 0.010233061019587049 -0.9815086510479509 0.46210347426327075 0.19905969557347003 -0.6002168771587947 0.06980208499001891 -0.3853135968617602 ] - 20 80 4 2000 4 F - lstm1.W_rp 1.0 1.0 0.0005 [ - 0.11351734525124804 0.6621306745210467 1.586016816145352 -1.237815498826849 - 2.1330333746562666 -1.9520877995225019 -0.15178509503558332 0.5883172064845765 - 0.28099186773503265 -0.6226995198205938 -0.20812225035727522 -0.4930009346588328 - -0.5893647569442115 0.8496020970210246 0.35701548596504734 -0.6929095952606542 ] - [ 0.8995998754332507 0.30729952087660933 0.8128621188389601 0.6296288419236122 ] - 20 80 4 2000 4 F - lstm1.cr_trunc 6 1.0 30 15 20 3 0 0 0 0 - \ No newline at end of file diff --git a/kaldi/test_cases/lstm_without_lstm_test1/output.ark b/kaldi/test_cases/lstm_without_lstm_test1/output.ark deleted file mode 100644 index fa4f5a6cf6..0000000000 --- a/kaldi/test_cases/lstm_without_lstm_test1/output.ark +++ /dev/null @@ -1,11 +0,0 @@ -idx [ - 22.50611 -11.52091 -4.57235 11.22136 - 33.07787 10.40513 3.443779 7.641325 - -0.514245 -13.67637 -2.092455 4.83808 - 110.0034 -100.2545 46.8753 84.40002 - 341.0624 44.92972 130.8081 114.5007 - -113.5749 -91.02103 -33.89581 -5.842829 - 188.161 29.8561 178.0769 154.1274 - 2891.78 897.2846 1283.451 828.6743 - -1477.143 -319.6531 -572.6152 -411.9701 - 2592.739 5621.33 1018.001 -856.8091 ] diff --git a/kaldi/test_cases/lstm_without_lstm_test1/subsampling b/kaldi/test_cases/lstm_without_lstm_test1/subsampling deleted file mode 100644 index 56a6051ca2..0000000000 --- a/kaldi/test_cases/lstm_without_lstm_test1/subsampling +++ /dev/null @@ -1 +0,0 @@ -1 \ No newline at end of file diff --git a/kaldi/test_cases/lstm_without_lstm_test1/test.sh b/kaldi/test_cases/lstm_without_lstm_test1/test.sh deleted file mode 100644 index 1e6d560214..0000000000 --- a/kaldi/test_cases/lstm_without_lstm_test1/test.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -nnet3-compute --frames-per-chunk=11 --frame-subsampling-factor=1 model.raw.txt ark:input.ark ark,t:predicted.ark 2>.error -fail=0 -diff output.ark predicted.ark || fail=1; -rm predicted.ark -echo "fail=$fail" && [ $fail -gt 0 ] && exit 1; diff --git a/kaldi/test_cases/lstm_without_lstm_test1/vars.sh b/kaldi/test_cases/lstm_without_lstm_test1/vars.sh deleted file mode 100644 index 94c31d31ad..0000000000 --- a/kaldi/test_cases/lstm_without_lstm_test1/vars.sh +++ /dev/null @@ -1,4 +0,0 @@ -left_context=0 -right_context=0 -subsampling=1 -adjust_final_offset=0 diff --git a/kaldi/test_cases/lstm_without_lstm_test2_delay1_S1/.error b/kaldi/test_cases/lstm_without_lstm_test2_delay1_S1/.error deleted file mode 100644 index 23977a6249..0000000000 --- a/kaldi/test_cases/lstm_without_lstm_test2_delay1_S1/.error +++ /dev/null @@ -1,5 +0,0 @@ -nnet3-compute --frames-per-chunk=11 --frame-subsampling-factor=1 model.raw.txt ark:input.ark ark,t:predicted.ark -LOG (nnet3-compute[5.2.0-4058]:RemoveOrphanComponents():nnet-nnet.cc:841) Removing 0 orphan components. -LOG (nnet3-compute[5.2.0-4058]:main():nnet3-compute.cc:166) Time taken 0.00793314s: real-time factor assuming 100 frames/sec is 0.0793314 -LOG (nnet3-compute[5.2.0-4058]:main():nnet3-compute.cc:169) Done 1 utterances, failed for 0 -LOG (nnet3-compute[5.2.0-4058]:~CachingOptimizingCompiler():nnet-optimize.cc:670) 0.0034 seconds taken in nnet3 compilation total (breakdown: 0.000712 compilation, 0.00203 optimization, 0 shortcut expansion, 0.000429 checking, 9.54e-07 computing indexes, 0.000232 misc.) diff --git a/kaldi/test_cases/lstm_without_lstm_test2_delay1_S1/input.ark b/kaldi/test_cases/lstm_without_lstm_test2_delay1_S1/input.ark deleted file mode 100644 index e0626b39e0..0000000000 --- a/kaldi/test_cases/lstm_without_lstm_test2_delay1_S1/input.ark +++ /dev/null @@ -1,11 +0,0 @@ -idx [ - 1.0 2.0 3.0 4.0 - 11.0 12.0 13.0 14.0 - 21.0 22.0 23.0 24.0 - 31.0 32.0 33.0 34.0 - 41.0 42.0 43.0 44.0 - 51.0 52.0 53.0 54.0 - 61.0 62.0 63.0 64.0 - 71.0 72.0 73.0 74.0 - 81.0 82.0 83.0 84.0 - 91.0 92.0 93.0 94.0] \ No newline at end of file diff --git a/kaldi/test_cases/lstm_without_lstm_test2_delay1_S1/io.npz b/kaldi/test_cases/lstm_without_lstm_test2_delay1_S1/io.npz deleted file mode 100644 index c1d58dc489..0000000000 Binary files a/kaldi/test_cases/lstm_without_lstm_test2_delay1_S1/io.npz and /dev/null differ diff --git a/kaldi/test_cases/lstm_without_lstm_test2_delay1_S1/model.raw b/kaldi/test_cases/lstm_without_lstm_test2_delay1_S1/model.raw deleted file mode 100644 index 937f4127a5..0000000000 Binary files a/kaldi/test_cases/lstm_without_lstm_test2_delay1_S1/model.raw and /dev/null differ diff --git a/kaldi/test_cases/lstm_without_lstm_test2_delay1_S1/model.raw.txt b/kaldi/test_cases/lstm_without_lstm_test2_delay1_S1/model.raw.txt deleted file mode 100644 index a53b2235d3..0000000000 --- a/kaldi/test_cases/lstm_without_lstm_test2_delay1_S1/model.raw.txt +++ /dev/null @@ -1,44 +0,0 @@ - - -input-node name=input dim=4 -component-node name=lstm1.four_parts input=Append(input, IfDefined(Offset(lstm1.r_trunc,-1))) component=lstm1.W_all -component-node name=lstm1.lstm_nonlin input=Append(lstm1.four_parts, IfDefined(Offset(lstm1.c_trunc,-1))) component=lstm1.lstm_nonlin -dim-range-node name=lstm1.c input-node=lstm1.lstm_nonlin dim-offset=0 dim=4 -dim-range-node name=lstm1.m input-node=lstm1.lstm_nonlin dim-offset=4 dim=4 -component-node name=lstm1 input=lstm1.m component=lstm1.W_rp -dim-range-node name=lstm1.r input-node=lstm1 dim-offset=0 dim=2 -component-node name=lstm1.cr_trunc input=Append(lstm1.c, lstm1.r) component=lstm1.cr_trunc -dim-range-node name=lstm1.c_trunc input-node=lstm1.cr_trunc dim-offset=0 dim=4 -dim-range-node name=lstm1.r_trunc input-node=lstm1.cr_trunc dim-offset=4 dim=2 -output-node name=output input=lstm1 - - 4 - lstm1.W_all 1.0 1.0 0.0005 [ - 1.0 0.0 0.0 0.0 0.0 0.0 - 0.0 1.0 0.0 0.0 0.0 0.0 - 0.0 0.0 1.0 0.0 0.0 0.0 - 0.0 0.0 0.0 1.0 0.0 0.0 - 0.0 0.0 0.0 0.0 1.0 0.0 - 0.0 0.0 0.0 0.0 0.0 1.0 ] - [ 0.0 0.0 0.0 0.0 0.0 0.0 ] - 20 80 4 2000 4 F - lstm1.lstm_nonlin 1.0 1.0 0.0005 [ - 1.0 0.0 0.0 0.0 1.0 0.0 1.0 0.0 0.0 0.0 - 0.0 1.0 0.0 0.0 0.0 1.0 0.0 1.0 0.0 0.0 - 0.0 0.0 1.0 0.0 1.0 0.0 0.0 0.0 1.0 0.0 - 0.0 0.0 0.0 1.0 0.0 1.0 0.0 0.0 0.0 1.0 - 1.0 0.0 0.0 0.0 1.0 0.0 1.0 0.0 0.0 0.0 - 0.0 1.0 0.0 0.0 0.0 1.0 0.0 1.0 0.0 0.0 - 0.0 0.0 1.0 0.0 1.0 0.0 0.0 0.0 1.0 0.0 - 0.0 0.0 0.0 1.0 0.0 1.0 0.0 0.0 0.0 1.0 ] - [ 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 ] - 20 80 4 2000 4 F - lstm1.W_rp 1.0 1.0 0.0005 [ - 1.0 0.0 0.0 0.0 - 0.0 1.0 0.0 0.0 - 0.0 0.0 1.0 0.0 - 0.0 0.0 0.0 1.0 ] - [ 0.0 0.0 0.0 0.0 ] - 20 80 4 2000 4 F - lstm1.cr_trunc 6 1.0 30 15 20 3 0 0 0 0 - \ No newline at end of file diff --git a/kaldi/test_cases/lstm_without_lstm_test2_delay1_S1/output.ark b/kaldi/test_cases/lstm_without_lstm_test2_delay1_S1/output.ark deleted file mode 100644 index 165d719419..0000000000 --- a/kaldi/test_cases/lstm_without_lstm_test2_delay1_S1/output.ark +++ /dev/null @@ -1,11 +0,0 @@ -idx [ - 1 2 3 4 - 13 16 17 20 - 47 54 53 60 - 125 140 133 148 - 291 322 301 332 - 633 696 645 708 - 1327 1454 1341 1468 - 2725 2980 2741 2996 - 5531 6042 5549 6060 - 11153 12176 11173 12196 ] diff --git a/kaldi/test_cases/lstm_without_lstm_test2_delay1_S1/subsampling b/kaldi/test_cases/lstm_without_lstm_test2_delay1_S1/subsampling deleted file mode 100644 index 56a6051ca2..0000000000 --- a/kaldi/test_cases/lstm_without_lstm_test2_delay1_S1/subsampling +++ /dev/null @@ -1 +0,0 @@ -1 \ No newline at end of file diff --git a/kaldi/test_cases/lstm_without_lstm_test2_delay1_S1/test.sh b/kaldi/test_cases/lstm_without_lstm_test2_delay1_S1/test.sh deleted file mode 100644 index 1e6d560214..0000000000 --- a/kaldi/test_cases/lstm_without_lstm_test2_delay1_S1/test.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -nnet3-compute --frames-per-chunk=11 --frame-subsampling-factor=1 model.raw.txt ark:input.ark ark,t:predicted.ark 2>.error -fail=0 -diff output.ark predicted.ark || fail=1; -rm predicted.ark -echo "fail=$fail" && [ $fail -gt 0 ] && exit 1; diff --git a/kaldi/test_cases/lstm_without_lstm_test2_delay1_S1/vars.sh b/kaldi/test_cases/lstm_without_lstm_test2_delay1_S1/vars.sh deleted file mode 100644 index 94c31d31ad..0000000000 --- a/kaldi/test_cases/lstm_without_lstm_test2_delay1_S1/vars.sh +++ /dev/null @@ -1,4 +0,0 @@ -left_context=0 -right_context=0 -subsampling=1 -adjust_final_offset=0 diff --git a/kaldi/test_cases/lstm_without_lstm_test2_delay3_S1/input.ark b/kaldi/test_cases/lstm_without_lstm_test2_delay3_S1/input.ark deleted file mode 100644 index e0626b39e0..0000000000 --- a/kaldi/test_cases/lstm_without_lstm_test2_delay3_S1/input.ark +++ /dev/null @@ -1,11 +0,0 @@ -idx [ - 1.0 2.0 3.0 4.0 - 11.0 12.0 13.0 14.0 - 21.0 22.0 23.0 24.0 - 31.0 32.0 33.0 34.0 - 41.0 42.0 43.0 44.0 - 51.0 52.0 53.0 54.0 - 61.0 62.0 63.0 64.0 - 71.0 72.0 73.0 74.0 - 81.0 82.0 83.0 84.0 - 91.0 92.0 93.0 94.0] \ No newline at end of file diff --git a/kaldi/test_cases/lstm_without_lstm_test2_delay3_S1/io.npz b/kaldi/test_cases/lstm_without_lstm_test2_delay3_S1/io.npz deleted file mode 100644 index c54389c1bc..0000000000 Binary files a/kaldi/test_cases/lstm_without_lstm_test2_delay3_S1/io.npz and /dev/null differ diff --git a/kaldi/test_cases/lstm_without_lstm_test2_delay3_S1/model.raw b/kaldi/test_cases/lstm_without_lstm_test2_delay3_S1/model.raw deleted file mode 100644 index 9b201cc64b..0000000000 Binary files a/kaldi/test_cases/lstm_without_lstm_test2_delay3_S1/model.raw and /dev/null differ diff --git a/kaldi/test_cases/lstm_without_lstm_test2_delay3_S1/model.raw.txt b/kaldi/test_cases/lstm_without_lstm_test2_delay3_S1/model.raw.txt deleted file mode 100644 index 5a5f8772c9..0000000000 --- a/kaldi/test_cases/lstm_without_lstm_test2_delay3_S1/model.raw.txt +++ /dev/null @@ -1,44 +0,0 @@ - - -input-node name=input dim=4 -component-node name=lstm1.four_parts input=Append(input, IfDefined(Offset(lstm1.r_trunc,-3))) component=lstm1.W_all -component-node name=lstm1.lstm_nonlin input=Append(lstm1.four_parts, IfDefined(Offset(lstm1.c_trunc,-3))) component=lstm1.lstm_nonlin -dim-range-node name=lstm1.c input-node=lstm1.lstm_nonlin dim-offset=0 dim=4 -dim-range-node name=lstm1.m input-node=lstm1.lstm_nonlin dim-offset=4 dim=4 -component-node name=lstm1 input=lstm1.m component=lstm1.W_rp -dim-range-node name=lstm1.r input-node=lstm1 dim-offset=0 dim=2 -component-node name=lstm1.cr_trunc input=Append(lstm1.c, lstm1.r) component=lstm1.cr_trunc -dim-range-node name=lstm1.c_trunc input-node=lstm1.cr_trunc dim-offset=0 dim=4 -dim-range-node name=lstm1.r_trunc input-node=lstm1.cr_trunc dim-offset=4 dim=2 -output-node name=output input=lstm1 - - 4 - lstm1.W_all 1.0 1.0 0.0005 [ - 1.0 0.0 0.0 0.0 0.0 0.0 - 0.0 1.0 0.0 0.0 0.0 0.0 - 0.0 0.0 1.0 0.0 0.0 0.0 - 0.0 0.0 0.0 1.0 0.0 0.0 - 0.0 0.0 0.0 0.0 1.0 0.0 - 0.0 0.0 0.0 0.0 0.0 1.0 ] - [ 0.0 0.0 0.0 0.0 0.0 0.0 ] - 20 80 4 2000 4 F - lstm1.lstm_nonlin 1.0 1.0 0.0005 [ - 1.0 0.0 0.0 0.0 1.0 0.0 1.0 0.0 0.0 0.0 - 0.0 1.0 0.0 0.0 0.0 1.0 0.0 1.0 0.0 0.0 - 0.0 0.0 1.0 0.0 1.0 0.0 0.0 0.0 1.0 0.0 - 0.0 0.0 0.0 1.0 0.0 1.0 0.0 0.0 0.0 1.0 - 1.0 0.0 0.0 0.0 1.0 0.0 1.0 0.0 0.0 0.0 - 0.0 1.0 0.0 0.0 0.0 1.0 0.0 1.0 0.0 0.0 - 0.0 0.0 1.0 0.0 1.0 0.0 0.0 0.0 1.0 0.0 - 0.0 0.0 0.0 1.0 0.0 1.0 0.0 0.0 0.0 1.0 ] - [ 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 ] - 20 80 4 2000 4 F - lstm1.W_rp 1.0 1.0 0.0005 [ - 1.0 0.0 0.0 0.0 - 0.0 1.0 0.0 0.0 - 0.0 0.0 1.0 0.0 - 0.0 0.0 0.0 1.0 ] - [ 0.0 0.0 0.0 0.0 ] - 20 80 4 2000 4 F - lstm1.cr_trunc 6 1.0 30 15 20 3 0 0 0 0 - \ No newline at end of file diff --git a/kaldi/test_cases/lstm_without_lstm_test2_delay3_S1/output.ark b/kaldi/test_cases/lstm_without_lstm_test2_delay3_S1/output.ark deleted file mode 100644 index 561b85cda8..0000000000 --- a/kaldi/test_cases/lstm_without_lstm_test2_delay3_S1/output.ark +++ /dev/null @@ -1,11 +0,0 @@ -idx [ - 1 2 3 4 - 11 12 13 14 - 21 22 23 24 - 33 36 37 40 - 63 66 67 70 - 93 96 97 100 - 127 134 133 140 - 197 204 203 210 - 267 274 273 280 - 345 360 353 368 ] diff --git a/kaldi/test_cases/lstm_without_lstm_test2_delay3_S1/subsampling b/kaldi/test_cases/lstm_without_lstm_test2_delay3_S1/subsampling deleted file mode 100644 index 56a6051ca2..0000000000 --- a/kaldi/test_cases/lstm_without_lstm_test2_delay3_S1/subsampling +++ /dev/null @@ -1 +0,0 @@ -1 \ No newline at end of file diff --git a/kaldi/test_cases/lstm_without_lstm_test2_delay3_S1/test.sh b/kaldi/test_cases/lstm_without_lstm_test2_delay3_S1/test.sh deleted file mode 100644 index 1e6d560214..0000000000 --- a/kaldi/test_cases/lstm_without_lstm_test2_delay3_S1/test.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -nnet3-compute --frames-per-chunk=11 --frame-subsampling-factor=1 model.raw.txt ark:input.ark ark,t:predicted.ark 2>.error -fail=0 -diff output.ark predicted.ark || fail=1; -rm predicted.ark -echo "fail=$fail" && [ $fail -gt 0 ] && exit 1; diff --git a/kaldi/test_cases/lstm_without_lstm_test2_delay3_S1/vars.sh b/kaldi/test_cases/lstm_without_lstm_test2_delay3_S1/vars.sh deleted file mode 100644 index 94c31d31ad..0000000000 --- a/kaldi/test_cases/lstm_without_lstm_test2_delay3_S1/vars.sh +++ /dev/null @@ -1,4 +0,0 @@ -left_context=0 -right_context=0 -subsampling=1 -adjust_final_offset=0 diff --git a/kaldi/test_cases/lstm_without_lstm_test2_delay3_S3/input.ark b/kaldi/test_cases/lstm_without_lstm_test2_delay3_S3/input.ark deleted file mode 100644 index e0626b39e0..0000000000 --- a/kaldi/test_cases/lstm_without_lstm_test2_delay3_S3/input.ark +++ /dev/null @@ -1,11 +0,0 @@ -idx [ - 1.0 2.0 3.0 4.0 - 11.0 12.0 13.0 14.0 - 21.0 22.0 23.0 24.0 - 31.0 32.0 33.0 34.0 - 41.0 42.0 43.0 44.0 - 51.0 52.0 53.0 54.0 - 61.0 62.0 63.0 64.0 - 71.0 72.0 73.0 74.0 - 81.0 82.0 83.0 84.0 - 91.0 92.0 93.0 94.0] \ No newline at end of file diff --git a/kaldi/test_cases/lstm_without_lstm_test2_delay3_S3/io.npz b/kaldi/test_cases/lstm_without_lstm_test2_delay3_S3/io.npz deleted file mode 100644 index 28f625cfe5..0000000000 Binary files a/kaldi/test_cases/lstm_without_lstm_test2_delay3_S3/io.npz and /dev/null differ diff --git a/kaldi/test_cases/lstm_without_lstm_test2_delay3_S3/model.raw b/kaldi/test_cases/lstm_without_lstm_test2_delay3_S3/model.raw deleted file mode 100644 index 9b201cc64b..0000000000 Binary files a/kaldi/test_cases/lstm_without_lstm_test2_delay3_S3/model.raw and /dev/null differ diff --git a/kaldi/test_cases/lstm_without_lstm_test2_delay3_S3/model.raw.txt b/kaldi/test_cases/lstm_without_lstm_test2_delay3_S3/model.raw.txt deleted file mode 100644 index 5a5f8772c9..0000000000 --- a/kaldi/test_cases/lstm_without_lstm_test2_delay3_S3/model.raw.txt +++ /dev/null @@ -1,44 +0,0 @@ - - -input-node name=input dim=4 -component-node name=lstm1.four_parts input=Append(input, IfDefined(Offset(lstm1.r_trunc,-3))) component=lstm1.W_all -component-node name=lstm1.lstm_nonlin input=Append(lstm1.four_parts, IfDefined(Offset(lstm1.c_trunc,-3))) component=lstm1.lstm_nonlin -dim-range-node name=lstm1.c input-node=lstm1.lstm_nonlin dim-offset=0 dim=4 -dim-range-node name=lstm1.m input-node=lstm1.lstm_nonlin dim-offset=4 dim=4 -component-node name=lstm1 input=lstm1.m component=lstm1.W_rp -dim-range-node name=lstm1.r input-node=lstm1 dim-offset=0 dim=2 -component-node name=lstm1.cr_trunc input=Append(lstm1.c, lstm1.r) component=lstm1.cr_trunc -dim-range-node name=lstm1.c_trunc input-node=lstm1.cr_trunc dim-offset=0 dim=4 -dim-range-node name=lstm1.r_trunc input-node=lstm1.cr_trunc dim-offset=4 dim=2 -output-node name=output input=lstm1 - - 4 - lstm1.W_all 1.0 1.0 0.0005 [ - 1.0 0.0 0.0 0.0 0.0 0.0 - 0.0 1.0 0.0 0.0 0.0 0.0 - 0.0 0.0 1.0 0.0 0.0 0.0 - 0.0 0.0 0.0 1.0 0.0 0.0 - 0.0 0.0 0.0 0.0 1.0 0.0 - 0.0 0.0 0.0 0.0 0.0 1.0 ] - [ 0.0 0.0 0.0 0.0 0.0 0.0 ] - 20 80 4 2000 4 F - lstm1.lstm_nonlin 1.0 1.0 0.0005 [ - 1.0 0.0 0.0 0.0 1.0 0.0 1.0 0.0 0.0 0.0 - 0.0 1.0 0.0 0.0 0.0 1.0 0.0 1.0 0.0 0.0 - 0.0 0.0 1.0 0.0 1.0 0.0 0.0 0.0 1.0 0.0 - 0.0 0.0 0.0 1.0 0.0 1.0 0.0 0.0 0.0 1.0 - 1.0 0.0 0.0 0.0 1.0 0.0 1.0 0.0 0.0 0.0 - 0.0 1.0 0.0 0.0 0.0 1.0 0.0 1.0 0.0 0.0 - 0.0 0.0 1.0 0.0 1.0 0.0 0.0 0.0 1.0 0.0 - 0.0 0.0 0.0 1.0 0.0 1.0 0.0 0.0 0.0 1.0 ] - [ 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 ] - 20 80 4 2000 4 F - lstm1.W_rp 1.0 1.0 0.0005 [ - 1.0 0.0 0.0 0.0 - 0.0 1.0 0.0 0.0 - 0.0 0.0 1.0 0.0 - 0.0 0.0 0.0 1.0 ] - [ 0.0 0.0 0.0 0.0 ] - 20 80 4 2000 4 F - lstm1.cr_trunc 6 1.0 30 15 20 3 0 0 0 0 - \ No newline at end of file diff --git a/kaldi/test_cases/lstm_without_lstm_test2_delay3_S3/output.ark b/kaldi/test_cases/lstm_without_lstm_test2_delay3_S3/output.ark deleted file mode 100644 index e63bb1fe7b..0000000000 --- a/kaldi/test_cases/lstm_without_lstm_test2_delay3_S3/output.ark +++ /dev/null @@ -1,5 +0,0 @@ -idx [ - 1 2 3 4 - 33 36 37 40 - 127 134 133 140 - 345 360 353 368 ] diff --git a/kaldi/test_cases/lstm_without_lstm_test2_delay3_S3/subsampling b/kaldi/test_cases/lstm_without_lstm_test2_delay3_S3/subsampling deleted file mode 100644 index e440e5c842..0000000000 --- a/kaldi/test_cases/lstm_without_lstm_test2_delay3_S3/subsampling +++ /dev/null @@ -1 +0,0 @@ -3 \ No newline at end of file diff --git a/kaldi/test_cases/lstm_without_lstm_test2_delay3_S3/test.sh b/kaldi/test_cases/lstm_without_lstm_test2_delay3_S3/test.sh deleted file mode 100644 index 6a85ff09b7..0000000000 --- a/kaldi/test_cases/lstm_without_lstm_test2_delay3_S3/test.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -nnet3-compute --frames-per-chunk=11 --frame-subsampling-factor=3 model.raw.txt ark:input.ark ark,t:predicted.ark 2>.error -fail=0 -diff output.ark predicted.ark || fail=1; -rm predicted.ark -echo "fail=$fail" && [ $fail -gt 0 ] && exit 1; diff --git a/kaldi/test_cases/lstm_without_lstm_test2_delay3_S3/vars.sh b/kaldi/test_cases/lstm_without_lstm_test2_delay3_S3/vars.sh deleted file mode 100644 index 626d88e288..0000000000 --- a/kaldi/test_cases/lstm_without_lstm_test2_delay3_S3/vars.sh +++ /dev/null @@ -1,4 +0,0 @@ -left_context=0 -right_context=0 -subsampling=3 -adjust_final_offset=0 diff --git a/kaldi/test_cases/ngaffine_10x2_T13_S2/input.ark b/kaldi/test_cases/ngaffine_10x2_T13_S2/input.ark deleted file mode 100644 index e901c84366..0000000000 --- a/kaldi/test_cases/ngaffine_10x2_T13_S2/input.ark +++ /dev/null @@ -1,14 +0,0 @@ -idx [ - 0.0675282 -1.4247482 -0.54438275 0.11092259 -1.1509936 0.37569803 -0.6006387 -0.29169375 -0.6017066 1.8522782 - -0.013497225 -1.0577109 0.82254493 -1.2208437 0.2088636 -1.9596701 -1.328186 0.19686124 0.73846656 0.17136829 - -0.115648285 -0.30110368 -1.478522 -0.7198442 -0.46063876 1.0571222 0.3436183 -1.7630402 0.32408398 -0.38508227 - -0.676922 0.6116763 1.0309995 0.93128014 -0.83921754 -0.3092124 0.33126342 0.9755451 -0.47917423 -0.18565898 - -1.1063349 -1.1962066 0.8125258 1.35624 -0.07201012 1.0035329 0.361636 -0.6451197 0.3613956 1.5380366 - -0.03582604 1.5646436 -2.619745 0.8219025 0.08704707 -0.29900736 0.09176078 -1.9875689 -0.21967189 0.35711256 - 1.4778941 -0.5182702 -0.8084936 -0.501757 0.9154021 0.32875112 -0.5297602 0.51326746 0.09707755 0.968645 - -0.70205307 -0.32766214 -0.39210814 -1.4635149 0.2961203 0.26105526 0.005113457 -0.23458713 -1.4153707 -0.42064533 - -0.34271452 -0.80227727 -0.16128571 0.40405086 1.8861859 0.17457782 0.2575504 -0.07444592 -1.9187713 -0.026513875 - 0.06023021 2.463242 -0.19236097 0.30154735 -0.03471177 -1.168678 1.1428229 0.75193304 0.79103196 -0.90938747 - 1.4027944 -1.401851 0.5868571 2.1904557 -0.99053633 -0.5662977 0.09965137 -0.50347567 -1.5506635 0.06856298 - -1.0623037 0.47359243 -0.91942424 1.5499344 -0.7832533 -0.3220615 0.8135172 -1.2308643 0.22745994 1.3071427 - -1.6074833 0.18463387 0.2598828 0.78182286 -1.2369508 -1.3204566 0.52194154 0.29698467 0.25049284 0.3464482] \ No newline at end of file diff --git a/kaldi/test_cases/ngaffine_10x2_T13_S2/io.npz b/kaldi/test_cases/ngaffine_10x2_T13_S2/io.npz deleted file mode 100644 index d0a6f9eb83..0000000000 Binary files a/kaldi/test_cases/ngaffine_10x2_T13_S2/io.npz and /dev/null differ diff --git a/kaldi/test_cases/ngaffine_10x2_T13_S2/model.raw b/kaldi/test_cases/ngaffine_10x2_T13_S2/model.raw deleted file mode 100644 index 113a14e373..0000000000 Binary files a/kaldi/test_cases/ngaffine_10x2_T13_S2/model.raw and /dev/null differ diff --git a/kaldi/test_cases/ngaffine_10x2_T13_S2/model.raw.txt b/kaldi/test_cases/ngaffine_10x2_T13_S2/model.raw.txt deleted file mode 100644 index 41c9b7a4e5..0000000000 --- a/kaldi/test_cases/ngaffine_10x2_T13_S2/model.raw.txt +++ /dev/null @@ -1,13 +0,0 @@ - - -input-node name=input dim=10 -component-node name=affine1 input=input component=affine1 -output-node name=output input=affine1 - - 1 - affine1 1.0 1.0 0.0005 [ - 0.4967141530112327 -0.13826430117118466 0.6476885381006925 1.5230298564080254 -0.23415337472333597 -0.23413695694918055 1.5792128155073915 0.7674347291529088 -0.4694743859349521 0.5425600435859647 - -0.46341769281246226 -0.46572975357025687 0.24196227156603412 -1.913280244657798 -1.7249178325130328 -0.5622875292409727 -1.0128311203344238 0.3142473325952739 -0.9080240755212109 -1.4123037013352915 ] - [ 1.465648768921554 -0.22577630048653566 ] - 20 80 4 2000 4 F - \ No newline at end of file diff --git a/kaldi/test_cases/ngaffine_10x2_T13_S2/output.ark b/kaldi/test_cases/ngaffine_10x2_T13_S2/output.ark deleted file mode 100644 index 2e92379996..0000000000 --- a/kaldi/test_cases/ngaffine_10x2_T13_S2/output.ark +++ /dev/null @@ -1,8 +0,0 @@ -idx [ - 1.809141 0.2837168 - -1.915232 0.5352438 - 4.196088 -5.063635 - 0.7295054 -2.427073 - 2.670754 -2.361592 - 6.973203 -1.192853 - 3.72207 0.7242651 ] diff --git a/kaldi/test_cases/ngaffine_10x2_T13_S2/subsampling b/kaldi/test_cases/ngaffine_10x2_T13_S2/subsampling deleted file mode 100644 index d8263ee986..0000000000 --- a/kaldi/test_cases/ngaffine_10x2_T13_S2/subsampling +++ /dev/null @@ -1 +0,0 @@ -2 \ No newline at end of file diff --git a/kaldi/test_cases/ngaffine_10x2_T13_S2/test.sh b/kaldi/test_cases/ngaffine_10x2_T13_S2/test.sh deleted file mode 100644 index 2d9bbece10..0000000000 --- a/kaldi/test_cases/ngaffine_10x2_T13_S2/test.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -nnet3-compute --frames-per-chunk=14 --frame-subsampling-factor=2 model.raw.txt ark:input.ark ark,t:predicted.ark 2>.error -fail=0 -diff output.ark predicted.ark || fail=1; -rm predicted.ark -echo "fail=$fail" && [ $fail -gt 0 ] && exit 1; diff --git a/kaldi/test_cases/ngaffine_10x2_T13_S2/vars.sh b/kaldi/test_cases/ngaffine_10x2_T13_S2/vars.sh deleted file mode 100644 index 10e0761d23..0000000000 --- a/kaldi/test_cases/ngaffine_10x2_T13_S2/vars.sh +++ /dev/null @@ -1,4 +0,0 @@ -left_context=0 -right_context=0 -subsampling=2 -adjust_final_offset=0 diff --git a/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1/input.ark b/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1/input.ark deleted file mode 100644 index bdcceab6c4..0000000000 --- a/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1/input.ark +++ /dev/null @@ -1,21 +0,0 @@ -idx [ - 0.7140005 0.47323763 -0.07282891 -0.8467937 -1.5148473 -0.44651496 0.8563988 0.21409374 -1.2457387 0.17318092 0.3853174 -0.8838574 - 0.1537251 0.05820872 -1.1429703 0.35778737 0.5607845 1.0830512 1.053802 -1.3776693 -0.937825 0.5150353 0.51378596 0.51504767 - 3.8527315 0.5708905 1.1355656 0.9540018 0.65139127 -0.31526923 0.75896925 -0.77282524 -0.23681861 -0.48536354 0.08187414 2.3146586 - -1.8672652 0.68626016 -1.6127158 -0.47193187 1.0889506 0.06428002 -1.0777447 -0.7153037 0.67959774 -0.73036665 0.21645859 0.04557184 - -0.65160036 2.143944 0.633919 -2.0251427 0.18645431 -0.66178644 0.8524333 -0.79252076 -0.11473644 0.5049873 0.8657552 -1.2002964 - -0.33450124 -0.4749453 -0.65332925 1.7654543 0.4049817 -1.2608839 0.91786194 2.1221561 1.0324652 -1.51937 -0.48423406 1.2669111 - -0.70766944 0.44381943 0.77463406 -0.9269305 -0.059525356 -3.2412674 -1.0243876 -0.25256816 -1.2477832 1.6324114 -1.4301413 -0.4400445 - 0.13074058 1.4412733 -1.4358622 1.1631638 0.010233061 -0.9815087 0.4621035 0.1990597 -0.60021687 0.06980208 -0.3853136 0.113517344 - 0.66213065 1.5860168 -1.2378155 2.1330333 -1.9520878 -0.15178509 0.5883172 0.28099188 -0.6226995 -0.20812225 -0.49300092 -0.58936477 - 0.8496021 0.3570155 -0.6929096 0.89959985 0.30729952 0.8128621 0.62962884 -0.828995 -0.560181 0.7472936 0.6103703 -0.020901594 - 0.117327385 1.2776649 -0.5915714 0.5470974 -0.20219265 -0.2176812 1.0987768 0.8254163 0.81350964 1.3054788 0.021003842 0.68195295 - -0.31026676 0.32416636 -0.13014306 0.096995965 0.595157 -0.8182207 2.0923872 -1.0060173 -1.2141886 1.1581109 0.7916627 0.6241198 - 0.6283455 -0.012246773 -0.89725435 0.07580456 -0.6771617 0.9751197 -0.14705738 -0.8254972 -0.32138583 0.41293144 -0.5637246 -0.8222204 - 0.24368721 0.24496657 -0.50694317 -0.4710383 0.23204994 -1.4480844 -1.4074638 -0.7184442 -0.21344715 0.31090757 1.4753562 0.85765964 - -0.15993853 -0.019016208 -1.0025294 -0.018513136 -0.28865865 0.32271856 -0.82723093 0.51934654 1.5327389 -0.10876015 0.40171173 0.690144 - -0.40122047 0.22409248 0.0125924 0.0976761 -0.7730098 0.024510175 0.4979983 1.4511436 0.95927083 2.1531825 -0.7673476 0.87232065 - 0.18334201 2.189803 -0.8082983 -0.83972186 -0.59939265 -2.1238956 -0.52575505 -0.7591327 0.15039378 0.341756 1.8761709 0.95042384 - -0.57690364 -0.8984147 0.49191916 -1.3202332 1.8314588 1.1794401 -0.46917567 -1.7131345 1.3538724 -0.11453985 1.2378163 -1.5944277 - -0.599375 0.0052436995 0.046980593 -0.45006546 0.62284994 -1.0676204 -0.14237948 0.12029563 0.5144388 0.7116149 -1.1246421 -1.5341141 - 1.2776768 0.332314 -0.7484865 1.551152 0.11567464 1.1792972 0.06751848 2.0607479 1.7553408 -0.24896415 0.97157097 0.64537597] \ No newline at end of file diff --git a/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1/io.npz b/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1/io.npz deleted file mode 100644 index 26364e9ef0..0000000000 Binary files a/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1/io.npz and /dev/null differ diff --git a/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1/model.raw b/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1/model.raw deleted file mode 100644 index 6ba0f60bc5..0000000000 Binary files a/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1/model.raw and /dev/null differ diff --git a/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1/model.raw.txt b/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1/model.raw.txt deleted file mode 100644 index 7411e32808..0000000000 --- a/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1/model.raw.txt +++ /dev/null @@ -1,16 +0,0 @@ - - -input-node name=input dim=12 -component-node name=affine1 input=Append(Offset(input, -1), input, Offset(input, 1)) component=affine1 -output-node name=output input=affine1 - - 1 - affine1 1.0 1.0 0.0005 [ - 0.4967141530112327 -0.13826430117118466 0.6476885381006925 1.5230298564080254 -0.23415337472333597 -0.23413695694918055 1.5792128155073915 0.7674347291529088 -0.4694743859349521 0.5425600435859647 -0.46341769281246226 -0.46572975357025687 0.24196227156603412 -1.913280244657798 -1.7249178325130328 -0.5622875292409727 -1.0128311203344238 0.3142473325952739 -0.9080240755212109 -1.4123037013352915 1.465648768921554 -0.22577630048653566 0.06752820468792384 -1.4247481862134568 -0.5443827245251827 0.11092258970986608 -1.1509935774223028 0.37569801834567196 -0.600638689918805 -0.2916937497932768 -0.6017066122293969 1.8522781845089378 -0.013497224737933921 -1.0577109289559004 0.822544912103189 -1.2208436499710222 - 0.2088635950047554 -1.9596701238797756 -1.3281860488984305 0.19686123586912352 0.7384665799954104 0.1713682811899705 -0.11564828238824053 -0.3011036955892888 -1.4785219903674274 -0.7198442083947086 -0.4606387709597875 1.0571222262189157 0.3436182895684614 -1.763040155362734 0.324083969394795 -0.38508228041631654 -0.6769220003059587 0.6116762888408679 1.030999522495951 0.9312801191161986 -0.8392175232226385 -0.3092123758512146 0.33126343140356396 0.9755451271223592 -0.47917423784528995 -0.18565897666381712 -1.1063349740060282 -1.1962066240806708 0.812525822394198 1.356240028570823 -0.07201012158033385 1.0035328978920242 0.36163602504763415 -0.6451197546051243 0.36139560550841393 1.5380365664659692 - -0.03582603910995154 1.5646436558140062 -2.6197451040897444 0.8219025043752238 0.08704706823817121 -0.2990073504658674 0.0917607765355023 -1.9875689146008928 -0.21967188783751193 0.3571125715117464 1.477894044741516 -0.5182702182736474 -0.8084936028931876 -0.5017570435845365 0.9154021177020741 0.32875110965968446 -0.5297602037670388 0.5132674331133561 0.09707754934804039 0.9686449905328892 -0.7020530938773524 -0.3276621465977682 -0.39210815313215763 -1.4635149481321186 0.29612027706457605 0.26105527217988933 0.00511345664246089 -0.23458713337514692 -1.4153707420504142 -0.42064532276535904 -0.3427145165267695 -0.8022772692216189 -0.16128571166600914 0.4040508568145384 1.8861859012105302 0.17457781283183896 - 0.25755039072276437 -0.07444591576616721 -1.9187712152990415 -0.026513875449216878 0.06023020994102644 2.463242112485286 -0.19236096478112252 0.30154734233361247 -0.03471176970524331 -1.168678037619532 1.1428228145150205 0.7519330326867741 0.7910319470430469 -0.9093874547947389 1.4027943109360992 -1.4018510627922809 0.5868570938002703 2.1904556258099785 -0.9905363251306883 -0.5662977296027719 0.09965136508764122 -0.5034756541161992 -1.5506634310661327 0.06856297480602733 -1.0623037137261049 0.4735924306351816 -0.9194242342338032 1.5499344050175394 -0.7832532923362371 -0.3220615162056756 0.8135172173696698 -1.2308643164339552 0.22745993460412942 1.307142754282428 -1.6074832345612275 0.1846338585323042 - 0.25988279424842353 0.7818228717773104 -1.236950710878082 -1.3204566130842763 0.5219415656168976 0.29698467323318606 0.25049285034587654 0.3464482094969757 -0.6800247215784908 0.23225369716100355 0.29307247329868125 -0.7143514180263678 1.8657745111447566 0.4738329209117875 -1.1913034972026486 0.6565536086338297 -0.9746816702273214 0.787084603742452 1.158595579007404 -0.8206823183517105 0.9633761292443218 0.4127809269364983 0.82206015999449 1.8967929826539474 -0.2453881160028705 -0.7537361643574896 -0.8895144296255233 -0.8158102849654383 -0.0771017094141042 0.3411519748166439 0.27669079933001905 0.8271832490360238 0.01300189187790702 1.4535340771573169 -0.2646568332379561 2.720169166589619 ] - [ 0.6256673477650062 -0.8571575564162826 -1.0708924980611123 0.4824724152431853 -0.2234627853258509 ] - 20 80 4 2000 4 F - \ No newline at end of file diff --git a/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1/output.ark b/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1/output.ark deleted file mode 100644 index 1edb4c55ab..0000000000 --- a/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1/output.ark +++ /dev/null @@ -1,21 +0,0 @@ -idx [ - -1.134854 0.8712894 2.705016 -0.4042971 5.200716 - -4.678695 -2.890989 -1.321487 -4.214332 9.629061 - -3.271136 9.559806 -1.464019 8.654334 12.95902 - 6.053812 -5.574823 -1.297419 -2.082704 -9.244092 - -3.601506 -1.601937 0.5927655 3.173486 1.606522 - -7.014217 -12.55908 3.054814 -6.233734 5.565798 - 3.248849 -3.841751 -4.545848 2.547051 -12.48623 - 1.564631 -10.03891 -2.961065 -13.47472 -0.9561349 - 0.01000452 -3.30759 7.793035 -4.634419 6.20114 - 5.148249 -2.525181 3.771575 4.095139 8.660788 - -5.561712 -2.485524 4.429799 1.650034 8.555248 - -1.810602 -4.638556 -0.4269818 -3.080387 2.19873 - 8.097492 -0.4016845 8.820688 -2.162717 4.650778 - 3.737268 1.74654 -1.36161 -1.398894 5.437023 - -1.048443 0.02107257 0.724739 3.509366 10.46648 - -4.351821 -1.13817 7.092208 2.00244 2.706161 - -0.6942112 -7.254194 -10.62033 -15.46156 -1.358439 - 4.376475 -10.91437 5.252617 7.219319 -4.26246 - 1.594324 -1.643255 1.672666 -0.3950938 -2.902371 - 4.572469 2.131781 -4.120618 -10.25659 10.1342 ] diff --git a/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1/subsampling b/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1/subsampling deleted file mode 100644 index 56a6051ca2..0000000000 --- a/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1/subsampling +++ /dev/null @@ -1 +0,0 @@ -1 \ No newline at end of file diff --git a/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1/test.sh b/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1/test.sh deleted file mode 100644 index 181f37e5e2..0000000000 --- a/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1/test.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -nnet3-compute --frames-per-chunk=21 --frame-subsampling-factor=1 model.raw.txt ark:input.ark ark,t:predicted.ark 2>.error -fail=0 -diff output.ark predicted.ark || fail=1; -rm predicted.ark -echo "fail=$fail" && [ $fail -gt 0 ] && exit 1; diff --git a/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1/vars.sh b/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1/vars.sh deleted file mode 100644 index ef3a894e71..0000000000 --- a/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1/vars.sh +++ /dev/null @@ -1,4 +0,0 @@ -left_context=1 -right_context=1 -subsampling=1 -adjust_final_offset=0 diff --git a/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1__identity/input.ark b/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1__identity/input.ark deleted file mode 100644 index 385c7bac42..0000000000 --- a/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1__identity/input.ark +++ /dev/null @@ -1,21 +0,0 @@ -idx [ - 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0 10.0 11.0 12.0 - 11.0 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0 20.0 21.0 22.0 - 21.0 22.0 23.0 24.0 25.0 26.0 27.0 28.0 29.0 30.0 31.0 32.0 - 31.0 32.0 33.0 34.0 35.0 36.0 37.0 38.0 39.0 40.0 41.0 42.0 - 41.0 42.0 43.0 44.0 45.0 46.0 47.0 48.0 49.0 50.0 51.0 52.0 - 51.0 52.0 53.0 54.0 55.0 56.0 57.0 58.0 59.0 60.0 61.0 62.0 - 61.0 62.0 63.0 64.0 65.0 66.0 67.0 68.0 69.0 70.0 71.0 72.0 - 71.0 72.0 73.0 74.0 75.0 76.0 77.0 78.0 79.0 80.0 81.0 82.0 - 81.0 82.0 83.0 84.0 85.0 86.0 87.0 88.0 89.0 90.0 91.0 92.0 - 91.0 92.0 93.0 94.0 95.0 96.0 97.0 98.0 99.0 100.0 101.0 102.0 - 101.0 102.0 103.0 104.0 105.0 106.0 107.0 108.0 109.0 110.0 111.0 112.0 - 111.0 112.0 113.0 114.0 115.0 116.0 117.0 118.0 119.0 120.0 121.0 122.0 - 121.0 122.0 123.0 124.0 125.0 126.0 127.0 128.0 129.0 130.0 131.0 132.0 - 131.0 132.0 133.0 134.0 135.0 136.0 137.0 138.0 139.0 140.0 141.0 142.0 - 141.0 142.0 143.0 144.0 145.0 146.0 147.0 148.0 149.0 150.0 151.0 152.0 - 151.0 152.0 153.0 154.0 155.0 156.0 157.0 158.0 159.0 160.0 161.0 162.0 - 161.0 162.0 163.0 164.0 165.0 166.0 167.0 168.0 169.0 170.0 171.0 172.0 - 171.0 172.0 173.0 174.0 175.0 176.0 177.0 178.0 179.0 180.0 181.0 182.0 - 181.0 182.0 183.0 184.0 185.0 186.0 187.0 188.0 189.0 190.0 191.0 192.0 - 191.0 192.0 193.0 194.0 195.0 196.0 197.0 198.0 199.0 200.0 201.0 202.0] \ No newline at end of file diff --git a/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1__identity/io.npz b/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1__identity/io.npz deleted file mode 100644 index 1dca86716f..0000000000 Binary files a/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1__identity/io.npz and /dev/null differ diff --git a/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1__identity/model.raw b/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1__identity/model.raw deleted file mode 100644 index 5b5babe00a..0000000000 Binary files a/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1__identity/model.raw and /dev/null differ diff --git a/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1__identity/model.raw.txt b/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1__identity/model.raw.txt deleted file mode 100644 index 7e7577f104..0000000000 --- a/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1__identity/model.raw.txt +++ /dev/null @@ -1,16 +0,0 @@ - - -input-node name=input dim=12 -component-node name=affine1 input=Append(Offset(input, -1), input, Offset(input, 1)) component=affine1 -output-node name=output input=affine1 - - 1 - affine1 1.0 1.0 0.0005 [ - 1.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 1.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 1.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 ] - [ 0.0 0.0 0.0 0.0 0.0 ] - 20 80 4 2000 4 F - \ No newline at end of file diff --git a/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1__identity/output.ark b/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1__identity/output.ark deleted file mode 100644 index 6220b9abea..0000000000 --- a/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1__identity/output.ark +++ /dev/null @@ -1,21 +0,0 @@ -idx [ - 13 16 19 22 25 - 33 36 39 42 45 - 63 66 69 72 75 - 93 96 99 102 105 - 123 126 129 132 135 - 153 156 159 162 165 - 183 186 189 192 195 - 213 216 219 222 225 - 243 246 249 252 255 - 273 276 279 282 285 - 303 306 309 312 315 - 333 336 339 342 345 - 363 366 369 372 375 - 393 396 399 402 405 - 423 426 429 432 435 - 453 456 459 462 465 - 483 486 489 492 495 - 513 516 519 522 525 - 543 546 549 552 555 - 563 566 569 572 575 ] diff --git a/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1__identity/subsampling b/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1__identity/subsampling deleted file mode 100644 index 56a6051ca2..0000000000 --- a/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1__identity/subsampling +++ /dev/null @@ -1 +0,0 @@ -1 \ No newline at end of file diff --git a/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1__identity/test.sh b/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1__identity/test.sh deleted file mode 100644 index 181f37e5e2..0000000000 --- a/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1__identity/test.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -nnet3-compute --frames-per-chunk=21 --frame-subsampling-factor=1 model.raw.txt ark:input.ark ark,t:predicted.ark 2>.error -fail=0 -diff output.ark predicted.ark || fail=1; -rm predicted.ark -echo "fail=$fail" && [ $fail -gt 0 ] && exit 1; diff --git a/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1__identity/vars.sh b/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1__identity/vars.sh deleted file mode 100644 index ef3a894e71..0000000000 --- a/kaldi/test_cases/ngaffine_12x5_T20_S1_o-1_0_1__identity/vars.sh +++ /dev/null @@ -1,4 +0,0 @@ -left_context=1 -right_context=1 -subsampling=1 -adjust_final_offset=0 diff --git a/kaldi/test_cases/ngaffine_17x3_T29_S1_o-3_0_3/input.ark b/kaldi/test_cases/ngaffine_17x3_T29_S1_o-3_0_3/input.ark deleted file mode 100644 index 52d7f1209a..0000000000 --- a/kaldi/test_cases/ngaffine_17x3_T29_S1_o-3_0_3/input.ark +++ /dev/null @@ -1,30 +0,0 @@ -idx [ - 1.8657745 0.47383294 -1.1913035 0.6565536 -0.9746817 0.7870846 1.1585956 -0.82068235 0.9633761 0.41278094 0.82206017 1.896793 -0.24538812 -0.75373614 -0.88951445 -0.81581026 -0.07710171 - 0.34115198 0.2766908 0.82718325 0.013001892 1.4535341 -0.26465684 2.720169 0.62566733 -0.8571575 -1.0708925 0.48247242 -0.22346279 0.7140005 0.47323763 -0.07282891 -0.8467937 -1.5148473 - -0.44651496 0.8563988 0.21409374 -1.2457387 0.17318092 0.3853174 -0.8838574 0.1537251 0.05820872 -1.1429703 0.35778737 0.5607845 1.0830512 1.053802 -1.3776693 -0.937825 0.5150353 - 0.51378596 0.51504767 3.8527315 0.5708905 1.1355656 0.9540018 0.65139127 -0.31526923 0.75896925 -0.77282524 -0.23681861 -0.48536354 0.08187414 2.3146586 -1.8672652 0.68626016 -1.6127158 - -0.47193187 1.0889506 0.06428002 -1.0777447 -0.7153037 0.67959774 -0.73036665 0.21645859 0.04557184 -0.65160036 2.143944 0.633919 -2.0251427 0.18645431 -0.66178644 0.8524333 -0.79252076 - -0.11473644 0.5049873 0.8657552 -1.2002964 -0.33450124 -0.4749453 -0.65332925 1.7654543 0.4049817 -1.2608839 0.91786194 2.1221561 1.0324652 -1.51937 -0.48423406 1.2669111 -0.70766944 - 0.44381943 0.77463406 -0.9269305 -0.059525356 -3.2412674 -1.0243876 -0.25256816 -1.2477832 1.6324114 -1.4301413 -0.4400445 0.13074058 1.4412733 -1.4358622 1.1631638 0.010233061 -0.9815087 - 0.4621035 0.1990597 -0.60021687 0.06980208 -0.3853136 0.113517344 0.66213065 1.5860168 -1.2378155 2.1330333 -1.9520878 -0.15178509 0.5883172 0.28099188 -0.6226995 -0.20812225 -0.49300092 - -0.58936477 0.8496021 0.3570155 -0.6929096 0.89959985 0.30729952 0.8128621 0.62962884 -0.828995 -0.560181 0.7472936 0.6103703 -0.020901594 0.117327385 1.2776649 -0.5915714 0.5470974 - -0.20219265 -0.2176812 1.0987768 0.8254163 0.81350964 1.3054788 0.021003842 0.68195295 -0.31026676 0.32416636 -0.13014306 0.096995965 0.595157 -0.8182207 2.0923872 -1.0060173 -1.2141886 - 1.1581109 0.7916627 0.6241198 0.6283455 -0.012246773 -0.89725435 0.07580456 -0.6771617 0.9751197 -0.14705738 -0.8254972 -0.32138583 0.41293144 -0.5637246 -0.8222204 0.24368721 0.24496657 - -0.50694317 -0.4710383 0.23204994 -1.4480844 -1.4074638 -0.7184442 -0.21344715 0.31090757 1.4753562 0.85765964 -0.15993853 -0.019016208 -1.0025294 -0.018513136 -0.28865865 0.32271856 -0.82723093 - 0.51934654 1.5327389 -0.10876015 0.40171173 0.690144 -0.40122047 0.22409248 0.0125924 0.0976761 -0.7730098 0.024510175 0.4979983 1.4511436 0.95927083 2.1531825 -0.7673476 0.87232065 - 0.18334201 2.189803 -0.8082983 -0.83972186 -0.59939265 -2.1238956 -0.52575505 -0.7591327 0.15039378 0.341756 1.8761709 0.95042384 -0.57690364 -0.8984147 0.49191916 -1.3202332 1.8314588 - 1.1794401 -0.46917567 -1.7131345 1.3538724 -0.11453985 1.2378163 -1.5944277 -0.599375 0.0052436995 0.046980593 -0.45006546 0.62284994 -1.0676204 -0.14237948 0.12029563 0.5144388 0.7116149 - -1.1246421 -1.5341141 1.2776768 0.332314 -0.7484865 1.551152 0.11567464 1.1792972 0.06751848 2.0607479 1.7553408 -0.24896415 0.97157097 0.64537597 1.3686316 -0.96492344 0.6860515 - 1.0584245 -1.7587395 -1.1832585 -2.0392323 -0.26940683 0.71754223 1.502357 0.07409478 1.6286155 -1.3801014 -1.7033825 -0.0555477 0.38406545 -0.03269475 -2.0674422 -0.08912004 -1.3044695 - 0.66967255 0.36659825 -0.9398798 -0.5138669 -1.0592135 -0.0626791 0.9551423 -0.98572606 0.5040465 -0.53025764 -0.79287285 -0.10703036 -1.0352423 -0.5536493 -1.1978779 1.9647251 0.035263553 - -0.6997255 0.21397991 -0.11232805 -0.2209696 0.6141667 0.7575077 -0.5305011 -0.57581824 -0.27505168 -2.3019211 -1.5151911 1.3668742 1.6449677 -0.24903604 0.576557 0.31125015 3.0788808 - 1.1195749 -0.12791759 -0.9555404 -1.6064463 0.20346363 -0.75635076 -1.4222537 -0.6465729 -1.081548 1.6871417 0.8816398 -0.007972641 1.4799441 0.077368304 -0.8612842 1.5231241 0.53891003 - -1.0372461 -0.19033867 -0.8756183 -1.3827997 0.92617756 1.9094167 -1.3985676 0.5629692 -0.6506426 -0.4871254 -0.59239393 -0.8639908 0.048521627 -0.83095014 0.27045682 -0.05023811 -0.23894805 - -0.9075637 -0.5767713 0.75539124 0.5009172 -0.9775552 0.0993323 0.7513871 -1.6694052 0.5433602 -0.66262376 0.57059866 -0.7632592 -1.804882 -1.6275425 0.04808495 0.2597225 -0.9043166 - 0.6385925 -1.66152 -0.066079795 -1.2110162 -0.6518361 0.04739867 -0.8604134 -0.38455555 1.0062928 -0.5768919 0.8356921 -1.1297069 0.52980417 1.4415686 -2.4716444 -0.79689527 0.57707214 - -0.20304538 0.37114587 -0.6039852 0.08658979 -0.15567723 1.1677821 0.25442085 0.33760267 -0.41187698 -0.48760623 -0.43255818 0.39445215 -0.42098448 0.28977486 2.0754008 0.8711247 -0.32602352 - 1.201214 -0.40807536 -2.0381246 -1.0080863 -1.8707919 -0.35151348 0.01841838 1.6764373 0.32692736 -0.21910053 0.8294056 -2.2111354 0.23561455 0.7708652 -1.4785862 1.143754 0.33849642 - -0.4152879 0.63278186 2.2706928 0.18186626 0.2482206 -0.4593609 -0.8498444 0.8303358 -0.8560838 0.07156624 -0.47765744 0.47897983 0.3336621 1.03754 -0.5100164 -0.26987493 -0.9787637 - -0.44429326 0.3773005 0.75698864 -0.92216533 0.8696059 1.3556379 0.4134349 1.8767958 -0.7737892 -1.2446547 -1.7787203 1.4960443 0.65436566 -0.05558467 0.27996862 -1.125489 2.445752 - 0.12922119 0.109394796 0.7257666 0.48100924 0.22388403 -0.7904745 0.47146836 1.8820245 1.34542 1.5931866 -0.5112157 -0.98960483 -0.12578692 0.05572491 1.0941916 -1.6924646 1.5295503 - -0.1580079 -0.42688107 -1.0121044 -1.6548567 0.8231706 0.07331797 -1.2899609 -1.2950788 -0.3357847 1.6690215 -0.25959134 -1.503143 -0.24574307 -0.27272356 -2.6968865 -0.054294866 -0.23093453] \ No newline at end of file diff --git a/kaldi/test_cases/ngaffine_17x3_T29_S1_o-3_0_3/io.npz b/kaldi/test_cases/ngaffine_17x3_T29_S1_o-3_0_3/io.npz deleted file mode 100644 index 1ea11e2de0..0000000000 Binary files a/kaldi/test_cases/ngaffine_17x3_T29_S1_o-3_0_3/io.npz and /dev/null differ diff --git a/kaldi/test_cases/ngaffine_17x3_T29_S1_o-3_0_3/model.raw b/kaldi/test_cases/ngaffine_17x3_T29_S1_o-3_0_3/model.raw deleted file mode 100644 index f468c145cb..0000000000 Binary files a/kaldi/test_cases/ngaffine_17x3_T29_S1_o-3_0_3/model.raw and /dev/null differ diff --git a/kaldi/test_cases/ngaffine_17x3_T29_S1_o-3_0_3/model.raw.txt b/kaldi/test_cases/ngaffine_17x3_T29_S1_o-3_0_3/model.raw.txt deleted file mode 100644 index 69c7dbbe3d..0000000000 --- a/kaldi/test_cases/ngaffine_17x3_T29_S1_o-3_0_3/model.raw.txt +++ /dev/null @@ -1,14 +0,0 @@ - - -input-node name=input dim=17 -component-node name=affine1 input=Append(Offset(input, -3), input, Offset(input, 3)) component=affine1 -output-node name=output input=affine1 - - 1 - affine1 1.0 1.0 0.0005 [ - 0.4967141530112327 -0.13826430117118466 0.6476885381006925 1.5230298564080254 -0.23415337472333597 -0.23413695694918055 1.5792128155073915 0.7674347291529088 -0.4694743859349521 0.5425600435859647 -0.46341769281246226 -0.46572975357025687 0.24196227156603412 -1.913280244657798 -1.7249178325130328 -0.5622875292409727 -1.0128311203344238 0.3142473325952739 -0.9080240755212109 -1.4123037013352915 1.465648768921554 -0.22577630048653566 0.06752820468792384 -1.4247481862134568 -0.5443827245251827 0.11092258970986608 -1.1509935774223028 0.37569801834567196 -0.600638689918805 -0.2916937497932768 -0.6017066122293969 1.8522781845089378 -0.013497224737933921 -1.0577109289559004 0.822544912103189 -1.2208436499710222 0.2088635950047554 -1.9596701238797756 -1.3281860488984305 0.19686123586912352 0.7384665799954104 0.1713682811899705 -0.11564828238824053 -0.3011036955892888 -1.4785219903674274 -0.7198442083947086 -0.4606387709597875 1.0571222262189157 0.3436182895684614 -1.763040155362734 0.324083969394795 - -0.38508228041631654 -0.6769220003059587 0.6116762888408679 1.030999522495951 0.9312801191161986 -0.8392175232226385 -0.3092123758512146 0.33126343140356396 0.9755451271223592 -0.47917423784528995 -0.18565897666381712 -1.1063349740060282 -1.1962066240806708 0.812525822394198 1.356240028570823 -0.07201012158033385 1.0035328978920242 0.36163602504763415 -0.6451197546051243 0.36139560550841393 1.5380365664659692 -0.03582603910995154 1.5646436558140062 -2.6197451040897444 0.8219025043752238 0.08704706823817121 -0.2990073504658674 0.0917607765355023 -1.9875689146008928 -0.21967188783751193 0.3571125715117464 1.477894044741516 -0.5182702182736474 -0.8084936028931876 -0.5017570435845365 0.9154021177020741 0.32875110965968446 -0.5297602037670388 0.5132674331133561 0.09707754934804039 0.9686449905328892 -0.7020530938773524 -0.3276621465977682 -0.39210815313215763 -1.4635149481321186 0.29612027706457605 0.26105527217988933 0.00511345664246089 -0.23458713337514692 -1.4153707420504142 -0.42064532276535904 - -0.3427145165267695 -0.8022772692216189 -0.16128571166600914 0.4040508568145384 1.8861859012105302 0.17457781283183896 0.25755039072276437 -0.07444591576616721 -1.9187712152990415 -0.026513875449216878 0.06023020994102644 2.463242112485286 -0.19236096478112252 0.30154734233361247 -0.03471176970524331 -1.168678037619532 1.1428228145150205 0.7519330326867741 0.7910319470430469 -0.9093874547947389 1.4027943109360992 -1.4018510627922809 0.5868570938002703 2.1904556258099785 -0.9905363251306883 -0.5662977296027719 0.09965136508764122 -0.5034756541161992 -1.5506634310661327 0.06856297480602733 -1.0623037137261049 0.4735924306351816 -0.9194242342338032 1.5499344050175394 -0.7832532923362371 -0.3220615162056756 0.8135172173696698 -1.2308643164339552 0.22745993460412942 1.307142754282428 -1.6074832345612275 0.1846338585323042 0.25988279424842353 0.7818228717773104 -1.236950710878082 -1.3204566130842763 0.5219415656168976 0.29698467323318606 0.25049285034587654 0.3464482094969757 -0.6800247215784908 ] - [ 0.23225369716100355 0.29307247329868125 -0.7143514180263678 ] - 20 80 4 2000 4 F - \ No newline at end of file diff --git a/kaldi/test_cases/ngaffine_17x3_T29_S1_o-3_0_3/output.ark b/kaldi/test_cases/ngaffine_17x3_T29_S1_o-3_0_3/output.ark deleted file mode 100644 index 72d6a01c3b..0000000000 --- a/kaldi/test_cases/ngaffine_17x3_T29_S1_o-3_0_3/output.ark +++ /dev/null @@ -1,30 +0,0 @@ -idx [ - 3.634053 -9.182035 11.44212 - -2.192792 -13.85134 1.289865 - -5.54109 -10.24936 -5.122187 - -1.609306 -3.917115 -8.557221 - 9.789041 1.024747 -0.9583448 - -6.173634 -5.395953 -10.39915 - 10.31861 2.948756 5.553741 - -10.14997 -2.399945 -1.985199 - 3.093121 -8.841593 1.872911 - 3.714371 6.885798 -15.16532 - 2.609888 -6.363918 -5.280409 - -7.171999 -4.897726 -0.6690839 - 5.849036 -1.60988 8.278002 - 12.65702 -3.392656 0.5287195 - 6.587031 5.393914 -8.014937 - -6.435704 12.90727 1.853009 - -9.616064 -11.10084 2.242093 - -2.981221 -5.076088 13.68754 - -2.956998 -1.022064 1.447211 - 7.947038 -10.79569 -7.096536 - 4.341217 3.269702 -8.633441 - 1.830026 -4.955863 11.32594 - -6.915119 -2.76564 -0.8195634 - 6.549872 7.631704 1.758823 - 8.161902 2.833146 -2.529698 - -4.924961 2.108768 -5.285467 - -10.16407 -1.134327 6.521643 - -1.550027 1.600154 -0.7923141 - -1.284905 -0.9837613 4.353642 ] diff --git a/kaldi/test_cases/ngaffine_17x3_T29_S1_o-3_0_3/subsampling b/kaldi/test_cases/ngaffine_17x3_T29_S1_o-3_0_3/subsampling deleted file mode 100644 index 56a6051ca2..0000000000 --- a/kaldi/test_cases/ngaffine_17x3_T29_S1_o-3_0_3/subsampling +++ /dev/null @@ -1 +0,0 @@ -1 \ No newline at end of file diff --git a/kaldi/test_cases/ngaffine_17x3_T29_S1_o-3_0_3/test.sh b/kaldi/test_cases/ngaffine_17x3_T29_S1_o-3_0_3/test.sh deleted file mode 100644 index da8cdeea64..0000000000 --- a/kaldi/test_cases/ngaffine_17x3_T29_S1_o-3_0_3/test.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -nnet3-compute --frames-per-chunk=30 --frame-subsampling-factor=1 model.raw.txt ark:input.ark ark,t:predicted.ark 2>.error -fail=0 -diff output.ark predicted.ark || fail=1; -rm predicted.ark -echo "fail=$fail" && [ $fail -gt 0 ] && exit 1; diff --git a/kaldi/test_cases/ngaffine_17x3_T29_S1_o-3_0_3/vars.sh b/kaldi/test_cases/ngaffine_17x3_T29_S1_o-3_0_3/vars.sh deleted file mode 100644 index dc374f0860..0000000000 --- a/kaldi/test_cases/ngaffine_17x3_T29_S1_o-3_0_3/vars.sh +++ /dev/null @@ -1,4 +0,0 @@ -left_context=3 -right_context=3 -subsampling=1 -adjust_final_offset=0 diff --git a/kaldi/test_cases/ngaffine_23x15_T1_S1/input.ark b/kaldi/test_cases/ngaffine_23x15_T1_S1/input.ark deleted file mode 100644 index a1502a12ad..0000000000 --- a/kaldi/test_cases/ngaffine_23x15_T1_S1/input.ark +++ /dev/null @@ -1,2 +0,0 @@ -idx [ - 0.51934654 1.5327389 -0.10876015 0.40171173 0.690144 -0.40122047 0.22409248 0.0125924 0.0976761 -0.7730098 0.024510175 0.4979983 1.4511436 0.95927083 2.1531825 -0.7673476 0.87232065 0.18334201 2.189803 -0.8082983 -0.83972186 -0.59939265 -2.1238956] \ No newline at end of file diff --git a/kaldi/test_cases/ngaffine_23x15_T1_S1/io.npz b/kaldi/test_cases/ngaffine_23x15_T1_S1/io.npz deleted file mode 100644 index 9fb79cd4ce..0000000000 Binary files a/kaldi/test_cases/ngaffine_23x15_T1_S1/io.npz and /dev/null differ diff --git a/kaldi/test_cases/ngaffine_23x15_T1_S1/model.raw b/kaldi/test_cases/ngaffine_23x15_T1_S1/model.raw deleted file mode 100644 index 3b23738e27..0000000000 Binary files a/kaldi/test_cases/ngaffine_23x15_T1_S1/model.raw and /dev/null differ diff --git a/kaldi/test_cases/ngaffine_23x15_T1_S1/model.raw.txt b/kaldi/test_cases/ngaffine_23x15_T1_S1/model.raw.txt deleted file mode 100644 index f06524f995..0000000000 --- a/kaldi/test_cases/ngaffine_23x15_T1_S1/model.raw.txt +++ /dev/null @@ -1,26 +0,0 @@ - - -input-node name=input dim=23 -component-node name=affine1 input=input component=affine1 -output-node name=output input=affine1 - - 1 - affine1 1.0 1.0 0.0005 [ - 0.4967141530112327 -0.13826430117118466 0.6476885381006925 1.5230298564080254 -0.23415337472333597 -0.23413695694918055 1.5792128155073915 0.7674347291529088 -0.4694743859349521 0.5425600435859647 -0.46341769281246226 -0.46572975357025687 0.24196227156603412 -1.913280244657798 -1.7249178325130328 -0.5622875292409727 -1.0128311203344238 0.3142473325952739 -0.9080240755212109 -1.4123037013352915 1.465648768921554 -0.22577630048653566 0.06752820468792384 - -1.4247481862134568 -0.5443827245251827 0.11092258970986608 -1.1509935774223028 0.37569801834567196 -0.600638689918805 -0.2916937497932768 -0.6017066122293969 1.8522781845089378 -0.013497224737933921 -1.0577109289559004 0.822544912103189 -1.2208436499710222 0.2088635950047554 -1.9596701238797756 -1.3281860488984305 0.19686123586912352 0.7384665799954104 0.1713682811899705 -0.11564828238824053 -0.3011036955892888 -1.4785219903674274 -0.7198442083947086 - -0.4606387709597875 1.0571222262189157 0.3436182895684614 -1.763040155362734 0.324083969394795 -0.38508228041631654 -0.6769220003059587 0.6116762888408679 1.030999522495951 0.9312801191161986 -0.8392175232226385 -0.3092123758512146 0.33126343140356396 0.9755451271223592 -0.47917423784528995 -0.18565897666381712 -1.1063349740060282 -1.1962066240806708 0.812525822394198 1.356240028570823 -0.07201012158033385 1.0035328978920242 0.36163602504763415 - -0.6451197546051243 0.36139560550841393 1.5380365664659692 -0.03582603910995154 1.5646436558140062 -2.6197451040897444 0.8219025043752238 0.08704706823817121 -0.2990073504658674 0.0917607765355023 -1.9875689146008928 -0.21967188783751193 0.3571125715117464 1.477894044741516 -0.5182702182736474 -0.8084936028931876 -0.5017570435845365 0.9154021177020741 0.32875110965968446 -0.5297602037670388 0.5132674331133561 0.09707754934804039 0.9686449905328892 - -0.7020530938773524 -0.3276621465977682 -0.39210815313215763 -1.4635149481321186 0.29612027706457605 0.26105527217988933 0.00511345664246089 -0.23458713337514692 -1.4153707420504142 -0.42064532276535904 -0.3427145165267695 -0.8022772692216189 -0.16128571166600914 0.4040508568145384 1.8861859012105302 0.17457781283183896 0.25755039072276437 -0.07444591576616721 -1.9187712152990415 -0.026513875449216878 0.06023020994102644 2.463242112485286 -0.19236096478112252 - 0.30154734233361247 -0.03471176970524331 -1.168678037619532 1.1428228145150205 0.7519330326867741 0.7910319470430469 -0.9093874547947389 1.4027943109360992 -1.4018510627922809 0.5868570938002703 2.1904556258099785 -0.9905363251306883 -0.5662977296027719 0.09965136508764122 -0.5034756541161992 -1.5506634310661327 0.06856297480602733 -1.0623037137261049 0.4735924306351816 -0.9194242342338032 1.5499344050175394 -0.7832532923362371 -0.3220615162056756 - 0.8135172173696698 -1.2308643164339552 0.22745993460412942 1.307142754282428 -1.6074832345612275 0.1846338585323042 0.25988279424842353 0.7818228717773104 -1.236950710878082 -1.3204566130842763 0.5219415656168976 0.29698467323318606 0.25049285034587654 0.3464482094969757 -0.6800247215784908 0.23225369716100355 0.29307247329868125 -0.7143514180263678 1.8657745111447566 0.4738329209117875 -1.1913034972026486 0.6565536086338297 -0.9746816702273214 - 0.787084603742452 1.158595579007404 -0.8206823183517105 0.9633761292443218 0.4127809269364983 0.82206015999449 1.8967929826539474 -0.2453881160028705 -0.7537361643574896 -0.8895144296255233 -0.8158102849654383 -0.0771017094141042 0.3411519748166439 0.27669079933001905 0.8271832490360238 0.01300189187790702 1.4535340771573169 -0.2646568332379561 2.720169166589619 0.6256673477650062 -0.8571575564162826 -1.0708924980611123 0.4824724152431853 - -0.2234627853258509 0.714000494092092 0.47323762457354485 -0.07282891265687277 -0.846793718068405 -1.5148472246858646 -0.4465149520670211 0.8563987943234723 0.21409374413020396 -1.245738778711988 0.173180925851182 0.3853173797288368 -0.883857436201133 0.1537251059455279 0.058208718445999896 -1.142970297830623 0.3577873603482833 0.5607845263682344 1.083051243175277 1.053802052034903 -1.377669367957091 -0.9378250399151228 0.5150352672086598 - 0.5137859509122088 0.5150476863060479 3.852731490654721 0.570890510693167 1.135565640180599 0.9540017634932023 0.651391251305798 -0.3152692446403456 0.7589692204932674 -0.7728252145375718 -0.23681860674000887 -0.48536354782910346 0.08187413938632256 2.3146585666735087 -1.867265192591748 0.6862601903745135 -1.6127158711896517 -0.47193186578943347 1.088950596967366 0.06428001909546277 -1.0777447779293061 -0.7153037092599682 0.6795977489346758 - -0.7303666317171367 0.21645858958197486 0.045571839903813784 -0.6516003476058171 2.1439440893253257 0.6339190223180112 -2.025142586657607 0.18645431476942764 -0.661786464768388 0.852433334796224 -0.7925207384327007 -0.11473644146689901 0.5049872789804571 0.8657551941701215 -1.2002964070557762 -0.3345012358409484 -0.4749453111609562 -0.6533292325737119 1.7654542402810969 0.40498171096095553 -1.2608839543350452 0.9178619470547761 2.1221561970126332 - 1.0324652605511468 -1.5193699659540134 -0.48423407286625136 1.2669111491866227 -0.7076694656187807 0.44381942814622843 0.7746340534293368 -0.926930471578083 -0.05952535606180008 -3.2412673400690726 -1.0243876413342898 -0.2525681513931603 -1.2477831819648495 1.6324113039316352 -1.4301413779606327 -0.44004448669698376 0.13074057728609134 1.4412732890661155 -1.4358621511794394 1.1631637521549596 0.010233061019587049 -0.9815086510479509 0.46210347426327075 - 0.19905969557347003 -0.6002168771587947 0.06980208499001891 -0.3853135968617602 0.11351734525124804 0.6621306745210467 1.586016816145352 -1.237815498826849 2.1330333746562666 -1.9520877995225019 -0.15178509503558332 0.5883172064845765 0.28099186773503265 -0.6226995198205938 -0.20812225035727522 -0.4930009346588328 -0.5893647569442115 0.8496020970210246 0.35701548596504734 -0.6929095952606542 0.8995998754332507 0.30729952087660933 0.8128621188389601 - 0.6296288419236122 -0.8289950109220723 -0.5601810401969696 0.7472936051232618 0.6103702654334648 -0.020901593964148132 0.117327383308782 1.277664895788425 -0.5915713888358299 0.5470973811700379 -0.20219265243389406 -0.2176812032272203 1.09877685198719 0.8254163489880298 0.8135096360006385 1.305478807154329 0.02100384163275905 0.6819529712949639 -0.31026675659345604 0.3241663524884421 -0.13014305436768459 0.09699596499271819 0.5951570254369136 - -0.8182206832334725 2.0923872756854602 -1.006017381499702 -1.2141886127877322 1.1581108735000678 0.7916626939629359 0.6241198170521551 0.6283455092642799 -0.012246772846914623 -0.8972543714858315 0.07580455819372633 -0.6771617115121117 0.9751197334177512 -0.14705738150213865 -0.8254971967925115 -0.32138584165299344 0.41293145427562433 -0.5637245528039747 -0.8222203955664315 0.2436872114919123 0.24496657110872277 -0.5069431753711298 -0.4710383056183228 ] - [ 0.2320499373576363 -1.4480843414973241 -1.4074637743765552 -0.718444221252436 -0.21344715171184725 0.3109075655980046 1.475356216949552 0.8576596232020194 -0.1599385299634271 -0.01901620790268883 -1.0025293646378088 -0.01851313599238993 -0.2886586389201383 0.3227185603380895 -0.827230943552323 ] - 20 80 4 2000 4 F - \ No newline at end of file diff --git a/kaldi/test_cases/ngaffine_23x15_T1_S1/output.ark b/kaldi/test_cases/ngaffine_23x15_T1_S1/output.ark deleted file mode 100644 index dc9c99f6fd..0000000000 --- a/kaldi/test_cases/ngaffine_23x15_T1_S1/output.ark +++ /dev/null @@ -1,2 +0,0 @@ -idx [ - -7.271574 -3.822279 -2.614822 1.148865 -2.75561 0.8626839 6.014538 13.98997 4.278927 0.3362117 -3.101624 -6.499584 -1.050447 0.743319 1.664112 ] diff --git a/kaldi/test_cases/ngaffine_23x15_T1_S1/subsampling b/kaldi/test_cases/ngaffine_23x15_T1_S1/subsampling deleted file mode 100644 index 56a6051ca2..0000000000 --- a/kaldi/test_cases/ngaffine_23x15_T1_S1/subsampling +++ /dev/null @@ -1 +0,0 @@ -1 \ No newline at end of file diff --git a/kaldi/test_cases/ngaffine_23x15_T1_S1/test.sh b/kaldi/test_cases/ngaffine_23x15_T1_S1/test.sh deleted file mode 100644 index e89b076a34..0000000000 --- a/kaldi/test_cases/ngaffine_23x15_T1_S1/test.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -nnet3-compute --frames-per-chunk=2 --frame-subsampling-factor=1 model.raw.txt ark:input.ark ark,t:predicted.ark 2>.error -fail=0 -diff output.ark predicted.ark || fail=1; -rm predicted.ark -echo "fail=$fail" && [ $fail -gt 0 ] && exit 1; diff --git a/kaldi/test_cases/ngaffine_23x15_T1_S1/vars.sh b/kaldi/test_cases/ngaffine_23x15_T1_S1/vars.sh deleted file mode 100644 index 94c31d31ad..0000000000 --- a/kaldi/test_cases/ngaffine_23x15_T1_S1/vars.sh +++ /dev/null @@ -1,4 +0,0 @@ -left_context=0 -right_context=0 -subsampling=1 -adjust_final_offset=0 diff --git a/kaldi/test_cases/ngaffine_40x10_T15_S1/input.ark b/kaldi/test_cases/ngaffine_40x10_T15_S1/input.ark deleted file mode 100644 index 010edf6969..0000000000 --- a/kaldi/test_cases/ngaffine_40x10_T15_S1/input.ark +++ /dev/null @@ -1,16 +0,0 @@ -idx [ - 0.7116149 -1.1246421 -1.5341141 1.2776768 0.332314 -0.7484865 1.551152 0.11567464 1.1792972 0.06751848 2.0607479 1.7553408 -0.24896415 0.97157097 0.64537597 1.3686316 -0.96492344 0.6860515 1.0584245 -1.7587395 -1.1832585 -2.0392323 -0.26940683 0.71754223 1.502357 0.07409478 1.6286155 -1.3801014 -1.7033825 -0.0555477 0.38406545 -0.03269475 -2.0674422 -0.08912004 -1.3044695 0.66967255 0.36659825 -0.9398798 -0.5138669 -1.0592135 - -0.0626791 0.9551423 -0.98572606 0.5040465 -0.53025764 -0.79287285 -0.10703036 -1.0352423 -0.5536493 -1.1978779 1.9647251 0.035263553 -0.6997255 0.21397991 -0.11232805 -0.2209696 0.6141667 0.7575077 -0.5305011 -0.57581824 -0.27505168 -2.3019211 -1.5151911 1.3668742 1.6449677 -0.24903604 0.576557 0.31125015 3.0788808 1.1195749 -0.12791759 -0.9555404 -1.6064463 0.20346363 -0.75635076 -1.4222537 -0.6465729 -1.081548 1.6871417 0.8816398 - -0.007972641 1.4799441 0.077368304 -0.8612842 1.5231241 0.53891003 -1.0372461 -0.19033867 -0.8756183 -1.3827997 0.92617756 1.9094167 -1.3985676 0.5629692 -0.6506426 -0.4871254 -0.59239393 -0.8639908 0.048521627 -0.83095014 0.27045682 -0.05023811 -0.23894805 -0.9075637 -0.5767713 0.75539124 0.5009172 -0.9775552 0.0993323 0.7513871 -1.6694052 0.5433602 -0.66262376 0.57059866 -0.7632592 -1.804882 -1.6275425 0.04808495 0.2597225 -0.9043166 - 0.6385925 -1.66152 -0.066079795 -1.2110162 -0.6518361 0.04739867 -0.8604134 -0.38455555 1.0062928 -0.5768919 0.8356921 -1.1297069 0.52980417 1.4415686 -2.4716444 -0.79689527 0.57707214 -0.20304538 0.37114587 -0.6039852 0.08658979 -0.15567723 1.1677821 0.25442085 0.33760267 -0.41187698 -0.48760623 -0.43255818 0.39445215 -0.42098448 0.28977486 2.0754008 0.8711247 -0.32602352 1.201214 -0.40807536 -2.0381246 -1.0080863 -1.8707919 -0.35151348 - 0.01841838 1.6764373 0.32692736 -0.21910053 0.8294056 -2.2111354 0.23561455 0.7708652 -1.4785862 1.143754 0.33849642 -0.4152879 0.63278186 2.2706928 0.18186626 0.2482206 -0.4593609 -0.8498444 0.8303358 -0.8560838 0.07156624 -0.47765744 0.47897983 0.3336621 1.03754 -0.5100164 -0.26987493 -0.9787637 -0.44429326 0.3773005 0.75698864 -0.92216533 0.8696059 1.3556379 0.4134349 1.8767958 -0.7737892 -1.2446547 -1.7787203 1.4960443 - 0.65436566 -0.05558467 0.27996862 -1.125489 2.445752 0.12922119 0.109394796 0.7257666 0.48100924 0.22388403 -0.7904745 0.47146836 1.8820245 1.34542 1.5931866 -0.5112157 -0.98960483 -0.12578692 0.05572491 1.0941916 -1.6924646 1.5295503 -0.1580079 -0.42688107 -1.0121044 -1.6548567 0.8231706 0.07331797 -1.2899609 -1.2950788 -0.3357847 1.6690215 -0.25959134 -1.503143 -0.24574307 -0.27272356 -2.6968865 -0.054294866 -0.23093453 0.6962064 - 1.8489561 1.126565 -0.26888868 -1.1065259 2.5733597 0.059218433 0.013929292 -0.024125088 0.19808476 -0.14436041 -0.573662 -0.54685897 -0.03275327 -0.5434248 -0.7128458 0.106430225 -0.25497723 1.503993 -2.6509697 1.0915068 1.2460852 -2.0733902 -0.3426876 -0.37144086 -1.4075117 -0.7778167 -1.1105758 1.7522705 0.9356784 1.2715551 0.72167206 -1.1290518 -0.5245203 0.48937455 -1.2221278 0.71299845 -0.24032539 -0.3748208 0.71096 0.4442633 - -0.36096618 1.1593298 -1.0810633 0.6159356 0.59310126 -0.30954644 0.326133 -1.2511135 0.924027 -0.18490213 -0.522723 1.0490092 -0.7043437 -1.4084613 -1.5566292 0.60600996 -1.2804294 1.7547942 -2.0819294 1.6964563 0.21101747 -0.09671311 -0.5449191 0.39913613 -0.037634704 1.1033019 0.114227645 0.15030175 -0.3636122 -0.056945622 0.30780178 -1.7101684 -1.3481854 0.7432641 0.17086543 -0.18398334 0.018433932 0.3475817 -0.5397597 -0.7783047 - 0.19584526 -0.97837275 0.40825275 -1.7025836 1.0291556 0.47259748 0.25602973 0.982691 1.6654744 1.0143701 -1.8408742 -1.279577 -0.62481856 0.02609105 0.517659 -0.72574383 0.18676676 -0.75538296 -0.6115178 -1.4066612 -0.9232333 -1.3516846 -0.97587323 1.0536418 -0.9493989 2.6323822 0.4933179 0.18483612 -0.8583578 0.7003099 -0.5756378 0.122009814 2.5600846 -0.096059896 1.1492733 -0.70317644 -0.03498849 1.7708006 -0.6269671 1.8124485 - 0.7077519 -0.5624668 0.6324077 0.97255445 0.62180996 -1.5702248 -0.72713715 -0.24751863 -0.07443343 0.6206721 0.177701 -1.3353443 0.38019785 0.61058575 0.55979043 1.0807807 0.83392215 0.4591801 -0.07016571 -1.6609609 0.4296182 0.20768769 0.27157885 -1.2767485 -1.0810566 1.0531528 -0.039555155 0.6815007 0.028318375 0.02975614 0.9382838 -0.51604474 0.096120775 -0.4622753 -0.43449622 -0.30917212 0.22213377 -0.47874862 1.2557561 -0.8946073 - -0.18687165 -0.43973106 1.4469779 0.19655478 1.0318445 -1.4855604 0.26705027 0.8896308 0.08228399 1.0654804 -0.51728845 1.4093474 2.2988982 -0.36283857 -0.44550252 1.4533845 1.5795722 -0.52286005 -0.42018682 -0.2817846 -1.3444505 -0.91865194 -1.0041407 -0.7677976 -0.03468489 0.23421474 1.5505005 -0.998354 0.98432237 -0.21398884 -0.049463708 0.67481947 -1.122722 0.38240975 0.16645221 0.49245125 0.28916866 2.4553 -0.63773996 -0.530997 - -0.6231405 -0.55547714 -0.63738716 1.1890166 1.4205042 -0.5707463 -0.83235556 0.47141555 -0.552223 0.6329318 0.20292301 -1.5157441 1.5475053 1.7958777 -0.6127887 -0.38770157 0.2858654 0.3344568 0.6585443 2.0102046 -0.17694722 -0.7982972 -1.3793192 -0.73093003 -0.033126973 1.7945578 -0.5176113 0.22378795 -0.016422896 1.1883932 2.5269325 -0.53086877 -0.48943943 1.0441608 0.6818915 1.8467073 0.58392817 -0.3592921 0.59065485 1.1087036 - 0.8204822 0.50727403 1.0666747 1.1692955 1.382159 0.6487099 -0.16711809 0.14671369 1.206509 -0.81693566 0.3686733 -0.3933388 0.028744822 1.2784519 0.19109906 0.04643655 -1.3598561 0.74625355 0.6454842 2.1632547 -0.30777824 0.21915033 0.24938369 1.5774533 -0.09529553 0.27902153 0.6078965 0.18660912 -0.4464336 0.19409 1.0736318 -1.0265152 0.13296968 -0.7001208 1.1950467 -1.5231869 -0.5589219 0.37721187 1.565524 -0.06575026 - -0.5551995 1.881157 -1.4480139 -2.198806 0.44001445 -0.5020542 -1.0212328 0.70835644 0.24380071 -0.5640786 -1.2803044 0.8724573 0.6502012 -0.09917586 1.846637 -1.0700848 -1.5255252 -0.69190806 -0.045586016 0.24333945 -0.24123606 0.3520554 -1.2515395 1.4437646 -0.08215118 1.1172959 0.34272534 0.45675322 0.5697673 0.44770855 0.6427228 1.3291526 0.19652116 0.70900375 -0.089735694 1.4401172 -0.6763923 1.8009404 -0.04015795 -1.430775 - 0.12810442 -0.6810517 0.8406435 -0.65262395 -0.44618344 -1.8895407 -0.45230633 -2.4238794 -1.5839028 0.76041466 0.78580016 0.42545757 -0.96697617 -0.047711357 -0.0036025392 -1.1583647 1.5033983 0.8773623 -0.22096418 0.02688584 0.20838282 -2.041735 -0.24717738 -0.68198425 -1.00162 -0.2811003 1.7976866 0.64084285 -0.571179 0.5725828 1.3993554 0.9246337 0.05963037 -0.6469368 0.6982233 0.3934854 0.8951932 0.63517183 1.0495527 -0.5352352] \ No newline at end of file diff --git a/kaldi/test_cases/ngaffine_40x10_T15_S1/io.npz b/kaldi/test_cases/ngaffine_40x10_T15_S1/io.npz deleted file mode 100644 index beb621d8b8..0000000000 Binary files a/kaldi/test_cases/ngaffine_40x10_T15_S1/io.npz and /dev/null differ diff --git a/kaldi/test_cases/ngaffine_40x10_T15_S1/model.raw b/kaldi/test_cases/ngaffine_40x10_T15_S1/model.raw deleted file mode 100644 index de93b04762..0000000000 Binary files a/kaldi/test_cases/ngaffine_40x10_T15_S1/model.raw and /dev/null differ diff --git a/kaldi/test_cases/ngaffine_40x10_T15_S1/model.raw.txt b/kaldi/test_cases/ngaffine_40x10_T15_S1/model.raw.txt deleted file mode 100644 index 22251e65bb..0000000000 --- a/kaldi/test_cases/ngaffine_40x10_T15_S1/model.raw.txt +++ /dev/null @@ -1,21 +0,0 @@ - - -input-node name=input dim=40 -component-node name=affine1 input=input component=affine1 -output-node name=output input=affine1 - - 1 - affine1 1.0 1.0 0.0005 [ - 0.4967141530112327 -0.13826430117118466 0.6476885381006925 1.5230298564080254 -0.23415337472333597 -0.23413695694918055 1.5792128155073915 0.7674347291529088 -0.4694743859349521 0.5425600435859647 -0.46341769281246226 -0.46572975357025687 0.24196227156603412 -1.913280244657798 -1.7249178325130328 -0.5622875292409727 -1.0128311203344238 0.3142473325952739 -0.9080240755212109 -1.4123037013352915 1.465648768921554 -0.22577630048653566 0.06752820468792384 -1.4247481862134568 -0.5443827245251827 0.11092258970986608 -1.1509935774223028 0.37569801834567196 -0.600638689918805 -0.2916937497932768 -0.6017066122293969 1.8522781845089378 -0.013497224737933921 -1.0577109289559004 0.822544912103189 -1.2208436499710222 0.2088635950047554 -1.9596701238797756 -1.3281860488984305 0.19686123586912352 - 0.7384665799954104 0.1713682811899705 -0.11564828238824053 -0.3011036955892888 -1.4785219903674274 -0.7198442083947086 -0.4606387709597875 1.0571222262189157 0.3436182895684614 -1.763040155362734 0.324083969394795 -0.38508228041631654 -0.6769220003059587 0.6116762888408679 1.030999522495951 0.9312801191161986 -0.8392175232226385 -0.3092123758512146 0.33126343140356396 0.9755451271223592 -0.47917423784528995 -0.18565897666381712 -1.1063349740060282 -1.1962066240806708 0.812525822394198 1.356240028570823 -0.07201012158033385 1.0035328978920242 0.36163602504763415 -0.6451197546051243 0.36139560550841393 1.5380365664659692 -0.03582603910995154 1.5646436558140062 -2.6197451040897444 0.8219025043752238 0.08704706823817121 -0.2990073504658674 0.0917607765355023 -1.9875689146008928 - -0.21967188783751193 0.3571125715117464 1.477894044741516 -0.5182702182736474 -0.8084936028931876 -0.5017570435845365 0.9154021177020741 0.32875110965968446 -0.5297602037670388 0.5132674331133561 0.09707754934804039 0.9686449905328892 -0.7020530938773524 -0.3276621465977682 -0.39210815313215763 -1.4635149481321186 0.29612027706457605 0.26105527217988933 0.00511345664246089 -0.23458713337514692 -1.4153707420504142 -0.42064532276535904 -0.3427145165267695 -0.8022772692216189 -0.16128571166600914 0.4040508568145384 1.8861859012105302 0.17457781283183896 0.25755039072276437 -0.07444591576616721 -1.9187712152990415 -0.026513875449216878 0.06023020994102644 2.463242112485286 -0.19236096478112252 0.30154734233361247 -0.03471176970524331 -1.168678037619532 1.1428228145150205 0.7519330326867741 - 0.7910319470430469 -0.9093874547947389 1.4027943109360992 -1.4018510627922809 0.5868570938002703 2.1904556258099785 -0.9905363251306883 -0.5662977296027719 0.09965136508764122 -0.5034756541161992 -1.5506634310661327 0.06856297480602733 -1.0623037137261049 0.4735924306351816 -0.9194242342338032 1.5499344050175394 -0.7832532923362371 -0.3220615162056756 0.8135172173696698 -1.2308643164339552 0.22745993460412942 1.307142754282428 -1.6074832345612275 0.1846338585323042 0.25988279424842353 0.7818228717773104 -1.236950710878082 -1.3204566130842763 0.5219415656168976 0.29698467323318606 0.25049285034587654 0.3464482094969757 -0.6800247215784908 0.23225369716100355 0.29307247329868125 -0.7143514180263678 1.8657745111447566 0.4738329209117875 -1.1913034972026486 0.6565536086338297 - -0.9746816702273214 0.787084603742452 1.158595579007404 -0.8206823183517105 0.9633761292443218 0.4127809269364983 0.82206015999449 1.8967929826539474 -0.2453881160028705 -0.7537361643574896 -0.8895144296255233 -0.8158102849654383 -0.0771017094141042 0.3411519748166439 0.27669079933001905 0.8271832490360238 0.01300189187790702 1.4535340771573169 -0.2646568332379561 2.720169166589619 0.6256673477650062 -0.8571575564162826 -1.0708924980611123 0.4824724152431853 -0.2234627853258509 0.714000494092092 0.47323762457354485 -0.07282891265687277 -0.846793718068405 -1.5148472246858646 -0.4465149520670211 0.8563987943234723 0.21409374413020396 -1.245738778711988 0.173180925851182 0.3853173797288368 -0.883857436201133 0.1537251059455279 0.058208718445999896 -1.142970297830623 - 0.3577873603482833 0.5607845263682344 1.083051243175277 1.053802052034903 -1.377669367957091 -0.9378250399151228 0.5150352672086598 0.5137859509122088 0.5150476863060479 3.852731490654721 0.570890510693167 1.135565640180599 0.9540017634932023 0.651391251305798 -0.3152692446403456 0.7589692204932674 -0.7728252145375718 -0.23681860674000887 -0.48536354782910346 0.08187413938632256 2.3146585666735087 -1.867265192591748 0.6862601903745135 -1.6127158711896517 -0.47193186578943347 1.088950596967366 0.06428001909546277 -1.0777447779293061 -0.7153037092599682 0.6795977489346758 -0.7303666317171367 0.21645858958197486 0.045571839903813784 -0.6516003476058171 2.1439440893253257 0.6339190223180112 -2.025142586657607 0.18645431476942764 -0.661786464768388 0.852433334796224 - -0.7925207384327007 -0.11473644146689901 0.5049872789804571 0.8657551941701215 -1.2002964070557762 -0.3345012358409484 -0.4749453111609562 -0.6533292325737119 1.7654542402810969 0.40498171096095553 -1.2608839543350452 0.9178619470547761 2.1221561970126332 1.0324652605511468 -1.5193699659540134 -0.48423407286625136 1.2669111491866227 -0.7076694656187807 0.44381942814622843 0.7746340534293368 -0.926930471578083 -0.05952535606180008 -3.2412673400690726 -1.0243876413342898 -0.2525681513931603 -1.2477831819648495 1.6324113039316352 -1.4301413779606327 -0.44004448669698376 0.13074057728609134 1.4412732890661155 -1.4358621511794394 1.1631637521549596 0.010233061019587049 -0.9815086510479509 0.46210347426327075 0.19905969557347003 -0.6002168771587947 0.06980208499001891 -0.3853135968617602 - 0.11351734525124804 0.6621306745210467 1.586016816145352 -1.237815498826849 2.1330333746562666 -1.9520877995225019 -0.15178509503558332 0.5883172064845765 0.28099186773503265 -0.6226995198205938 -0.20812225035727522 -0.4930009346588328 -0.5893647569442115 0.8496020970210246 0.35701548596504734 -0.6929095952606542 0.8995998754332507 0.30729952087660933 0.8128621188389601 0.6296288419236122 -0.8289950109220723 -0.5601810401969696 0.7472936051232618 0.6103702654334648 -0.020901593964148132 0.117327383308782 1.277664895788425 -0.5915713888358299 0.5470973811700379 -0.20219265243389406 -0.2176812032272203 1.09877685198719 0.8254163489880298 0.8135096360006385 1.305478807154329 0.02100384163275905 0.6819529712949639 -0.31026675659345604 0.3241663524884421 -0.13014305436768459 - 0.09699596499271819 0.5951570254369136 -0.8182206832334725 2.0923872756854602 -1.006017381499702 -1.2141886127877322 1.1581108735000678 0.7916626939629359 0.6241198170521551 0.6283455092642799 -0.012246772846914623 -0.8972543714858315 0.07580455819372633 -0.6771617115121117 0.9751197334177512 -0.14705738150213865 -0.8254971967925115 -0.32138584165299344 0.41293145427562433 -0.5637245528039747 -0.8222203955664315 0.2436872114919123 0.24496657110872277 -0.5069431753711298 -0.4710383056183228 0.2320499373576363 -1.4480843414973241 -1.4074637743765552 -0.718444221252436 -0.21344715171184725 0.3109075655980046 1.475356216949552 0.8576596232020194 -0.1599385299634271 -0.01901620790268883 -1.0025293646378088 -0.01851313599238993 -0.2886586389201383 0.3227185603380895 -0.827230943552323 - 0.5193465142411723 1.5327389130025777 -0.1087601484568576 0.40171172209894146 0.6901439917111125 -0.40122047188583626 0.22409248181041677 0.01259240078179486 0.09767609854883172 -0.7730097838554665 0.024510174258942714 0.49799829124544975 1.4511436077950417 0.9592708260852069 2.1531824575115563 -0.7673475628880495 0.8723206367206782 0.18334200573835174 2.1898029332176723 -0.8082982853551515 -0.8397218421807761 -0.5993926454440222 -2.123895724309807 -0.525755021680761 -0.759132661553698 0.15039378647620763 0.34175597577715944 1.8761708392158862 0.9504238381860503 -0.5769036556624031 -0.898414671348358 0.4919191715065057 -1.3202332070206422 1.8314587658543537 1.179440120721287 -0.4691756521047048 -1.7131345290908775 1.3538723741654128 -0.11453984525261789 1.2378163119734618 ] - [ -1.594427658794367 -0.5993750229537729 0.005243699718183166 0.046980593764742055 -0.45006547147924364 0.6228499323474987 -1.0676204293825944 -0.1423794850212935 0.12029563171189886 0.514438834058749 ] - 20 80 4 2000 4 F - \ No newline at end of file diff --git a/kaldi/test_cases/ngaffine_40x10_T15_S1/output.ark b/kaldi/test_cases/ngaffine_40x10_T15_S1/output.ark deleted file mode 100644 index 3ae05ca041..0000000000 --- a/kaldi/test_cases/ngaffine_40x10_T15_S1/output.ark +++ /dev/null @@ -1,16 +0,0 @@ -idx [ - -5.018385 7.180791 0.6126137 -4.789227 -5.402118 3.922492 2.274158 -3.234049 5.661192 0.5017624 - -9.38272 1.733919 6.76927 -7.569225 -8.281272 -7.825527 -2.102752 -0.7241923 -6.213083 10.54465 - -2.655921 3.023588 7.200046 5.025126 -1.139629 -1.096284 -7.866244 3.087577 -4.010704 7.242352 - 6.243743 -2.660838 -5.512766 2.784289 -3.037371 5.091276 -1.070386 4.145773 -0.5984672 -4.380428 - -4.669859 -3.503523 2.825454 -4.514236 -4.219488 14.48702 1.33041 9.09207 0.6700182 5.621063 - -4.461607 -3.379623 -2.60924 -4.948337 12.01297 0.2853558 1.882743 6.511961 0.8136601 13.75058 - 0.2429279 -1.080101 -2.663827 -3.72494 5.150802 -1.198113 -6.798202 0.1380561 -11.01751 -0.3171104 - -0.6173991 -1.668168 -1.404813 -1.177805 4.522601 1.128946 0.02173173 -6.524997 -3.904068 -6.233119 - -2.07482 -8.963558 2.715742 9.896527 3.332769 6.013265 -2.669245 8.722869 0.03908549 5.28273 - 1.109653 2.380222 -3.54259 -2.533782 -4.469106 3.892142 -0.7932406 1.303995 4.748288 0.7465834 - -5.802556 -1.271308 4.569559 0.8666952 2.975898 10.52932 12.5705 7.118968 -2.496531 11.18305 - -9.380331 2.008911 -3.690164 -2.323521 2.826041 4.783576 10.81038 3.547636 -2.495625 6.257032 - -10.21449 -4.756154 -6.218893 -1.049488 9.35709 -1.817729 -0.8046911 6.711157 -0.5214132 2.860018 - -16.42604 12.07057 -2.470167 -0.705935 6.827685 -7.068078 -3.023032 5.272422 -0.9174181 12.96615 - -4.215181 -4.120471 6.453276 -9.163762 -2.988542 5.48941 3.018557 8.26483 -5.497777 0.09980339 ] diff --git a/kaldi/test_cases/ngaffine_40x10_T15_S1/subsampling b/kaldi/test_cases/ngaffine_40x10_T15_S1/subsampling deleted file mode 100644 index 56a6051ca2..0000000000 --- a/kaldi/test_cases/ngaffine_40x10_T15_S1/subsampling +++ /dev/null @@ -1 +0,0 @@ -1 \ No newline at end of file diff --git a/kaldi/test_cases/ngaffine_40x10_T15_S1/test.sh b/kaldi/test_cases/ngaffine_40x10_T15_S1/test.sh deleted file mode 100644 index a138fe2994..0000000000 --- a/kaldi/test_cases/ngaffine_40x10_T15_S1/test.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -nnet3-compute --frames-per-chunk=16 --frame-subsampling-factor=1 model.raw.txt ark:input.ark ark,t:predicted.ark 2>.error -fail=0 -diff output.ark predicted.ark || fail=1; -rm predicted.ark -echo "fail=$fail" && [ $fail -gt 0 ] && exit 1; diff --git a/kaldi/test_cases/ngaffine_40x10_T15_S1/vars.sh b/kaldi/test_cases/ngaffine_40x10_T15_S1/vars.sh deleted file mode 100644 index 94c31d31ad..0000000000 --- a/kaldi/test_cases/ngaffine_40x10_T15_S1/vars.sh +++ /dev/null @@ -1,4 +0,0 @@ -left_context=0 -right_context=0 -subsampling=1 -adjust_final_offset=0 diff --git a/kaldi/test_cases/relu_D10_T11/input.ark b/kaldi/test_cases/relu_D10_T11/input.ark deleted file mode 100644 index 79f423d4a3..0000000000 --- a/kaldi/test_cases/relu_D10_T11/input.ark +++ /dev/null @@ -1,12 +0,0 @@ -idx [ - 0.49671414 -0.1382643 0.64768857 1.5230298 -0.23415338 -0.23413695 1.5792128 0.7674347 -0.46947438 0.54256004 - -0.46341768 -0.46572974 0.24196227 -1.9132802 -1.7249179 -0.5622875 -1.0128311 0.31424734 -0.9080241 -1.4123037 - 1.4656488 -0.2257763 0.0675282 -1.4247482 -0.54438275 0.11092259 -1.1509936 0.37569803 -0.6006387 -0.29169375 - -0.6017066 1.8522782 -0.013497225 -1.0577109 0.82254493 -1.2208437 0.2088636 -1.9596701 -1.328186 0.19686124 - 0.73846656 0.17136829 -0.115648285 -0.30110368 -1.478522 -0.7198442 -0.46063876 1.0571222 0.3436183 -1.7630402 - 0.32408398 -0.38508227 -0.676922 0.6116763 1.0309995 0.93128014 -0.83921754 -0.3092124 0.33126342 0.9755451 - -0.47917423 -0.18565898 -1.1063349 -1.1962066 0.8125258 1.35624 -0.07201012 1.0035329 0.361636 -0.6451197 - 0.3613956 1.5380366 -0.03582604 1.5646436 -2.619745 0.8219025 0.08704707 -0.29900736 0.09176078 -1.9875689 - -0.21967189 0.35711256 1.4778941 -0.5182702 -0.8084936 -0.501757 0.9154021 0.32875112 -0.5297602 0.51326746 - 0.09707755 0.968645 -0.70205307 -0.32766214 -0.39210814 -1.4635149 0.2961203 0.26105526 0.005113457 -0.23458713 - -1.4153707 -0.42064533 -0.34271452 -0.80227727 -0.16128571 0.40405086 1.8861859 0.17457782 0.2575504 -0.07444592] \ No newline at end of file diff --git a/kaldi/test_cases/relu_D10_T11/io.npz b/kaldi/test_cases/relu_D10_T11/io.npz deleted file mode 100644 index 5fe00b2f90..0000000000 Binary files a/kaldi/test_cases/relu_D10_T11/io.npz and /dev/null differ diff --git a/kaldi/test_cases/relu_D10_T11/model.raw b/kaldi/test_cases/relu_D10_T11/model.raw deleted file mode 100644 index 7cb8201273..0000000000 Binary files a/kaldi/test_cases/relu_D10_T11/model.raw and /dev/null differ diff --git a/kaldi/test_cases/relu_D10_T11/model.raw.txt b/kaldi/test_cases/relu_D10_T11/model.raw.txt deleted file mode 100644 index 98a3ca7bca..0000000000 --- a/kaldi/test_cases/relu_D10_T11/model.raw.txt +++ /dev/null @@ -1,11 +0,0 @@ - - -input-node name=input dim=10 -component-node name=relu1 input=input component=relu1 -output-node name=output input=relu1 - - 1 - relu1 10 [ ] - [ ] - 1 1 1 1e-06 - \ No newline at end of file diff --git a/kaldi/test_cases/relu_D10_T11/output.ark b/kaldi/test_cases/relu_D10_T11/output.ark deleted file mode 100644 index 13d6531a37..0000000000 --- a/kaldi/test_cases/relu_D10_T11/output.ark +++ /dev/null @@ -1,12 +0,0 @@ -idx [ - 0.4967141 0 0.6476886 1.52303 0 0 1.579213 0.7674347 0 0.54256 - 0 0 0.2419623 0 0 0 0 0.3142473 0 0 - 1.465649 0 0.0675282 0 0 0.1109226 0 0.375698 0 0 - 0 1.852278 0 0 0.8225449 0 0.2088636 0 0 0.1968612 - 0.7384666 0.1713683 0 0 0 0 0 1.057122 0.3436183 0 - 0.324084 0 0 0.6116763 1.031 0.9312801 0 0 0.3312634 0.9755451 - 0 0 0 0 0.8125258 1.35624 0 1.003533 0.361636 0 - 0.3613956 1.538037 0 1.564644 0 0.8219025 0.08704707 0 0.09176078 0 - 0 0.3571126 1.477894 0 0 0 0.9154021 0.3287511 0 0.5132675 - 0.09707755 0.968645 0 0 0 0 0.2961203 0.2610553 0.005113457 0 - 0 0 0 0 0 0.4040509 1.886186 0.1745778 0.2575504 0 ] diff --git a/kaldi/test_cases/relu_D10_T11/subsampling b/kaldi/test_cases/relu_D10_T11/subsampling deleted file mode 100644 index 56a6051ca2..0000000000 --- a/kaldi/test_cases/relu_D10_T11/subsampling +++ /dev/null @@ -1 +0,0 @@ -1 \ No newline at end of file diff --git a/kaldi/test_cases/relu_D10_T11/test.sh b/kaldi/test_cases/relu_D10_T11/test.sh deleted file mode 100644 index abf2b85ec5..0000000000 --- a/kaldi/test_cases/relu_D10_T11/test.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -nnet3-compute --frames-per-chunk=12 --frame-subsampling-factor=1 model.raw.txt ark:input.ark ark,t:predicted.ark 2>.error -fail=0 -diff output.ark predicted.ark || fail=1; -rm predicted.ark -echo "fail=$fail" && [ $fail -gt 0 ] && exit 1; diff --git a/kaldi/test_cases/relu_D10_T11/vars.sh b/kaldi/test_cases/relu_D10_T11/vars.sh deleted file mode 100644 index 94c31d31ad..0000000000 --- a/kaldi/test_cases/relu_D10_T11/vars.sh +++ /dev/null @@ -1,4 +0,0 @@ -left_context=0 -right_context=0 -subsampling=1 -adjust_final_offset=0 diff --git a/kaldi/test_cases/relu_D1_T21/input.ark b/kaldi/test_cases/relu_D1_T21/input.ark deleted file mode 100644 index 6e6f22b101..0000000000 --- a/kaldi/test_cases/relu_D1_T21/input.ark +++ /dev/null @@ -1,22 +0,0 @@ -idx [ - 0.49671414 - -0.1382643 - 0.64768857 - 1.5230298 - -0.23415338 - -0.23413695 - 1.5792128 - 0.7674347 - -0.46947438 - 0.54256004 - -0.46341768 - -0.46572974 - 0.24196227 - -1.9132802 - -1.7249179 - -0.5622875 - -1.0128311 - 0.31424734 - -0.9080241 - -1.4123037 - 1.4656488] \ No newline at end of file diff --git a/kaldi/test_cases/relu_D1_T21/io.npz b/kaldi/test_cases/relu_D1_T21/io.npz deleted file mode 100644 index 574c329cba..0000000000 Binary files a/kaldi/test_cases/relu_D1_T21/io.npz and /dev/null differ diff --git a/kaldi/test_cases/relu_D1_T21/model.raw b/kaldi/test_cases/relu_D1_T21/model.raw deleted file mode 100644 index 27877642f8..0000000000 Binary files a/kaldi/test_cases/relu_D1_T21/model.raw and /dev/null differ diff --git a/kaldi/test_cases/relu_D1_T21/model.raw.txt b/kaldi/test_cases/relu_D1_T21/model.raw.txt deleted file mode 100644 index b44cee2a53..0000000000 --- a/kaldi/test_cases/relu_D1_T21/model.raw.txt +++ /dev/null @@ -1,11 +0,0 @@ - - -input-node name=input dim=1 -component-node name=relu1 input=input component=relu1 -output-node name=output input=relu1 - - 1 - relu1 1 [ ] - [ ] - 1 1 1 1e-06 - \ No newline at end of file diff --git a/kaldi/test_cases/relu_D1_T21/output.ark b/kaldi/test_cases/relu_D1_T21/output.ark deleted file mode 100644 index 2718176ad2..0000000000 --- a/kaldi/test_cases/relu_D1_T21/output.ark +++ /dev/null @@ -1,22 +0,0 @@ -idx [ - 0.4967141 - 0 - 0.6476886 - 1.52303 - 0 - 0 - 1.579213 - 0.7674347 - 0 - 0.54256 - 0 - 0 - 0.2419623 - 0 - 0 - 0 - 0 - 0.3142473 - 0 - 0 - 1.465649 ] diff --git a/kaldi/test_cases/relu_D1_T21/subsampling b/kaldi/test_cases/relu_D1_T21/subsampling deleted file mode 100644 index 56a6051ca2..0000000000 --- a/kaldi/test_cases/relu_D1_T21/subsampling +++ /dev/null @@ -1 +0,0 @@ -1 \ No newline at end of file diff --git a/kaldi/test_cases/relu_D1_T21/test.sh b/kaldi/test_cases/relu_D1_T21/test.sh deleted file mode 100644 index ec14be4d84..0000000000 --- a/kaldi/test_cases/relu_D1_T21/test.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -nnet3-compute --frames-per-chunk=22 --frame-subsampling-factor=1 model.raw.txt ark:input.ark ark,t:predicted.ark 2>.error -fail=0 -diff output.ark predicted.ark || fail=1; -rm predicted.ark -echo "fail=$fail" && [ $fail -gt 0 ] && exit 1; diff --git a/kaldi/test_cases/relu_D1_T21/vars.sh b/kaldi/test_cases/relu_D1_T21/vars.sh deleted file mode 100644 index 94c31d31ad..0000000000 --- a/kaldi/test_cases/relu_D1_T21/vars.sh +++ /dev/null @@ -1,4 +0,0 @@ -left_context=0 -right_context=0 -subsampling=1 -adjust_final_offset=0 diff --git a/kaldi/test_cases/relu_D23_T1/input.ark b/kaldi/test_cases/relu_D23_T1/input.ark deleted file mode 100644 index 9c5cbfbb55..0000000000 --- a/kaldi/test_cases/relu_D23_T1/input.ark +++ /dev/null @@ -1,2 +0,0 @@ -idx [ - 0.49671414 -0.1382643 0.64768857 1.5230298 -0.23415338 -0.23413695 1.5792128 0.7674347 -0.46947438 0.54256004 -0.46341768 -0.46572974 0.24196227 -1.9132802 -1.7249179 -0.5622875 -1.0128311 0.31424734 -0.9080241 -1.4123037 1.4656488 -0.2257763 0.0675282] \ No newline at end of file diff --git a/kaldi/test_cases/relu_D23_T1/io.npz b/kaldi/test_cases/relu_D23_T1/io.npz deleted file mode 100644 index dfbdc9d830..0000000000 Binary files a/kaldi/test_cases/relu_D23_T1/io.npz and /dev/null differ diff --git a/kaldi/test_cases/relu_D23_T1/model.raw b/kaldi/test_cases/relu_D23_T1/model.raw deleted file mode 100644 index b6dbae09dd..0000000000 Binary files a/kaldi/test_cases/relu_D23_T1/model.raw and /dev/null differ diff --git a/kaldi/test_cases/relu_D23_T1/model.raw.txt b/kaldi/test_cases/relu_D23_T1/model.raw.txt deleted file mode 100644 index 041b9b51fa..0000000000 --- a/kaldi/test_cases/relu_D23_T1/model.raw.txt +++ /dev/null @@ -1,11 +0,0 @@ - - -input-node name=input dim=23 -component-node name=relu1 input=input component=relu1 -output-node name=output input=relu1 - - 1 - relu1 23 [ ] - [ ] - 1 1 1 1e-06 - \ No newline at end of file diff --git a/kaldi/test_cases/relu_D23_T1/output.ark b/kaldi/test_cases/relu_D23_T1/output.ark deleted file mode 100644 index b4a255ce6c..0000000000 --- a/kaldi/test_cases/relu_D23_T1/output.ark +++ /dev/null @@ -1,2 +0,0 @@ -idx [ - 0.4967141 0 0.6476886 1.52303 0 0 1.579213 0.7674347 0 0.54256 0 0 0.2419623 0 0 0 0 0.3142473 0 0 1.465649 0 0.0675282 ] diff --git a/kaldi/test_cases/relu_D23_T1/subsampling b/kaldi/test_cases/relu_D23_T1/subsampling deleted file mode 100644 index 56a6051ca2..0000000000 --- a/kaldi/test_cases/relu_D23_T1/subsampling +++ /dev/null @@ -1 +0,0 @@ -1 \ No newline at end of file diff --git a/kaldi/test_cases/relu_D23_T1/test.sh b/kaldi/test_cases/relu_D23_T1/test.sh deleted file mode 100644 index e89b076a34..0000000000 --- a/kaldi/test_cases/relu_D23_T1/test.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -nnet3-compute --frames-per-chunk=2 --frame-subsampling-factor=1 model.raw.txt ark:input.ark ark,t:predicted.ark 2>.error -fail=0 -diff output.ark predicted.ark || fail=1; -rm predicted.ark -echo "fail=$fail" && [ $fail -gt 0 ] && exit 1; diff --git a/kaldi/test_cases/relu_D23_T1/vars.sh b/kaldi/test_cases/relu_D23_T1/vars.sh deleted file mode 100644 index 94c31d31ad..0000000000 --- a/kaldi/test_cases/relu_D23_T1/vars.sh +++ /dev/null @@ -1,4 +0,0 @@ -left_context=0 -right_context=0 -subsampling=1 -adjust_final_offset=0 diff --git a/kaldi/test_cases/renorm_tgt0.1_D17_T7/input.ark b/kaldi/test_cases/renorm_tgt0.1_D17_T7/input.ark deleted file mode 100644 index aeb654d3d9..0000000000 --- a/kaldi/test_cases/renorm_tgt0.1_D17_T7/input.ark +++ /dev/null @@ -1,8 +0,0 @@ -idx [ - 0.49671414 -0.1382643 0.64768857 1.5230298 -0.23415338 -0.23413695 1.5792128 0.7674347 -0.46947438 0.54256004 -0.46341768 -0.46572974 0.24196227 -1.9132802 -1.7249179 -0.5622875 -1.0128311 - 0.31424734 -0.9080241 -1.4123037 1.4656488 -0.2257763 0.0675282 -1.4247482 -0.54438275 0.11092259 -1.1509936 0.37569803 -0.6006387 -0.29169375 -0.6017066 1.8522782 -0.013497225 -1.0577109 - 0.82254493 -1.2208437 0.2088636 -1.9596701 -1.328186 0.19686124 0.73846656 0.17136829 -0.115648285 -0.30110368 -1.478522 -0.7198442 -0.46063876 1.0571222 0.3436183 -1.7630402 0.32408398 - -0.38508227 -0.676922 0.6116763 1.0309995 0.93128014 -0.83921754 -0.3092124 0.33126342 0.9755451 -0.47917423 -0.18565898 -1.1063349 -1.1962066 0.8125258 1.35624 -0.07201012 1.0035329 - 0.361636 -0.6451197 0.3613956 1.5380366 -0.03582604 1.5646436 -2.619745 0.8219025 0.08704707 -0.29900736 0.09176078 -1.9875689 -0.21967189 0.35711256 1.4778941 -0.5182702 -0.8084936 - -0.501757 0.9154021 0.32875112 -0.5297602 0.51326746 0.09707755 0.968645 -0.70205307 -0.32766214 -0.39210814 -1.4635149 0.2961203 0.26105526 0.005113457 -0.23458713 -1.4153707 -0.42064533 - -0.34271452 -0.80227727 -0.16128571 0.40405086 1.8861859 0.17457782 0.2575504 -0.07444592 -1.9187713 -0.026513875 0.06023021 2.463242 -0.19236097 0.30154735 -0.03471177 -1.168678 1.1428229] \ No newline at end of file diff --git a/kaldi/test_cases/renorm_tgt0.1_D17_T7/io.npz b/kaldi/test_cases/renorm_tgt0.1_D17_T7/io.npz deleted file mode 100644 index bd8fab4adf..0000000000 Binary files a/kaldi/test_cases/renorm_tgt0.1_D17_T7/io.npz and /dev/null differ diff --git a/kaldi/test_cases/renorm_tgt0.1_D17_T7/model.raw b/kaldi/test_cases/renorm_tgt0.1_D17_T7/model.raw deleted file mode 100644 index dcc7b00038..0000000000 Binary files a/kaldi/test_cases/renorm_tgt0.1_D17_T7/model.raw and /dev/null differ diff --git a/kaldi/test_cases/renorm_tgt0.1_D17_T7/model.raw.txt b/kaldi/test_cases/renorm_tgt0.1_D17_T7/model.raw.txt deleted file mode 100644 index 672fc28dab..0000000000 --- a/kaldi/test_cases/renorm_tgt0.1_D17_T7/model.raw.txt +++ /dev/null @@ -1,9 +0,0 @@ - - -input-node name=input dim=17 -component-node name=renorm1 input=input component=renorm1 -output-node name=output input=renorm1 - - 1 - renorm1 17 0.1 F - \ No newline at end of file diff --git a/kaldi/test_cases/renorm_tgt0.1_D17_T7/output.ark b/kaldi/test_cases/renorm_tgt0.1_D17_T7/output.ark deleted file mode 100644 index b3ecb06b37..0000000000 --- a/kaldi/test_cases/renorm_tgt0.1_D17_T7/output.ark +++ /dev/null @@ -1,8 +0,0 @@ -idx [ - 0.05256405 -0.01463162 0.0685407 0.1611724 -0.02477894 -0.0247772 0.1671179 0.08121265 -0.04968144 0.05741562 -0.0490405 -0.04928517 0.0256053 -0.2024701 -0.1825369 -0.05950325 -0.1071814 - 0.03428264 -0.0990604 -0.1540745 0.1598942 -0.02463095 0.007366953 -0.1554321 -0.05938914 0.01210104 -0.125567 0.04098658 -0.06552636 -0.03182217 -0.06564286 0.2020733 -0.001472473 -0.1153904 - 0.08505794 -0.1262453 0.02159822 -0.2026461 -0.1373454 0.02035708 0.07636354 0.0177209 -0.01195899 -0.03113661 -0.1528914 -0.07443784 -0.04763385 0.1093152 0.03553297 -0.1823129 0.03351296 - -0.04743622 -0.0833864 0.07534912 0.1270033 0.1147194 -0.1033787 -0.03809022 0.04080657 0.1201722 -0.05902691 -0.02287034 -0.1362835 -0.1473543 0.1000907 0.1670679 -0.008870541 0.1236198 - 0.03303768 -0.05893567 0.03301572 0.1405091 -0.00327293 0.1429399 -0.2393299 0.07508587 0.007952287 -0.02731617 0.008382914 -0.1815767 -0.02006838 0.03262444 0.1350147 -0.04734718 -0.07386088 - -0.07325041 0.1336375 0.04799366 -0.07733853 0.07493079 0.01417214 0.1414104 -0.1024912 -0.04783468 -0.05724301 -0.2136553 0.04322995 0.03811089 0.0007465024 -0.03424686 -0.2066269 -0.06140909 - -0.03410635 -0.07984123 -0.01605087 0.04021043 0.1877099 0.01737368 0.02563096 -0.007408727 -0.1909527 -0.002638614 0.005994005 0.2451375 -0.01914343 0.03000946 -0.003454454 -0.1163048 0.1137317 ] diff --git a/kaldi/test_cases/renorm_tgt0.1_D17_T7/subsampling b/kaldi/test_cases/renorm_tgt0.1_D17_T7/subsampling deleted file mode 100644 index 56a6051ca2..0000000000 --- a/kaldi/test_cases/renorm_tgt0.1_D17_T7/subsampling +++ /dev/null @@ -1 +0,0 @@ -1 \ No newline at end of file diff --git a/kaldi/test_cases/renorm_tgt0.1_D17_T7/test.sh b/kaldi/test_cases/renorm_tgt0.1_D17_T7/test.sh deleted file mode 100644 index 80ec902238..0000000000 --- a/kaldi/test_cases/renorm_tgt0.1_D17_T7/test.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -nnet3-compute --frames-per-chunk=8 --frame-subsampling-factor=1 model.raw.txt ark:input.ark ark,t:predicted.ark 2>.error -fail=0 -diff output.ark predicted.ark || fail=1; -rm predicted.ark -echo "fail=$fail" && [ $fail -gt 0 ] && exit 1; diff --git a/kaldi/test_cases/renorm_tgt0.1_D17_T7/vars.sh b/kaldi/test_cases/renorm_tgt0.1_D17_T7/vars.sh deleted file mode 100644 index 94c31d31ad..0000000000 --- a/kaldi/test_cases/renorm_tgt0.1_D17_T7/vars.sh +++ /dev/null @@ -1,4 +0,0 @@ -left_context=0 -right_context=0 -subsampling=1 -adjust_final_offset=0 diff --git a/kaldi/test_cases/renorm_tgt1.0_D20_T35/input.ark b/kaldi/test_cases/renorm_tgt1.0_D20_T35/input.ark deleted file mode 100644 index 373b10a168..0000000000 --- a/kaldi/test_cases/renorm_tgt1.0_D20_T35/input.ark +++ /dev/null @@ -1,36 +0,0 @@ -idx [ - 0.49671414 -0.1382643 0.64768857 1.5230298 -0.23415338 -0.23413695 1.5792128 0.7674347 -0.46947438 0.54256004 -0.46341768 -0.46572974 0.24196227 -1.9132802 -1.7249179 -0.5622875 -1.0128311 0.31424734 -0.9080241 -1.4123037 - 1.4656488 -0.2257763 0.0675282 -1.4247482 -0.54438275 0.11092259 -1.1509936 0.37569803 -0.6006387 -0.29169375 -0.6017066 1.8522782 -0.013497225 -1.0577109 0.82254493 -1.2208437 0.2088636 -1.9596701 -1.328186 0.19686124 - 0.73846656 0.17136829 -0.115648285 -0.30110368 -1.478522 -0.7198442 -0.46063876 1.0571222 0.3436183 -1.7630402 0.32408398 -0.38508227 -0.676922 0.6116763 1.0309995 0.93128014 -0.83921754 -0.3092124 0.33126342 0.9755451 - -0.47917423 -0.18565898 -1.1063349 -1.1962066 0.8125258 1.35624 -0.07201012 1.0035329 0.361636 -0.6451197 0.3613956 1.5380366 -0.03582604 1.5646436 -2.619745 0.8219025 0.08704707 -0.29900736 0.09176078 -1.9875689 - -0.21967189 0.35711256 1.4778941 -0.5182702 -0.8084936 -0.501757 0.9154021 0.32875112 -0.5297602 0.51326746 0.09707755 0.968645 -0.70205307 -0.32766214 -0.39210814 -1.4635149 0.2961203 0.26105526 0.005113457 -0.23458713 - -1.4153707 -0.42064533 -0.34271452 -0.80227727 -0.16128571 0.40405086 1.8861859 0.17457782 0.2575504 -0.07444592 -1.9187713 -0.026513875 0.06023021 2.463242 -0.19236097 0.30154735 -0.03471177 -1.168678 1.1428229 0.75193304 - 0.79103196 -0.90938747 1.4027944 -1.401851 0.5868571 2.1904557 -0.99053633 -0.5662977 0.09965137 -0.50347567 -1.5506635 0.06856298 -1.0623037 0.47359243 -0.91942424 1.5499344 -0.7832533 -0.3220615 0.8135172 -1.2308643 - 0.22745994 1.3071427 -1.6074833 0.18463387 0.2598828 0.78182286 -1.2369508 -1.3204566 0.52194154 0.29698467 0.25049284 0.3464482 -0.68002474 0.2322537 0.29307246 -0.7143514 1.8657745 0.47383294 -1.1913035 0.6565536 - -0.9746817 0.7870846 1.1585956 -0.82068235 0.9633761 0.41278094 0.82206017 1.896793 -0.24538812 -0.75373614 -0.88951445 -0.81581026 -0.07710171 0.34115198 0.2766908 0.82718325 0.013001892 1.4535341 -0.26465684 2.720169 - 0.62566733 -0.8571575 -1.0708925 0.48247242 -0.22346279 0.7140005 0.47323763 -0.07282891 -0.8467937 -1.5148473 -0.44651496 0.8563988 0.21409374 -1.2457387 0.17318092 0.3853174 -0.8838574 0.1537251 0.05820872 -1.1429703 - 0.35778737 0.5607845 1.0830512 1.053802 -1.3776693 -0.937825 0.5150353 0.51378596 0.51504767 3.8527315 0.5708905 1.1355656 0.9540018 0.65139127 -0.31526923 0.75896925 -0.77282524 -0.23681861 -0.48536354 0.08187414 - 2.3146586 -1.8672652 0.68626016 -1.6127158 -0.47193187 1.0889506 0.06428002 -1.0777447 -0.7153037 0.67959774 -0.73036665 0.21645859 0.04557184 -0.65160036 2.143944 0.633919 -2.0251427 0.18645431 -0.66178644 0.8524333 - -0.79252076 -0.11473644 0.5049873 0.8657552 -1.2002964 -0.33450124 -0.4749453 -0.65332925 1.7654543 0.4049817 -1.2608839 0.91786194 2.1221561 1.0324652 -1.51937 -0.48423406 1.2669111 -0.70766944 0.44381943 0.77463406 - -0.9269305 -0.059525356 -3.2412674 -1.0243876 -0.25256816 -1.2477832 1.6324114 -1.4301413 -0.4400445 0.13074058 1.4412733 -1.4358622 1.1631638 0.010233061 -0.9815087 0.4621035 0.1990597 -0.60021687 0.06980208 -0.3853136 - 0.113517344 0.66213065 1.5860168 -1.2378155 2.1330333 -1.9520878 -0.15178509 0.5883172 0.28099188 -0.6226995 -0.20812225 -0.49300092 -0.58936477 0.8496021 0.3570155 -0.6929096 0.89959985 0.30729952 0.8128621 0.62962884 - -0.828995 -0.560181 0.7472936 0.6103703 -0.020901594 0.117327385 1.2776649 -0.5915714 0.5470974 -0.20219265 -0.2176812 1.0987768 0.8254163 0.81350964 1.3054788 0.021003842 0.68195295 -0.31026676 0.32416636 -0.13014306 - 0.096995965 0.595157 -0.8182207 2.0923872 -1.0060173 -1.2141886 1.1581109 0.7916627 0.6241198 0.6283455 -0.012246773 -0.89725435 0.07580456 -0.6771617 0.9751197 -0.14705738 -0.8254972 -0.32138583 0.41293144 -0.5637246 - -0.8222204 0.24368721 0.24496657 -0.50694317 -0.4710383 0.23204994 -1.4480844 -1.4074638 -0.7184442 -0.21344715 0.31090757 1.4753562 0.85765964 -0.15993853 -0.019016208 -1.0025294 -0.018513136 -0.28865865 0.32271856 -0.82723093 - 0.51934654 1.5327389 -0.10876015 0.40171173 0.690144 -0.40122047 0.22409248 0.0125924 0.0976761 -0.7730098 0.024510175 0.4979983 1.4511436 0.95927083 2.1531825 -0.7673476 0.87232065 0.18334201 2.189803 -0.8082983 - -0.83972186 -0.59939265 -2.1238956 -0.52575505 -0.7591327 0.15039378 0.341756 1.8761709 0.95042384 -0.57690364 -0.8984147 0.49191916 -1.3202332 1.8314588 1.1794401 -0.46917567 -1.7131345 1.3538724 -0.11453985 1.2378163 - -1.5944277 -0.599375 0.0052436995 0.046980593 -0.45006546 0.62284994 -1.0676204 -0.14237948 0.12029563 0.5144388 0.7116149 -1.1246421 -1.5341141 1.2776768 0.332314 -0.7484865 1.551152 0.11567464 1.1792972 0.06751848 - 2.0607479 1.7553408 -0.24896415 0.97157097 0.64537597 1.3686316 -0.96492344 0.6860515 1.0584245 -1.7587395 -1.1832585 -2.0392323 -0.26940683 0.71754223 1.502357 0.07409478 1.6286155 -1.3801014 -1.7033825 -0.0555477 - 0.38406545 -0.03269475 -2.0674422 -0.08912004 -1.3044695 0.66967255 0.36659825 -0.9398798 -0.5138669 -1.0592135 -0.0626791 0.9551423 -0.98572606 0.5040465 -0.53025764 -0.79287285 -0.10703036 -1.0352423 -0.5536493 -1.1978779 - 1.9647251 0.035263553 -0.6997255 0.21397991 -0.11232805 -0.2209696 0.6141667 0.7575077 -0.5305011 -0.57581824 -0.27505168 -2.3019211 -1.5151911 1.3668742 1.6449677 -0.24903604 0.576557 0.31125015 3.0788808 1.1195749 - -0.12791759 -0.9555404 -1.6064463 0.20346363 -0.75635076 -1.4222537 -0.6465729 -1.081548 1.6871417 0.8816398 -0.007972641 1.4799441 0.077368304 -0.8612842 1.5231241 0.53891003 -1.0372461 -0.19033867 -0.8756183 -1.3827997 - 0.92617756 1.9094167 -1.3985676 0.5629692 -0.6506426 -0.4871254 -0.59239393 -0.8639908 0.048521627 -0.83095014 0.27045682 -0.05023811 -0.23894805 -0.9075637 -0.5767713 0.75539124 0.5009172 -0.9775552 0.0993323 0.7513871 - -1.6694052 0.5433602 -0.66262376 0.57059866 -0.7632592 -1.804882 -1.6275425 0.04808495 0.2597225 -0.9043166 0.6385925 -1.66152 -0.066079795 -1.2110162 -0.6518361 0.04739867 -0.8604134 -0.38455555 1.0062928 -0.5768919 - 0.8356921 -1.1297069 0.52980417 1.4415686 -2.4716444 -0.79689527 0.57707214 -0.20304538 0.37114587 -0.6039852 0.08658979 -0.15567723 1.1677821 0.25442085 0.33760267 -0.41187698 -0.48760623 -0.43255818 0.39445215 -0.42098448 - 0.28977486 2.0754008 0.8711247 -0.32602352 1.201214 -0.40807536 -2.0381246 -1.0080863 -1.8707919 -0.35151348 0.01841838 1.6764373 0.32692736 -0.21910053 0.8294056 -2.2111354 0.23561455 0.7708652 -1.4785862 1.143754 - 0.33849642 -0.4152879 0.63278186 2.2706928 0.18186626 0.2482206 -0.4593609 -0.8498444 0.8303358 -0.8560838 0.07156624 -0.47765744 0.47897983 0.3336621 1.03754 -0.5100164 -0.26987493 -0.9787637 -0.44429326 0.3773005 - 0.75698864 -0.92216533 0.8696059 1.3556379 0.4134349 1.8767958 -0.7737892 -1.2446547 -1.7787203 1.4960443 0.65436566 -0.05558467 0.27996862 -1.125489 2.445752 0.12922119 0.109394796 0.7257666 0.48100924 0.22388403 - -0.7904745 0.47146836 1.8820245 1.34542 1.5931866 -0.5112157 -0.98960483 -0.12578692 0.05572491 1.0941916 -1.6924646 1.5295503 -0.1580079 -0.42688107 -1.0121044 -1.6548567 0.8231706 0.07331797 -1.2899609 -1.2950788 - -0.3357847 1.6690215 -0.25959134 -1.503143 -0.24574307 -0.27272356 -2.6968865 -0.054294866 -0.23093453 0.6962064 1.8489561 1.126565 -0.26888868 -1.1065259 2.5733597 0.059218433 0.013929292 -0.024125088 0.19808476 -0.14436041 - -0.573662 -0.54685897 -0.03275327 -0.5434248 -0.7128458 0.106430225 -0.25497723 1.503993 -2.6509697 1.0915068 1.2460852 -2.0733902 -0.3426876 -0.37144086 -1.4075117 -0.7778167 -1.1105758 1.7522705 0.9356784 1.2715551 - 0.72167206 -1.1290518 -0.5245203 0.48937455 -1.2221278 0.71299845 -0.24032539 -0.3748208 0.71096 0.4442633 -0.36096618 1.1593298 -1.0810633 0.6159356 0.59310126 -0.30954644 0.326133 -1.2511135 0.924027 -0.18490213] \ No newline at end of file diff --git a/kaldi/test_cases/renorm_tgt1.0_D20_T35/io.npz b/kaldi/test_cases/renorm_tgt1.0_D20_T35/io.npz deleted file mode 100644 index d5a71d1fd1..0000000000 Binary files a/kaldi/test_cases/renorm_tgt1.0_D20_T35/io.npz and /dev/null differ diff --git a/kaldi/test_cases/renorm_tgt1.0_D20_T35/model.raw b/kaldi/test_cases/renorm_tgt1.0_D20_T35/model.raw deleted file mode 100644 index e6c5adf771..0000000000 Binary files a/kaldi/test_cases/renorm_tgt1.0_D20_T35/model.raw and /dev/null differ diff --git a/kaldi/test_cases/renorm_tgt1.0_D20_T35/model.raw.txt b/kaldi/test_cases/renorm_tgt1.0_D20_T35/model.raw.txt deleted file mode 100644 index 67834e8309..0000000000 --- a/kaldi/test_cases/renorm_tgt1.0_D20_T35/model.raw.txt +++ /dev/null @@ -1,9 +0,0 @@ - - -input-node name=input dim=20 -component-node name=renorm1 input=input component=renorm1 -output-node name=output input=renorm1 - - 1 - renorm1 20 1.0 F - \ No newline at end of file diff --git a/kaldi/test_cases/renorm_tgt1.0_D20_T35/output.ark b/kaldi/test_cases/renorm_tgt1.0_D20_T35/output.ark deleted file mode 100644 index 348d69cb56..0000000000 --- a/kaldi/test_cases/renorm_tgt1.0_D20_T35/output.ark +++ /dev/null @@ -1,36 +0,0 @@ -idx [ - 0.5221589 -0.145347 0.6808671 1.601049 -0.2461481 -0.2461309 1.66011 0.8067473 -0.4935237 0.5703532 -0.4871567 -0.4895872 0.254357 -2.01129 -1.813279 -0.5910913 -1.064714 0.330345 -0.9545385 -1.48465 - 1.495103 -0.2303136 0.0688853 -1.453381 -0.555323 0.1131518 -1.174125 0.3832483 -0.6127095 -0.2975558 -0.6137989 1.889503 -0.01376847 -1.078967 0.8390753 -1.245378 0.2130611 -1.999053 -1.354878 0.2008175 - 0.9224969 0.2140743 -0.1444685 -0.3761405 -1.846979 -0.8992338 -0.5754327 1.320564 0.4292501 -2.2024 0.4048477 -0.4810471 -0.8456151 0.7641097 1.287931 1.163361 -1.048356 -0.38627 0.4138163 1.218657 - -0.4418863 -0.1712116 -1.020243 -1.103121 0.7492975 1.250702 -0.06640651 0.925441 0.3334946 -0.5949185 0.3332729 1.418351 -0.03303817 1.442888 -2.415884 0.7579446 0.08027333 -0.2757395 0.08462023 -1.832902 - -0.3260475 0.5300434 2.193561 -0.7692413 -1.200005 -0.7447317 1.358683 0.487948 -0.7862952 0.761816 0.1440871 1.437709 -1.042021 -0.4863317 -0.5819855 -2.172219 0.4395158 0.3874706 0.007589636 -0.3481854 - -1.418544 -0.4215885 -0.343483 -0.8040763 -0.1616474 0.4049569 1.890415 0.1749693 0.2581279 -0.07461285 -1.923074 -0.02657333 0.06036527 2.468765 -0.1927923 0.3022235 -0.03478961 -1.171299 1.145385 0.7536191 - 0.7542669 -0.8671216 1.337596 -1.336697 0.5595815 2.088649 -0.9444988 -0.5399777 0.09501984 -0.4800755 -1.478593 0.06537636 -1.012931 0.4515811 -0.8766919 1.477898 -0.7468498 -0.307093 0.7757071 -1.173657 - 0.2580216 1.482771 -1.823465 0.2094413 0.2948008 0.8868689 -1.403148 -1.497874 0.5920698 0.3368877 0.2841492 0.3929971 -0.7713932 0.2634594 0.3324498 -0.810332 2.116461 0.5374973 -1.351368 0.7447684 - -0.9398919 0.7589908 1.117241 -0.7913893 0.9289899 0.3980474 0.792718 1.82909 -0.2366294 -0.7268327 -0.8577646 -0.7866912 -0.07434968 0.3289751 0.2668148 0.7976582 0.01253781 1.401652 -0.2552103 2.623077 - 0.8387029 -1.149014 -1.435524 0.646751 -0.2995504 0.9571129 0.6343719 -0.09762667 -1.135121 -2.030643 -0.5985503 1.147997 0.2869912 -1.669904 0.2321479 0.5165154 -1.184805 0.2060675 0.0780284 -1.532144 - 0.3158574 0.4950648 0.9561258 0.9303043 -1.216217 -0.827919 0.454677 0.4535741 0.454688 3.40122 0.5039864 1.002486 0.8422 0.5750532 -0.2783221 0.6700238 -0.682256 -0.2090653 -0.4284826 0.07227911 - 2.000691 -1.613984 0.5931738 -1.393962 -0.4079176 0.9412421 0.05556088 -0.9315562 -0.6182778 0.587415 -0.6312975 0.1870975 0.03939034 -0.5632153 1.853133 0.5479323 -1.750446 0.1611631 -0.5720198 0.7368067 - -0.7812858 -0.1131099 0.4978285 0.853482 -1.183281 -0.3297592 -0.4682123 -0.6440675 1.740427 0.3992406 -1.243009 0.9048501 2.092072 1.017829 -1.497831 -0.4773694 1.248951 -0.6976373 0.4375277 0.7636526 - -0.810147 -0.05202579 -2.832902 -0.8953256 -0.2207472 -1.090576 1.426745 -1.249959 -0.3846035 0.1142687 1.259688 -1.254959 1.016617 0.008943804 -0.8578489 0.4038833 0.1739803 -0.5245959 0.06100776 -0.3367682 - 0.1209436 0.705447 1.689773 -1.318793 2.272576 -2.079793 -0.1617148 0.6268047 0.2993743 -0.6634363 -0.2217375 -0.5252529 -0.6279208 0.9051828 0.3803713 -0.7382395 0.9584514 0.3274029 0.8660393 0.6708189 - -1.21867 -0.8234979 1.098564 0.897279 -0.03072653 0.1724779 1.87824 -0.8696435 0.8042642 -0.2972347 -0.3200037 1.615264 1.213409 1.195905 1.919128 0.03087684 1.00251 -0.4561098 0.4765429 -0.1913177 - 0.1152558 0.7071975 -0.9722538 2.486287 -1.195404 -1.442764 1.37613 0.9406962 0.7416127 0.7466339 -0.01455227 -1.066166 0.09007505 -0.8046399 1.15869 -0.1747415 -0.9809002 -0.3818879 0.4906673 -0.6698478 - -1.114788 0.3303974 0.332132 -0.6873267 -0.6386459 0.3146193 -1.96335 -1.908276 -0.9740853 -0.2893972 0.4215365 2.000326 1.162837 -0.2168488 -0.02578267 -1.359255 -0.02510059 -0.3913709 0.4375502 -1.121581 - 0.535242 1.579651 -0.1120889 0.4140068 0.7112671 -0.4135005 0.2309512 0.01297781 0.1006656 -0.7966691 0.02526035 0.5132404 1.495558 0.988631 2.219085 -0.7908336 0.8990195 0.1889535 2.256826 -0.8330377 - -0.7452163 -0.5319347 -1.884864 -0.4665845 -0.6736969 0.1334679 0.3032934 1.665019 0.8434594 -0.5119767 -0.7973036 0.4365567 -1.171649 1.625339 1.046701 -0.4163728 -1.520332 1.201502 -0.1016491 1.098508 - -1.83038 -0.688074 0.006019693 0.05393305 -0.5166688 0.7150229 -1.225613 -0.1634496 0.1380977 0.5905685 0.8169238 -1.291073 -1.761141 1.466755 0.3814918 -0.8592519 1.7807 0.1327928 1.353817 0.07751026 - 1.626399 1.385363 -0.1964893 0.7667904 0.5093484 1.080162 -0.761544 0.5414507 0.8353376 -1.388045 -0.9338601 -1.609418 -0.2126233 0.566304 1.185701 0.05847763 1.285348 -1.089214 -1.344356 -0.04383977 - 0.4455485 -0.03792868 -2.398408 -0.1033868 -1.513295 0.776877 0.4252851 -1.09034 -0.5961292 -1.228778 -0.07271307 1.108046 -1.143526 0.5847367 -0.6151438 -0.9197997 -0.1241643 -1.200969 -0.6422802 -1.38964 - 1.617974 0.02903994 -0.576232 0.1762149 -0.09250344 -0.181971 0.5057732 0.6238163 -0.4368737 -0.4741929 -0.2265082 -1.895658 -1.247777 1.125637 1.35465 -0.205084 0.4748013 0.2563181 2.535494 0.9219827 - -0.1257444 -0.9393069 -1.579155 0.200007 -0.7435012 -1.398091 -0.6355883 -1.063174 1.658479 0.8666617 -0.007837195 1.454802 0.0760539 -0.846652 1.497248 0.5297546 -1.019624 -0.187105 -0.8607425 -1.359308 - 1.154651 2.38044 -1.743572 0.7018449 -0.811146 -0.6072916 -0.7385283 -1.077124 0.06049116 -1.035933 0.3371743 -0.06263107 -0.2978928 -1.131446 -0.7190518 0.9417345 0.6244857 -1.218703 0.123836 0.9367426 - -1.734661 0.5645996 -0.6885251 0.5929028 -0.7930943 -1.875433 -1.691162 0.04996454 0.2698748 -0.9396655 0.6635545 -1.726467 -0.06866279 -1.258354 -0.6773158 0.04925144 -0.8940461 -0.3995875 1.045628 -0.5994421 - 0.982971 -1.328802 0.6231746 1.695625 -2.907237 -0.9373367 0.6787729 -0.2388292 0.4365551 -0.710429 0.10185 -0.1831131 1.373587 0.2992589 0.3971004 -0.4844644 -0.5735399 -0.5087904 0.4639688 -0.495177 - 0.2434039 1.743286 0.7317237 -0.2738519 1.008991 -0.3427734 -1.711975 -0.8467681 -1.57142 -0.2952628 0.01547099 1.408167 0.2746111 -0.1840392 0.6966807 -1.8573 0.1979105 0.6475081 -1.241977 0.9607257 - 0.4449477 -0.5458888 0.831781 2.984787 0.2390601 0.3262817 -0.6038221 -1.117106 1.091462 -1.125308 0.0940726 -0.6278725 0.6296108 0.4385931 1.363829 -0.6704078 -0.354746 -1.286568 -0.5840159 0.4959551 - 0.6931215 -0.8443623 0.7962372 1.241263 0.3785534 1.71845 -0.7085046 -1.139643 -1.62865 1.369823 0.5991568 -0.05089499 0.2563477 -1.030532 2.239404 0.1183188 0.1001652 0.6645337 0.4404265 0.2049949 - -0.7157696 0.4269116 1.704161 1.218269 1.44262 -0.4629025 -0.8960809 -0.1138992 0.05045855 0.9907835 -1.532516 1.384998 -0.1430752 -0.3865381 -0.9164541 -1.498462 0.7453758 0.06638895 -1.168051 -1.172686 - -0.2953834 1.468206 -0.2283575 -1.322286 -0.2161755 -0.2399097 -2.3724 -0.04776216 -0.2031487 0.6124395 1.626491 0.9910176 -0.2365362 -0.9733897 2.263735 0.05209332 0.01225333 -0.02122238 0.1742514 -0.1269911 - -0.4894041 -0.4665378 -0.02794256 -0.4636081 -0.608145 0.09079805 -0.2175269 1.283091 -2.261603 0.9311894 1.063064 -1.768856 -0.2923546 -0.3168847 -1.20078 -0.6635731 -0.9474575 1.494902 0.7982486 1.084793 - 0.9625337 -1.505878 -0.6995815 0.6527057 -1.630019 0.9509652 -0.3205352 -0.4999191 0.9482464 0.5925384 -0.4814404 1.546262 -1.441873 0.8215072 0.7910517 -0.4128591 0.4349815 -1.668679 1.232426 -0.2466141 ] diff --git a/kaldi/test_cases/renorm_tgt1.0_D20_T35/subsampling b/kaldi/test_cases/renorm_tgt1.0_D20_T35/subsampling deleted file mode 100644 index 56a6051ca2..0000000000 --- a/kaldi/test_cases/renorm_tgt1.0_D20_T35/subsampling +++ /dev/null @@ -1 +0,0 @@ -1 \ No newline at end of file diff --git a/kaldi/test_cases/renorm_tgt1.0_D20_T35/test.sh b/kaldi/test_cases/renorm_tgt1.0_D20_T35/test.sh deleted file mode 100644 index 0f3e4da945..0000000000 --- a/kaldi/test_cases/renorm_tgt1.0_D20_T35/test.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -nnet3-compute --frames-per-chunk=36 --frame-subsampling-factor=1 model.raw.txt ark:input.ark ark,t:predicted.ark 2>.error -fail=0 -diff output.ark predicted.ark || fail=1; -rm predicted.ark -echo "fail=$fail" && [ $fail -gt 0 ] && exit 1; diff --git a/kaldi/test_cases/renorm_tgt1.0_D20_T35/vars.sh b/kaldi/test_cases/renorm_tgt1.0_D20_T35/vars.sh deleted file mode 100644 index 94c31d31ad..0000000000 --- a/kaldi/test_cases/renorm_tgt1.0_D20_T35/vars.sh +++ /dev/null @@ -1,4 +0,0 @@ -left_context=0 -right_context=0 -subsampling=1 -adjust_final_offset=0 diff --git a/kaldi/test_cases/renorm_tgt1.0_D24_T32_input0/input.ark b/kaldi/test_cases/renorm_tgt1.0_D24_T32_input0/input.ark deleted file mode 100644 index 73463c9d12..0000000000 --- a/kaldi/test_cases/renorm_tgt1.0_D24_T32_input0/input.ark +++ /dev/null @@ -1,33 +0,0 @@ -idx [ - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0] \ No newline at end of file diff --git a/kaldi/test_cases/renorm_tgt1.0_D24_T32_input0/io.npz b/kaldi/test_cases/renorm_tgt1.0_D24_T32_input0/io.npz deleted file mode 100644 index 20d4d76148..0000000000 Binary files a/kaldi/test_cases/renorm_tgt1.0_D24_T32_input0/io.npz and /dev/null differ diff --git a/kaldi/test_cases/renorm_tgt1.0_D24_T32_input0/model.raw b/kaldi/test_cases/renorm_tgt1.0_D24_T32_input0/model.raw deleted file mode 100644 index 920be5124e..0000000000 Binary files a/kaldi/test_cases/renorm_tgt1.0_D24_T32_input0/model.raw and /dev/null differ diff --git a/kaldi/test_cases/renorm_tgt1.0_D24_T32_input0/model.raw.txt b/kaldi/test_cases/renorm_tgt1.0_D24_T32_input0/model.raw.txt deleted file mode 100644 index 5f459fa986..0000000000 --- a/kaldi/test_cases/renorm_tgt1.0_D24_T32_input0/model.raw.txt +++ /dev/null @@ -1,9 +0,0 @@ - - -input-node name=input dim=24 -component-node name=renorm1 input=input component=renorm1 -output-node name=output input=renorm1 - - 1 - renorm1 24 1.0 F - \ No newline at end of file diff --git a/kaldi/test_cases/renorm_tgt1.0_D24_T32_input0/output.ark b/kaldi/test_cases/renorm_tgt1.0_D24_T32_input0/output.ark deleted file mode 100644 index fb25d35ef6..0000000000 --- a/kaldi/test_cases/renorm_tgt1.0_D24_T32_input0/output.ark +++ /dev/null @@ -1,33 +0,0 @@ -idx [ - 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] diff --git a/kaldi/test_cases/renorm_tgt1.0_D24_T32_input0/subsampling b/kaldi/test_cases/renorm_tgt1.0_D24_T32_input0/subsampling deleted file mode 100644 index 56a6051ca2..0000000000 --- a/kaldi/test_cases/renorm_tgt1.0_D24_T32_input0/subsampling +++ /dev/null @@ -1 +0,0 @@ -1 \ No newline at end of file diff --git a/kaldi/test_cases/renorm_tgt1.0_D24_T32_input0/test.sh b/kaldi/test_cases/renorm_tgt1.0_D24_T32_input0/test.sh deleted file mode 100644 index 62bf716cd0..0000000000 --- a/kaldi/test_cases/renorm_tgt1.0_D24_T32_input0/test.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -nnet3-compute --frames-per-chunk=33 --frame-subsampling-factor=1 model.raw.txt ark:input.ark ark,t:predicted.ark 2>.error -fail=0 -diff output.ark predicted.ark || fail=1; -rm predicted.ark -echo "fail=$fail" && [ $fail -gt 0 ] && exit 1; diff --git a/kaldi/test_cases/renorm_tgt1.0_D24_T32_input0/vars.sh b/kaldi/test_cases/renorm_tgt1.0_D24_T32_input0/vars.sh deleted file mode 100644 index 94c31d31ad..0000000000 --- a/kaldi/test_cases/renorm_tgt1.0_D24_T32_input0/vars.sh +++ /dev/null @@ -1,4 +0,0 @@ -left_context=0 -right_context=0 -subsampling=1 -adjust_final_offset=0 diff --git a/kaldi/test_cases/renorm_tgt1.5_D7_T5/input.ark b/kaldi/test_cases/renorm_tgt1.5_D7_T5/input.ark deleted file mode 100644 index 0153606fc3..0000000000 --- a/kaldi/test_cases/renorm_tgt1.5_D7_T5/input.ark +++ /dev/null @@ -1,6 +0,0 @@ -idx [ - 0.49671414 -0.1382643 0.64768857 1.5230298 -0.23415338 -0.23413695 1.5792128 - 0.7674347 -0.46947438 0.54256004 -0.46341768 -0.46572974 0.24196227 -1.9132802 - -1.7249179 -0.5622875 -1.0128311 0.31424734 -0.9080241 -1.4123037 1.4656488 - -0.2257763 0.0675282 -1.4247482 -0.54438275 0.11092259 -1.1509936 0.37569803 - -0.6006387 -0.29169375 -0.6017066 1.8522782 -0.013497225 -1.0577109 0.82254493] \ No newline at end of file diff --git a/kaldi/test_cases/renorm_tgt1.5_D7_T5/io.npz b/kaldi/test_cases/renorm_tgt1.5_D7_T5/io.npz deleted file mode 100644 index fa13e249a7..0000000000 Binary files a/kaldi/test_cases/renorm_tgt1.5_D7_T5/io.npz and /dev/null differ diff --git a/kaldi/test_cases/renorm_tgt1.5_D7_T5/model.raw b/kaldi/test_cases/renorm_tgt1.5_D7_T5/model.raw deleted file mode 100644 index 6832aefced..0000000000 Binary files a/kaldi/test_cases/renorm_tgt1.5_D7_T5/model.raw and /dev/null differ diff --git a/kaldi/test_cases/renorm_tgt1.5_D7_T5/model.raw.txt b/kaldi/test_cases/renorm_tgt1.5_D7_T5/model.raw.txt deleted file mode 100644 index 963d82ba96..0000000000 --- a/kaldi/test_cases/renorm_tgt1.5_D7_T5/model.raw.txt +++ /dev/null @@ -1,9 +0,0 @@ - - -input-node name=input dim=7 -component-node name=renorm1 input=input component=renorm1 -output-node name=output input=renorm1 - - 1 - renorm1 7 1.5 F - \ No newline at end of file diff --git a/kaldi/test_cases/renorm_tgt1.5_D7_T5/output.ark b/kaldi/test_cases/renorm_tgt1.5_D7_T5/output.ark deleted file mode 100644 index 4134a7c1c3..0000000000 --- a/kaldi/test_cases/renorm_tgt1.5_D7_T5/output.ark +++ /dev/null @@ -1,6 +0,0 @@ -idx [ - 0.8323817 -0.2317 1.085381 2.552257 -0.3923886 -0.3923611 2.646407 - 1.328656 -0.812799 0.9393319 -0.802313 -0.8063159 0.4189082 -3.312454 - -2.234757 -0.7284846 -1.312197 0.4071304 -1.176412 -1.829743 1.898855 - -0.4560611 0.1364049 -2.877947 -1.099636 0.2240602 -2.324971 0.7588984 - -0.970372 -0.4712507 -0.9720973 2.992479 -0.02180567 -1.708803 1.328876 ] diff --git a/kaldi/test_cases/renorm_tgt1.5_D7_T5/subsampling b/kaldi/test_cases/renorm_tgt1.5_D7_T5/subsampling deleted file mode 100644 index 56a6051ca2..0000000000 --- a/kaldi/test_cases/renorm_tgt1.5_D7_T5/subsampling +++ /dev/null @@ -1 +0,0 @@ -1 \ No newline at end of file diff --git a/kaldi/test_cases/renorm_tgt1.5_D7_T5/test.sh b/kaldi/test_cases/renorm_tgt1.5_D7_T5/test.sh deleted file mode 100644 index 7841ec16bc..0000000000 --- a/kaldi/test_cases/renorm_tgt1.5_D7_T5/test.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -nnet3-compute --frames-per-chunk=6 --frame-subsampling-factor=1 model.raw.txt ark:input.ark ark,t:predicted.ark 2>.error -fail=0 -diff output.ark predicted.ark || fail=1; -rm predicted.ark -echo "fail=$fail" && [ $fail -gt 0 ] && exit 1; diff --git a/kaldi/test_cases/renorm_tgt1.5_D7_T5/vars.sh b/kaldi/test_cases/renorm_tgt1.5_D7_T5/vars.sh deleted file mode 100644 index 94c31d31ad..0000000000 --- a/kaldi/test_cases/renorm_tgt1.5_D7_T5/vars.sh +++ /dev/null @@ -1,4 +0,0 @@ -left_context=0 -right_context=0 -subsampling=1 -adjust_final_offset=0 diff --git a/kaldi/test_cases/run_all.sh b/kaldi/test_cases/run_all.sh deleted file mode 100755 index 38e0c59f57..0000000000 --- a/kaldi/test_cases/run_all.sh +++ /dev/null @@ -1,68 +0,0 @@ -#!/bin/bash - -set -e - -TEST_CASE_DIR=$(dirname $0) -FAILURES="" -FAILED=() - -if [ "$#" -gt 0 ] -then - TEST_CASES="$@" -else - TEST_CASES="$TEST_CASE_DIR/*" -fi - -: ${TRACT_RUN:=cargo run -p tract $CARGO_OPTS --} - -for tc in $TEST_CASES -do - if [ ! -e "$tc/vars.sh" ] - then - continue - fi - . $tc/vars.sh - for pass in txt bin bin-opti - do - [[ "$pass" = "txt" ]] && suffix=.txt || suffix="" - [[ "$pass" = "bin-opti" ]] && opti="-O" || opti="" - printf "$tc ($pass) " - cmd="$TRACT_RUN \ - -f kaldi $tc/model.raw$suffix \ - --output-node output \ - --input-facts-from-bundle $tc/io.npz \ - --kaldi-downsample $subsampling \ - --kaldi-left-context $left_context \ - --kaldi-right-context $right_context \ - --kaldi-adjust-final-offset $adjust_final_offset \ - $opti \ - run \ - --input-from-bundle $tc/io.npz \ - --assert-output-bundle $tc/io.npz" - - # echo $cmd - # if $($cmd) - if $($cmd 2> /dev/null > /dev/null) - then - printf "\e[92mOK\e[39m\n" - else - printf "\e[91mFAIL\e[39m\n" - FAILED+=("$cmd") - FAILURES="$FAILURES $tc" - fi - done -done - -if [ -n "$FAILURES" ] -then - echo - printf " \e[91m$(echo $FAILURES | wc -w) FAILURES\e[39m\n" - echo -fi - -for cmd in "${FAILED[@]}" -do - echo $cmd -done - -[ -z "$FAILURES" ] diff --git a/libcli/Cargo.toml b/libcli/Cargo.toml index f2eacbf14b..6e05845e9d 100644 --- a/libcli/Cargo.toml +++ b/libcli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tract-libcli" -version = "0.20.5-pre" +version = "0.20.6-pre" license = "MIT/Apache-2.0" authors = ["Mathieu Poumeyrol "] description = "Tiny, no-nonsense, self contained, TensorFlow and ONNX inference" @@ -23,9 +23,9 @@ py_literal.workspace = true rand.workspace = true serde.workspace = true serde_json.workspace = true -tract-core = { version = "=0.20.5-pre", path = "../core" } -tract-hir = { version = "=0.20.5-pre", path = "../hir" } -tract-onnx = { version = "=0.20.5-pre", path = "../onnx", optional = true } +tract-core = { version = "=0.20.6-pre", path = "../core" } +tract-hir = { version = "=0.20.6-pre", path = "../hir" } +tract-onnx = { version = "=0.20.6-pre", path = "../onnx", optional = true } [features] # hir = ["tract-hir"] diff --git a/libcli/src/model.rs b/libcli/src/model.rs index fa9761e1ec..b6e9af2fe5 100644 --- a/libcli/src/model.rs +++ b/libcli/src/model.rs @@ -85,9 +85,9 @@ pub trait Model: if let Some(submodel) = self.node_op(id).downcast_ref::() { submodel.iteration_count(input) } else if let Some(lir) = self.node_op(id).downcast_ref::() { - lir.iteration_count(input) + Some(lir.iters.clone()) } else if let Some(mir) = self.node_op(id).downcast_ref::() { - mir.iteration_count(input) + Some(mir.iters.clone()) } else { None } diff --git a/libcli/src/profile.rs b/libcli/src/profile.rs index a14739a0ea..2e3c261174 100644 --- a/libcli/src/profile.rs +++ b/libcli/src/profile.rs @@ -146,7 +146,7 @@ fn profile_submodel( new_prefix.push((node.id, "loop".to_string())); let scan_inputs = make_inputs_for_model(scan_state.model_state.model())?; - let multi = scan_state.iteration_count(&input); + let multi = scan_state.params.iters.to_usize().unwrap(); rec_profiler( &mut scan_state.model_state, diff --git a/libcli/src/tensor.rs b/libcli/src/tensor.rs index 47a87b0be8..64b102ac4c 100644 --- a/libcli/src/tensor.rs +++ b/libcli/src/tensor.rs @@ -70,6 +70,7 @@ pub struct TensorValues { fn parse_dt(dt: &str) -> TractResult { Ok(match dt.to_lowercase().as_ref() { + "bool" => DatumType::Bool, "f16" => DatumType::F16, "f32" => DatumType::F32, "f64" => DatumType::F64, diff --git a/linalg/Cargo.toml b/linalg/Cargo.toml index 05eb0a1230..f575560b1c 100644 --- a/linalg/Cargo.toml +++ b/linalg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tract-linalg" -version = "0.20.5-pre" +version = "0.20.6-pre" license = "MIT/Apache-2.0" authors = ["Mathieu Poumeyrol "] description = "Tiny, no-nonsense, self contained, TensorFlow and ONNX inference" @@ -22,7 +22,7 @@ log.workspace = true num-traits.workspace = true paste.workspace = true scan_fmt.workspace = true -tract-data = { version = "=0.20.5-pre", path = "../data" } +tract-data = { version = "=0.20.6-pre", path = "../data" } [build-dependencies] cc.workspace = true diff --git a/linalg/cost_model/Cargo.toml b/linalg/cost_model/Cargo.toml index daa82052c1..436485cf23 100644 --- a/linalg/cost_model/Cargo.toml +++ b/linalg/cost_model/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cost_model" -version = "0.20.5-pre" +version = "0.20.6-pre" edition = "2021" [workspace] @@ -15,5 +15,5 @@ colorous = "1.0.6" nu_ansi_term = "0.12.1" pbr = "1" readings-probe = "0.1.4" -tract-linalg = { path="../../linalg", version = "=0.20.5-pre" } -tract-data = { path="../../data", version = "=0.20.5-pre" } +tract-linalg = { path="../../linalg", version = "=0.20.6-pre" } +tract-data = { path="../../data", version = "=0.20.6-pre" } diff --git a/linalg/matmul-bench/Cargo.toml b/linalg/matmul-bench/Cargo.toml index 729dd58a6b..165353fd17 100644 --- a/linalg/matmul-bench/Cargo.toml +++ b/linalg/matmul-bench/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "matmul-bench" -version = "0.20.5-pre" +version = "0.20.6-pre" authors = ["Mathieu Poumeyrol "] edition = "2021" @@ -12,8 +12,8 @@ cblas = { version = "0.3", optional = true } accelerate-src = { version = "0.3", optional = true } blis-src = { version = "0.2", features = ["static"], optional = true } matrixmultiply = "*" -tract-data = { path = "../../data", version = "=0.20.5-pre" } -tract-linalg = { path = "../../linalg", version = "=0.20.5-pre" } +tract-data = { path = "../../data", version = "=0.20.6-pre" } +tract-linalg = { path = "../../linalg", version = "=0.20.6-pre" } [features] diff --git a/nnef/Cargo.toml b/nnef/Cargo.toml index 2c12f3b8cd..03ea479422 100644 --- a/nnef/Cargo.toml +++ b/nnef/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tract-nnef" -version = "0.20.5-pre" +version = "0.20.6-pre" authors = ["Mathieu Poumeyrol "] license = "MIT/Apache-2.0" description = "Tiny, no-nonsense, self contained, TensorFlow and ONNX inference" @@ -21,7 +21,7 @@ nom.workspace = true tar.workspace = true flate2 = { workspace = true, optional = true } walkdir.workspace = true -tract-core = { version = "=0.20.5-pre", path = "../core" } +tract-core = { version = "=0.20.6-pre", path = "../core" } [dev-dependencies] temp-dir = "0.1.11" diff --git a/nnef/nnef-resources/Cargo.toml b/nnef/nnef-resources/Cargo.toml index 8cb347e127..03e014ea33 100644 --- a/nnef/nnef-resources/Cargo.toml +++ b/nnef/nnef-resources/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tract-nnef-resources" -version = "0.20.5-pre" +version = "0.20.6-pre" authors = [ "Mathieu Poumeyrol ", "Hubert de La Jonquière " @@ -22,6 +22,6 @@ serde_json.workspace = true serde.workspace = true anyhow.workspace = true nom.workspace = true -tract-nnef = { version = "=0.20.5-pre", path = "../../nnef" } +tract-nnef = { version = "=0.20.6-pre", path = "../../nnef" } diff --git a/nnef/src/ops/core.rs b/nnef/src/ops/core.rs index 8dc9353b87..c322ef9559 100644 --- a/nnef/src/ops/core.rs +++ b/nnef/src/ops/core.rs @@ -6,6 +6,7 @@ mod cast; #[cfg(feature = "complex")] mod complex; mod downsample; +mod dyn_slice; mod einsum; mod fft; mod force_eval; @@ -44,6 +45,7 @@ pub fn register(registry: &mut Registry) { #[cfg(feature = "complex")] complex::register(registry); downsample::register(registry); + dyn_slice::register(registry); einsum::register(registry); fft::register(registry); force_eval::register(registry); diff --git a/nnef/src/ops/core/dyn_slice.rs b/nnef/src/ops/core/dyn_slice.rs new file mode 100644 index 0000000000..a5d8015774 --- /dev/null +++ b/nnef/src/ops/core/dyn_slice.rs @@ -0,0 +1,42 @@ +use tract_core::ops::array::DynSlice; + +use crate::internal::*; +use crate::ser::tdim; + +pub fn register(registry: &mut Registry) { + registry.register_dumper(TypeId::of::(), ser); + registry.register_primitive( + "tract_core_dyn_slice", + &[ + TypeName::Scalar.tensor().named("input"), + TypeName::Integer.named("start"), + TypeName::Integer.named("end"), //.default(0), + TypeName::Integer.named("len"), + TypeName::Integer.named("axis"), + // TypeName::Integer.named("to_the_end").default(0), + ], + &[("output", TypeName::Scalar.tensor())], + deser, + ); +} + +pub fn ser(ast: &mut IntoAst, node: &TypedNode) -> TractResult>> { + let op = node.op().downcast_ref::().unwrap(); + let input = ast.mapping[&node.inputs[0]].clone(); + let start = ast.mapping[&node.inputs[1]].clone(); + let end = ast.mapping[&node.inputs[2]].clone(); + Ok(Some(invocation( + concat!("tract_core_dyn_slice"), + &[input, start, end], + &[("axis", numeric(op.axis)), ("len", tdim(&op.len))], + ))) +} + +pub fn deser(builder: &mut ModelBuilder, invocation: &ResolvedInvocation) -> TractResult { + let wire = invocation.named_arg_as(builder, "input")?; + let start = invocation.named_arg_as(builder, "start")?; + let end = invocation.named_arg_as(builder, "end")?; + let axis = invocation.named_arg_as(builder, "axis")?; + let len = invocation.named_arg_as(builder, "len")?; + builder.wire(DynSlice { axis, len }, &[wire, start, end]) +} diff --git a/nnef/src/ops/core/matmul.rs b/nnef/src/ops/core/matmul.rs index c582ccb138..6f0f6a924d 100644 --- a/nnef/src/ops/core/matmul.rs +++ b/nnef/src/ops/core/matmul.rs @@ -25,5 +25,6 @@ fn matmul_load(builder: &mut ModelBuilder, invocation: &ResolvedInvocation) -> T let b: OutletId = invocation.named_arg_as(builder, "B")?; let axes: TVec = invocation.named_arg_as(builder, "axes")?; let fact = builder.model.outlet_fact(a)?; - builder.wire(EinSum::new(from_legacy_axes_spec(&axes, fact.rank())?, fact.datum_type), &[a, b]) + let axes = from_legacy_axes_spec(&axes, fact.rank())?; + builder.wire(EinSum::new(axes, fact.datum_type), &[a, b]) } diff --git a/nnef/src/ops/core/scan.rs b/nnef/src/ops/core/scan.rs index 8b7758105f..e0e509c191 100644 --- a/nnef/src/ops/core/scan.rs +++ b/nnef/src/ops/core/scan.rs @@ -13,14 +13,6 @@ pub fn register(registry: &mut Registry) { "tract_core_scan", &[ TypeName::String.named("body"), - ast::TypeSpec::Tuple(vec![ - TypeName::String.spec(), // body param name - TypeName::Scalar.tensor(), // input - TypeName::Integer.spec(), // axis - TypeName::Integer.spec(), // step - ]) - .array() - .named("scan"), ast::TypeSpec::Tuple(vec![ TypeName::String.spec(), // body param name TypeName::Scalar.tensor(), // input @@ -42,7 +34,8 @@ pub fn register(registry: &mut Registry) { ]) .array() .named("output"), - TypeName::Integer.spec().named("skip").default(0), // needed for pulse + TypeName::Integer.spec().named("iters").default(0), // needed for pulse + TypeName::Integer.spec().named("skip").default(0), // needed for pulse ], &[("outputs", TypeName::Scalar.tensor().array())], de_scan, @@ -53,21 +46,12 @@ fn ser_scan(ast: &mut IntoAst, node: &TypedNode) -> TractResult().unwrap(); let (mut body, body_tensors) = crate::ser::to_fragment_def(ast, &op.body)?; body.decl.id = Identifier(format!("scan_body_{}", ast.fragments.len())); - let mut scan = vec![]; let mut state = vec![]; let mut full = vec![]; let mut outputs = vec![]; for (slot, input) in op.input_mapping.iter().enumerate() { let name = string(&body.decl.parameters[slot].id.0); match input { - InputMapping::Scan(info) => { - scan.push(tuple_4( - name, - ast.mapping[&node.inputs[slot]].as_ref().clone(), - numeric(info.axis), - numeric(info.chunk), - )); - } InputMapping::State => { let initializer = (*ast.mapping[&node.inputs[slot]]).clone(); let output: usize = op @@ -124,11 +108,11 @@ fn ser_scan(ast: &mut IntoAst, node: &TypedNode) -> TractResult Tract body.registries = builder.registries.clone(); let mut outer_inputs: TVec = tvec!(); let mut input_mapping = vec![]; - let scan: TVec<(String, OutletId, usize, isize)> = invocation.named_arg_as(builder, "scan")?; let full: TVec<(String, OutletId)> = invocation.named_arg_as(builder, "full")?; let state: TVec<(String, OutletId, String)> = invocation.named_arg_as(builder, "state")?; for par in &fragment.decl.parameters { - let (outer_input_wire, inner_fact) = if let Some((_, wire, axis, chunk)) = - scan.iter().find(|s| s.0 == par.id.0 || escape(&s.0) == par.id.0) - { - input_mapping.push(InputMapping::Scan(ScanInfo { axis: *axis, chunk: *chunk })); - let mut fact = builder.model.outlet_fact(*wire)?.clone(); - fact.shape.set(*axis, chunk.abs().to_dim()); - (*wire, fact) - } else if let Some((_, wire)) = + let (outer_input_wire, inner_fact) = if let Some((_, wire)) = full.iter().find(|s| s.0 == par.id.0 || escape(&s.0) == par.id.0) { input_mapping.push(InputMapping::Full); @@ -246,7 +222,8 @@ fn de_scan(builder: &mut ModelBuilder, invocation: &ResolvedInvocation) -> Tract }); } let skip: usize = invocation.named_arg_as(builder, "skip")?; - let op = Scan::new(body.model, input_mapping, output_mapping, skip)?; + let iters: TDim = invocation.named_arg_as(builder, "iters")?; + let op = Scan::new(body.model, input_mapping, output_mapping, skip, iters)?; builder.wire(op, &outer_inputs) } diff --git a/nnef/src/ops/nnef/deser.rs b/nnef/src/ops/nnef/deser.rs index 0364d222eb..e7659ca0ff 100644 --- a/nnef/src/ops/nnef/deser.rs +++ b/nnef/src/ops/nnef/deser.rs @@ -560,7 +560,7 @@ pub fn matmul(builder: &mut ModelBuilder, invocation: &ResolvedInvocation) -> Tr let name = &*invocation.invocation.id.0; if a_dt.is_quantized() || b_dt.is_quantized() { for input in 0..7 { - axes = axes.with_extra_input(input)?; + axes = axes.with_extra_input(2 + input)?; } let accum_dt = DatumType::QI32(QParams::ZpScale { scale: a_dt.zp_scale().1 * b_dt.zp_scale().1, diff --git a/onnx-opl/Cargo.toml b/onnx-opl/Cargo.toml index f5c5bcd254..91f562de9a 100644 --- a/onnx-opl/Cargo.toml +++ b/onnx-opl/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tract-onnx-opl" -version = "0.20.5-pre" +version = "0.20.6-pre" authors = ["Mathieu Poumeyrol "] license = "MIT/Apache-2.0" description = "Tiny, no-nonsense, self contained, TensorFlow and ONNX inference" @@ -19,7 +19,7 @@ log.workspace = true rand.workspace = true rand_distr.workspace = true rustfft.workspace = true -tract-nnef = { version = "=0.20.5-pre", path = "../nnef" } +tract-nnef = { version = "=0.20.6-pre", path = "../nnef" } [dev-dependencies] env_logger.workspace = true diff --git a/onnx/Cargo.toml b/onnx/Cargo.toml index 156bef93b1..825f9ee847 100644 --- a/onnx/Cargo.toml +++ b/onnx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tract-onnx" -version = "0.20.5-pre" +version = "0.20.6-pre" authors = ["Mathieu Poumeyrol "] license = "MIT/Apache-2.0" description = "Tiny, no-nonsense, self contained, TensorFlow and ONNX inference" @@ -25,9 +25,9 @@ memmap2.workspace = true num-integer.workspace = true prost.workspace = true smallvec.workspace = true -tract-nnef = { version = "=0.20.5-pre", path = "../nnef" } -tract-hir = { version = "=0.20.5-pre", path = "../hir" } -tract-onnx-opl = { version = "=0.20.5-pre", path = "../onnx-opl" } +tract-nnef = { version = "=0.20.6-pre", path = "../nnef" } +tract-hir = { version = "=0.20.6-pre", path = "../hir" } +tract-onnx-opl = { version = "=0.20.6-pre", path = "../onnx-opl" } [dev-dependencies] env_logger.workspace = true diff --git a/onnx/src/model.rs b/onnx/src/model.rs index 1f5df34ebf..bc0344bb9f 100644 --- a/onnx/src/model.rs +++ b/onnx/src/model.rs @@ -7,7 +7,8 @@ use std::collections::HashMap; use tract_hir::internal::*; use tract_hir::prelude::tract_itertools::Itertools; -use crate::pb; +use crate::pb::type_proto::Value; +use crate::pb::{self, TypeProto}; use crate::tensor::translate_inference_fact; use prost::Message; @@ -117,7 +118,7 @@ impl<'a> ParsingContext<'a> { let consts = model.nodes().len(); for pbnode in graph.node.iter() { let name = if !pbnode.name.is_empty() { - pbnode.name.to_string().replace('/', "_") + pbnode.name.to_string() } else if pbnode.output.len() > 0 && !pbnode.output[0].is_empty() { pbnode.output[0].to_owned() } else { @@ -194,6 +195,13 @@ impl<'a> ParsingContext<'a> { model.set_outlet_fact(outlet, fact)?; } model.set_output_outlets(&outputs)?; + for info in &graph.value_info { + if let Some(TypeProto { value: Some(Value::TensorType(t)), .. }) = &info.r#type { + if let Some(outlet) = outlets_by_name.get(&info.name) { + model.set_outlet_fact(*outlet, translate_inference_fact(&ctx, t)?.without_datum_type())?; + } + } + } let result = ParseResult { model, unresolved_inputs, outlets_by_name }; Ok(result) } @@ -291,10 +299,10 @@ impl Framework for Onnx { Ok(model) } - #[cfg(target_family="wasm")] + #[cfg(target_family = "wasm")] fn proto_model_for_path(&self, p: impl AsRef) -> TractResult { let mut file = fs::File::open(p)?; - Ok(self.proto_model_for_read(&mut file)?) + Ok(self.proto_model_for_read(&mut file)?) } #[cfg(any(windows, unix))] diff --git a/onnx/src/ops/cumsum.rs b/onnx/src/ops/cumsum.rs index 151a73653d..8377975903 100644 --- a/onnx/src/ops/cumsum.rs +++ b/onnx/src/ops/cumsum.rs @@ -1,4 +1,6 @@ use tract_hir::internal::*; +use tract_hir::ops::identity::Identity; +use tract_hir::tract_core::ops::array::DynSlice; use tract_hir::tract_core::ops::scan::ScanInfo; use crate::model::{OnnxOpRegister, ParsingContext}; @@ -45,6 +47,7 @@ impl Expansion for CumSum { format!("{prefix}.zero"), Tensor::zero_dt(data.datum_type, &[])?.into_arc_tensor(), )?; + let iters = var_shape[axis].clone(); var_shape.set(axis, 1.to_dim()); let init = model.wire_node( format!("{prefix}.init"), @@ -52,12 +55,17 @@ impl Expansion for CumSum { &[zero], )?[0]; let chunk = if self.reverse { -1 } else { 1 }; + // inputs are X, i, acc let input_mapping = - vec![scan::InputMapping::Scan(ScanInfo { axis, chunk }), scan::InputMapping::State]; - // outputs will be - // acc + x (!exclusive) - // acc input (exclusive) + vec![scan::InputMapping::Full, scan::InputMapping::State, scan::InputMapping::State]; + // outputs are (i+1, acc + x[i], acc) let output_mapping = vec![ + scan::OutputMapping { + scan: None, + full_dim_hint: None, + last_value_slot: None, + state: true, + }, scan::OutputMapping { scan: Some((0, ScanInfo { axis, chunk })), full_dim_hint: None, @@ -73,12 +81,27 @@ impl Expansion for CumSum { ]; let mut body = TypedModel::default(); let var_fact = data.datum_type.fact(var_shape); - let x = body.add_source("scan_input", var_fact.clone())?; + let x = body.add_source("scan_input", data)?; + + let i = body.add_source("i", i64::scalar_fact())?; + let chunk = body.add_const("chunk", tensor0(chunk as i64))?; + let i_plus_chunk = body.wire_node("inc_i", tract_core::ops::math::add(), &[i, chunk])?[0]; + let x_slice = body.wire_node( + "x", + DynSlice { axis, len: 1.to_dim() }, + &if self.reverse { [x, i_plus_chunk, i] } else { [x, i, i_plus_chunk] }, + )?[0]; + let acc = body.add_source("acc_input", var_fact)?; - let sum = body.wire_node("add", tract_core::ops::math::add(), &[x, acc])?[0]; - body.set_output_outlets(&[sum, acc])?; - let scan = scan::Scan::new(body, input_mapping, output_mapping, 0)?; - let wires = model.wire_node(prefix, scan, &[inputs[0], init])?; + let sum = body.wire_node("add", tract_core::ops::math::add(), &[x_slice, acc])?[0]; + let copy_acc = body.wire_node("copy_acc", Identity, &[acc])?; + body.set_output_outlets(&[i_plus_chunk, sum, copy_acc[0]])?; + let scan = scan::Scan::new(body, input_mapping, output_mapping, 0, iters.clone())?; + let index_init = model.add_const( + format!("{prefix}.index_init"), + tensor0(if self.reverse { iters.to_i64()? } else { 0 }), + )?; + let wires = model.wire_node(prefix, scan, &[inputs[0], index_init, init])?; let output = wires[self.exclusive as usize]; Ok(tvec![output]) } diff --git a/onnx/src/ops/rec/common.rs b/onnx/src/ops/rec/common.rs index df5faffb73..869efa92ea 100644 --- a/onnx/src/ops/rec/common.rs +++ b/onnx/src/ops/rec/common.rs @@ -3,6 +3,7 @@ use std::fmt::Debug; use crate::pb::*; use tract_hir::internal::*; use tract_hir::tract_core::dyn_clone::{clone_trait_object, DynClone}; +use tract_hir::tract_core::ops::array::DynSlice; use tract_hir::tract_core::ops::scan::ScanInfo; pub trait WireBody: Debug + DynClone + Send + Sync { @@ -117,11 +118,21 @@ impl CommonRec { // scann inner interface: [chunk=1, batch_size, input_size] // onnx inner interface: [batch_size, input_size] outer_inputs.push(x_batch_first); - input_mapping.push(scan::InputMapping::Scan(ScanInfo { axis: 1, chunk })); - let mut x_source_fact = target.outlet_fact(x_batch_first)?.without_value(); - x_source_fact.shape.set(1, 1.to_dim()); + // input_mapping.push(scan::InputMapping::Scan(ScanInfo { axis: 1, chunk })); + input_mapping.push(scan::InputMapping::Full); + let x_source_fact = target.outlet_fact(x_batch_first)?.without_value(); + let iters = x_source_fact.shape[1].clone(); let x_source = body.add_source("x_source", x_source_fact)?; - wire!(Xt = AxisOp::Rm(1), x_source); + + input_mapping.push(scan::InputMapping::State); + let zero = target.add_const(format!("{prefix}.zero"), tensor0(0i64))?; + outer_inputs.push(zero); + let i = body.add_source("i", i64::scalar_fact())?; + let step = body.add_const("step", tensor0(1i64))?; + wire!(i_plus_one = tract_core::ops::math::add(), i, step); + let dyn_slice = DynSlice { axis: 1, len: 1.to_dim() }; + wire!(x_slice = dyn_slice, x_source, i, i_plus_one); + wire!(Xt = AxisOp::Rm(1), x_slice); // W: onnx interface: [num_directions, 3*hidden_size, input_size] // scan interfaces: [3*hidden_size, input_size] @@ -228,13 +239,24 @@ impl CommonRec { }; self.body.wire_body(prefix, &mut body).context("Wiring body")?; + let mut outputs = body.outputs.clone(); + outputs.insert(0, i_plus_one); + body.set_output_outlets(&*outputs)?; - let mut output_mapping = vec![scan::OutputMapping { - state: true, - full_dim_hint: None, - last_value_slot: self.optional_y_h_output, - scan: self.optional_y_output.map(|slot| (slot, ScanInfo { axis: 1, chunk })), - }]; + let mut output_mapping = vec![ + scan::OutputMapping { + state: true, + full_dim_hint: None, + last_value_slot: None, + scan: None, + }, + scan::OutputMapping { + state: true, + full_dim_hint: None, + last_value_slot: self.optional_y_h_output, + scan: self.optional_y_output.map(|slot| (slot, ScanInfo { axis: 1, chunk })), + }, + ]; if self.body.have_extra_c_state() { output_mapping.push(scan::OutputMapping { state: true, @@ -246,12 +268,7 @@ impl CommonRec { let scan_outputs = target.wire_node( prefix, - tract_core::ops::scan::Scan::new( - body, - input_mapping, - output_mapping, - 0, - )?, + tract_core::ops::scan::Scan::new(body, input_mapping, output_mapping, 0, iters)?, &outer_inputs, )?; @@ -295,6 +312,10 @@ impl Expansion for CommonRec { self.body.name().into() } + fn info(&self) -> TractResult> { + Ok(vec![format!("batch_first: {:?}", self.batch_first)]) + } + fn validation(&self) -> Validation { Validation::Rounding } diff --git a/onnx/src/ops/rec/scan.rs b/onnx/src/ops/rec/scan.rs index 324ed0ce48..839ebe5672 100644 --- a/onnx/src/ops/rec/scan.rs +++ b/onnx/src/ops/rec/scan.rs @@ -4,6 +4,7 @@ use crate::tract_core::ops::scan::ScanInfo; use tract_hir::internal::*; use tract_hir::ops; +use tract_hir::tract_core::ops::array::DynSlice; pub fn scan( ctx: &ParsingContext, @@ -11,19 +12,21 @@ pub fn scan( ) -> TractResult<(Box, Vec)> { let num_scan_inputs = node.get_attr("num_scan_inputs")?; let graph: &GraphProto = node.get_attr("body")?; - let ParseResult { mut model, unresolved_inputs, .. } = ctx.parse_graph(graph)?; + let ParseResult { model: mut body, unresolved_inputs, .. } = ctx.parse_graph(graph)?; let scan_input_axes = node.get_attr_opt_vec("scan_input_axes")?.unwrap_or_else(|| vec![0; num_scan_inputs]); let closure_inputs = unresolved_inputs.len(); - let num_hidden_state = model.input_outlets()?.len() - closure_inputs - num_scan_inputs; - let num_scan_outputs = model.output_outlets()?.len() - num_hidden_state; + let num_hidden_state = body.input_outlets()?.len() - closure_inputs - num_scan_inputs; + let num_scan_outputs = body.output_outlets()?.len() - num_hidden_state; let scan_output_axes = node.get_attr_opt_vec("scan_output_axes")?.unwrap_or_else(|| vec![0; num_scan_outputs]); let mut mapped_inputs = vec![]; let mut mapped_outputs = vec![]; + let mut state_initializers = vec![]; for ix in 0..num_hidden_state { mapped_inputs.push(ops::scan::InputMapping::State); + state_initializers.push(None); mapped_outputs.push(ops::scan::OutputMapping { state: true, last_value_slot: Some(ix), @@ -31,21 +34,45 @@ pub fn scan( full_dim_hint: None, }); } + mapped_inputs.push(ops::scan::InputMapping::State); + mapped_outputs.push(ops::scan::OutputMapping { + state: true, + last_value_slot: None, + scan: None, + full_dim_hint: None, + }); + state_initializers.push(Some(rctensor0(0i64))); + let scan_i = body.add_source("i", i64::scalar_fact().into())?; + let one = body.add_const("one", rctensor0(1i64))?; + let scan_i_plus_one = + body.wire_node("i_plus_one", ops::math::Add.into_hir(), &[scan_i, one])?[0]; - for (ix, ax) in scan_input_axes.iter().enumerate() { - let op = expand(ops::array::RmDims::new(vec![*ax])); - let outlet = model.input_outlets()?[num_hidden_state + ix]; - InferenceModelPatch::intercept( - &model, - outlet, - format!("{}.input-{}.adjust-dim", node.name, ix), - op, - model.outlet_fact(outlet)?.clone(), - )? - .apply(&mut model)?; - model.set_outlet_fact(outlet, InferenceFact::default())?; - mapped_inputs - .push(ops::scan::InputMapping::Scan(ScanInfo { axis: *ax as usize, chunk: 1 })); + // move "i" input right after the actual states instead of at the end + body.inputs.pop(); + body.inputs.insert(num_hidden_state, scan_i); + body.outputs.insert(num_hidden_state, scan_i_plus_one); + + let name = &node.name; + for (ix, axis) in scan_input_axes.iter().map(|axis| *axis as usize).enumerate() { + let outlet = body.input_outlets()?[num_hidden_state + 1 + ix]; + body.set_outlet_fact(outlet, InferenceFact::default())?; + let mut patch = InferenceModelPatch::default(); + let x = patch.tap_model(&body, outlet)?; + let scan_i = patch.tap_model(&body, scan_i)?; + let scan_i_plus_one = patch.tap_model(&body, scan_i_plus_one)?; + let x = patch.wire_node( + format!("{name}.input-{ix}.slice"), + DynSlice { axis, len: 1.to_dim() }, + &[x, scan_i, scan_i_plus_one], + )?[0]; + let x = patch.wire_node( + format!("{name}.input-{ix}.adjust_dim"), + expand(ops::array::RmDims::new(vec![axis as isize])), + &[x], + )?[0]; + patch.shunt_outside(&body, outlet, x)?; + patch.apply(&mut body)?; + mapped_inputs.push(ops::scan::InputMapping::Full); } for _input in unresolved_inputs.iter() { @@ -54,15 +81,15 @@ pub fn scan( for (ix, ax) in scan_output_axes.iter().enumerate() { let op = ops::array::AddDims::new(vec![*ax]); - let outlet = model.output_outlets()?[num_hidden_state + ix]; + let outlet = body.output_outlets()?[num_hidden_state + 1 + ix]; InferenceModelPatch::intercept( - &model, + &body, outlet, format!("{}.output-{}-adjust-dim", node.name, ix), expand(op), InferenceFact::default(), )? - .apply(&mut model)?; + .apply(&mut body)?; mapped_outputs.push(ops::scan::OutputMapping { state: false, scan: Some((ix + num_hidden_state, ScanInfo { axis: *ax as usize, chunk: 1 })), @@ -70,11 +97,11 @@ pub fn scan( last_value_slot: None, }); } - Ok(( Box::new(ops::scan::InferenceScan::new( - model, + body, mapped_inputs, + state_initializers, mapped_outputs, true, GenericFactoid::default(), diff --git a/onnx/test_cases/qlstm_3-2-3_T3_S1/vars.sh b/onnx/test_cases/qlstm_3-2-3_T3_S1/vars.sh index 0ca3c6d0b1..851705d38c 100644 --- a/onnx/test_cases/qlstm_3-2-3_T3_S1/vars.sh +++ b/onnx/test_cases/qlstm_3-2-3_T3_S1/vars.sh @@ -1,5 +1,4 @@ left_context=0 right_context=0 subsampling=1 -adjust_final_offset=0 IGNORE=nnef diff --git a/onnx/test_cases/qrelu_1/vars.sh b/onnx/test_cases/qrelu_1/vars.sh index 0ca3c6d0b1..851705d38c 100644 --- a/onnx/test_cases/qrelu_1/vars.sh +++ b/onnx/test_cases/qrelu_1/vars.sh @@ -1,5 +1,4 @@ left_context=0 right_context=0 subsampling=1 -adjust_final_offset=0 IGNORE=nnef diff --git a/onnx/test_cases/qrelu_2/vars.sh b/onnx/test_cases/qrelu_2/vars.sh index 0ca3c6d0b1..851705d38c 100644 --- a/onnx/test_cases/qrelu_2/vars.sh +++ b/onnx/test_cases/qrelu_2/vars.sh @@ -1,5 +1,4 @@ left_context=0 right_context=0 subsampling=1 -adjust_final_offset=0 IGNORE=nnef diff --git a/onnx/test_cases/qsigmoid_1/vars.sh b/onnx/test_cases/qsigmoid_1/vars.sh index 0ca3c6d0b1..851705d38c 100644 --- a/onnx/test_cases/qsigmoid_1/vars.sh +++ b/onnx/test_cases/qsigmoid_1/vars.sh @@ -1,5 +1,4 @@ left_context=0 right_context=0 subsampling=1 -adjust_final_offset=0 IGNORE=nnef diff --git a/onnx/test_cases/qsigmoid_2/vars.sh b/onnx/test_cases/qsigmoid_2/vars.sh index 0ca3c6d0b1..851705d38c 100644 --- a/onnx/test_cases/qsigmoid_2/vars.sh +++ b/onnx/test_cases/qsigmoid_2/vars.sh @@ -1,5 +1,4 @@ left_context=0 right_context=0 subsampling=1 -adjust_final_offset=0 IGNORE=nnef diff --git a/onnx/test_cases/qtanh_1/vars.sh b/onnx/test_cases/qtanh_1/vars.sh index 0ca3c6d0b1..851705d38c 100644 --- a/onnx/test_cases/qtanh_1/vars.sh +++ b/onnx/test_cases/qtanh_1/vars.sh @@ -1,5 +1,4 @@ left_context=0 right_context=0 subsampling=1 -adjust_final_offset=0 IGNORE=nnef diff --git a/onnx/test_cases/qtanh_2/vars.sh b/onnx/test_cases/qtanh_2/vars.sh index 0ca3c6d0b1..851705d38c 100644 --- a/onnx/test_cases/qtanh_2/vars.sh +++ b/onnx/test_cases/qtanh_2/vars.sh @@ -1,5 +1,4 @@ left_context=0 right_context=0 subsampling=1 -adjust_final_offset=0 IGNORE=nnef diff --git a/onnx/test_cases/qtdnn_10x5_101_i32_biases/vars.sh b/onnx/test_cases/qtdnn_10x5_101_i32_biases/vars.sh index c92d744ce9..9e202733c9 100644 --- a/onnx/test_cases/qtdnn_10x5_101_i32_biases/vars.sh +++ b/onnx/test_cases/qtdnn_10x5_101_i32_biases/vars.sh @@ -1,5 +1,4 @@ left_context=1 right_context=1 subsampling=1 -adjust_final_offset=0 IGNORE=nnef diff --git a/onnx/test_cases/run_all.sh b/onnx/test_cases/run_all.sh index 047cef87f2..c4d6f62e61 100755 --- a/onnx/test_cases/run_all.sh +++ b/onnx/test_cases/run_all.sh @@ -26,7 +26,7 @@ do then continue fi - unset OPTIONS IGNORE MODEL left_context right_context subsampling adjust_final_offset + unset OPTIONS IGNORE MODEL left_context right_context subsampling . $tc/vars.sh for file in $CACHE_FILES do @@ -48,17 +48,13 @@ do nnef) opti="--nnef-cycle --nnef-tract-core" ;; esac options="$OPTIONS" - if [ -n "$left_context" ] + if [ -n "$left_context" -a "$left_context" != "0" ] then - options="$options --kaldi-left-context $left_context" + options="$options --edge-left-context $left_context" fi - if [ -n "$right_context" ] + if [ -n "$right_context" -a "$right_context" != "0" ] then - options="$options --kaldi-right-context $right_context" - fi - if [ -n "$adjust_final_offset" ] - then - options="$options --kaldi-adjust-final-offset $adjust_final_offset" + options="$options --edge-right-context $right_context" fi cmd="$TRACT_RUN \ $MODEL \ diff --git a/post-release.sh b/post-release.sh index 087fd62bc3..fceb9d2972 100755 --- a/post-release.sh +++ b/post-release.sh @@ -1,7 +1,7 @@ #!/bin/sh VERSION=$1 -CRATES="data linalg core nnef nnef/nnef-resources pulse-opl pulse hir tensorflow onnx-opl onnx kaldi libcli cli ffi" +CRATES="data linalg core nnef nnef/nnef-resources pulse-opl pulse hir tensorflow onnx-opl onnx libcli cli ffi" if [ `uname` = "Darwin" ] then diff --git a/pulse-opl/Cargo.toml b/pulse-opl/Cargo.toml index 2c0bc87594..c60dc9802b 100644 --- a/pulse-opl/Cargo.toml +++ b/pulse-opl/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tract-pulse-opl" -version = "0.20.5-pre" +version = "0.20.6-pre" license = "MIT/Apache-2.0" authors = ["Mathieu Poumeyrol "] description = "Tiny, no-nonsense, self contained, TensorFlow and ONNX inference" @@ -16,7 +16,7 @@ maintenance = { status = "actively-developed" } [dependencies] downcast-rs.workspace = true lazy_static.workspace = true -tract-nnef = { version = "=0.20.5-pre", path = "../nnef" } +tract-nnef = { version = "=0.20.6-pre", path = "../nnef" } [features] complex = [ "tract-nnef/complex" ] diff --git a/pulse/Cargo.toml b/pulse/Cargo.toml index da62be50f8..78b6585b26 100644 --- a/pulse/Cargo.toml +++ b/pulse/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tract-pulse" -version = "0.20.5-pre" +version = "0.20.6-pre" license = "MIT/Apache-2.0" authors = ["Mathieu Poumeyrol "] description = "Tiny, no-nonsense, self contained, TensorFlow and ONNX inference" @@ -17,5 +17,5 @@ maintenance = { status = "actively-developed" } downcast-rs.workspace = true lazy_static.workspace = true log.workspace = true -tract-pulse-opl = { version = "=0.20.5-pre", path = "../pulse-opl" } +tract-pulse-opl = { version = "=0.20.6-pre", path = "../pulse-opl" } diff --git a/release.sh b/release.sh index 607bbfb858..61d170d21a 100755 --- a/release.sh +++ b/release.sh @@ -9,7 +9,7 @@ cargo install tomato-toml CRATE=$1 VERSION=$2 -CRATES="data linalg core nnef nnef/nnef-resources pulse-opl pulse hir tensorflow onnx-opl onnx kaldi libcli ffi cli" +CRATES="data linalg core nnef nnef/nnef-resources pulse-opl pulse hir tensorflow onnx-opl onnx libcli ffi cli" if [ -z "$VERSION" ] then diff --git a/tensorflow/Cargo.toml b/tensorflow/Cargo.toml index 46fb832482..35fe1e47f3 100644 --- a/tensorflow/Cargo.toml +++ b/tensorflow/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tract-tensorflow" -version = "0.20.5-pre" +version = "0.20.6-pre" authors = ["Mathieu Poumeyrol "] license = "MIT/Apache-2.0" description = "Tiny, no-nonsense, self contained, TensorFlow and ONNX inference" @@ -23,8 +23,8 @@ memmap2.workspace = true prost.workspace = true prost-types.workspace = true tensorflow = { workspace = true, optional = true } -tract-hir = { version = "=0.20.5-pre", path = "../hir" } -tract-pulse = { version = "=0.20.5-pre", path = "../pulse" } +tract-hir = { version = "=0.20.6-pre", path = "../hir" } +tract-pulse = { version = "=0.20.6-pre", path = "../pulse" } # [build-dependencies] # protobuf-src = "1.0.5+3.19.3" diff --git a/tensorflow/src/ops/rec/block_lstm.rs b/tensorflow/src/ops/rec/block_lstm.rs index 5837f9f1d7..02e862fd2e 100644 --- a/tensorflow/src/ops/rec/block_lstm.rs +++ b/tensorflow/src/ops/rec/block_lstm.rs @@ -99,6 +99,7 @@ impl Expansion for BlockLSTM { outer_inputs.push(inputs[1]); input_mapping.push(scan::InputMapping::Scan(ScanInfo { axis: 0, chunk: 1 })); let mut x_source_fact = model.outlet_fact(inputs[1])?.clone(); + let iters = x_source_fact.shape[0].clone(); x_source_fact.shape.set(0, 1.to_dim()); let x_source = body.add_source("x_source", x_source_fact)?; wire!(x = AxisOp::Rm(0), x_source); @@ -174,7 +175,7 @@ impl Expansion for BlockLSTM { if seqlen.to_scalar::()? != &model.outlet_fact(inputs[1])?.shape[0] { bail!("seq_len only supported for trivial noop case"); }; - let scan = scan::Scan::new(body, input_mapping, output_mapping, 0)?; + let scan = scan::Scan::new(body, input_mapping, output_mapping, 0, iters)?; model.wire_node(prefix, scan, &outer_inputs) } }