[hts-users:00758] HGenS and WUW matrix
- Subject: [hts-users:00758] HGenS and WUW matrix
- From: "Alexander Gutkin" <alexander.gutkin@xxxxxxxxx>
- Date: Wed, 1 Aug 2007 15:54:20 +0100
- Delivered-to: hts-users@xxxxxxxxxxxxxxx
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=YotP2FJRAw7LApPE57UPxWORVPaBmPekiIh4L8pQsDyndC8+c0Avf1JSUzGrpLo9tW7UgXYzOlsDZgxWjPZBVpLrpOlVNytedBiV1D3x52VFgYT7l5paYAF8LRAFA4Trw2LUvb1b/hGYA5zfNWIs2mMYYN9wXF9HoxOa0Y90FmM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=f+JduvfIR8FVAT6pq7XyY01UvUo3Hj9k4uetdZDmad5d3tY/6KrkNUkfK26Xw3pQMU6MrUj/svNE4tGqvWWjm0ZlKpqqDLrDg89rIZAS/Ghk7V+Dxzj0wLH1sT5lVDXjDkCa4bjswy+KZqZFwCi4B+IqUFgCjw8UypGzONOPKEo=
Hi,
I have a question regarding HTS internals (either HGenS or mlpg
code in hts_engine). From what I am seeing the W^{T}U^{-1}W matrix is
stored as TxWidth, while the parameter matrix C is TxD, where D is the
order. For my modifications, in some instances (e.g. GV) I need to
somehow compute the W^{T}U^{-1}WC product, but that's not
straightforward as the matrix dimensions mismatch. I've tried several
approaches to computing the product but so far without any success.
The following code snippet from my code is a current broken
implementation of computing the following term:
B = W^{T}U^{-1]M - W^{T}U^{-1}WC
// for a given m
for (t = 1; t <= pst->T; t++) {
B[t] = 0.0;
for (k = 1; (k <= pst->width) && (t + k <= pst->T); k++) {
B[t] += (pst->sm.WUW[t][k] * C[t + k][m]);
}
B[t] = pst->sm.WUM[t] - B[t];
}
Thanks in advance,
Alexander.
- Follow-Ups
-
- [hts-users:00759] Re: HGenS and WUW matrix, Tomoki Toda