search for: initfunc

Displaying 4 results from an estimated 4 matches for "initfunc".

Did you mean: init_func
2013 Oct 03
1
check warning with .onLoad() and setClass()
...| LinkingTo: Rcpp | Collate: | 'beginYear.R' | 'clearAliens.R' | 'competition.R' | 'cumulativeDc.R' | 'dcToIndLayer.R' | 'dispProb2D.R' | 'endYear.R' | 'fireAliens.R' | 'germEst.R' | 'initfunc.R' | 'layerIO.R' | 'layerNames.R' | 'main.R' | 'newInDrak.R' | 'onLoad.R' | 'package.R' | 'parameter.R' | 'parmsAcacia.R' | 'parmsBudget.R' | 'parmsFire.R' | 'parmsPin...
2013 Jan 03
2
[LLVMdev] Opt error
...p;M) { add (&M); for(Module::iterator F = M.begin(), E = M.end(); F != E; ++F) { Function *fun = dyn_cast<Function>(F); Value *Opts[1]; BasicBlock &bb = F->getEntryBlock(), *newBB; newBB = BasicBlock::Create(M.getContext(), "initfunc", F, &bb); CallInst::Create(func, makeArrayRef(Opts, 1) , "", newBB); BranchInst::Create(&bb, newBB); } } The pass compiles fine but when I use 'opt' to instrument a simple C program then I get the following exception: $ opt -o a.bc -load /data/l...
2013 Jan 03
0
[LLVMdev] Opt error
...odule::iterator F = M.begin(), E = M.end(); F != E; ++F) { > > Function *fun = dyn_cast<Function>(F); > > Value *Opts[1]; > > BasicBlock &bb = F->getEntryBlock(), *newBB; > > newBB = BasicBlock::Create(M.getContext(), "initfunc", F, &bb); > > *CallInst::Create(func, makeArrayRef(Opts, 1) , "", newBB);* But here you pass it an argument. Note you don't need makeArrayRef, you can just pass Opts. It will be magically turned into an ArrayRef. Ciao, Duncan. PS: Opts[1] is not initialized, this...
2012 Mar 01
3
how to change or copy to another the names of models
Hi I would like to know how I can change the name of a model for each trainning cycle of a model. I work with the RSNNS package and to build a neural network, I used : for (i in 5:30) .... model_ANN <- mlp(X, Y, size=n,....) # where size is the number of neurons in the hidden layer but I need to save each time that the model that is build (the end of each cycle), e.g., when i = 5, I need to