compileParallelGradients: compileParallelGradients

View source: R/prepareModel.R

compileParallelGradientsR Documentation

compileParallelGradients

Description

compile the model from newPsydiff for use with parallel gradient computation. This function will invoke parallel::makeCluster(nCores, type = "PSOCK"). Stop the cluster with stopParallelGradients().

Usage

compileParallelGradients(psydiffModel, nCores)

Arguments

psydiffModel

model from newPsydiff

nCores

number of cores to use

Value

psydiffModel with additional cl field for workers


jhorzek/psydiff documentation built on Sept. 15, 2022, 6:26 a.m.