Comments (2)
The reason is that in the code, NetworkNodes are mostly accessed as you
would a struct, and we deal with vectors of them. If there were
polymorphism involved, we could no longer deal with vectors of NetworkNodes
but we'd have to deal with vectors of pointers to them; and accessing their
data members would involve about 3 times as much code as it currently does,
as we'd have to figure out which type it was and do an appropriate type of
cast.
Dan
On Wed, Sep 16, 2015 at 5:54 PM, Elie Michel [email protected]
wrote:
The documentation admits that "we have a slightly messy layout", and my
question might be naive, but why not writing a different object for each
type of node (that may inherit from a virtual NetworkNode class)?—
Reply to this email directly or view it on GitHub
#144.
from kaldi.
Got you, it indeed looks like a good reason. =)
from kaldi.
Related Issues (20)
- Does Kaldi fail to extract features from the non-standard pronunciation of ethnic minorities? HOT 3
- Dockerのイメージ作成時にGPGエラーになる HOT 3
- Intel MKL installation Fail HOT 1
- The error causes when using the command `./install_mkl.sh` to install mkl tools HOT 1
- When the following situations occur, the memory will increase HOT 3
- Request for prebuilt Android APK demonstrating capabilities HOT 2
- Is that OK to use Openfst 1.8.1 in Kaldi's latest version? HOT 3
- Chain alignments used for training HOT 1
- Error when build docker GPU image ubuntu22.04-cuda12.2.0
- ReadDecodeGraph():onlinebin-util.cc:52) Error reading FST (after reading header).
- kaldi uses the C++17 feature while compiling in the C++14 mode
- Please tag the repository with the version
- AMI download manifest and license, files do not exist HOT 2
- Error while building docker image: install_mkl.sh
- Seeking Guidance on Custom Urdu ASR Training Data and Vocabulary Expansion
- KaldiFatalError
- NO_PUBKEY on intell error HOT 1
- The `Resize` function doesn't change `stride_` if resize_type == kSetZero and `rows == MatrixBase<Real>::num_rows_ && cols == MatrixBase<Real>::num_cols_`.
- Integrate ZLUDA for AMD CUDA HOT 1
- issue with install_klm.sh HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kaldi.