public class CPUIndexAccumulationAlongDimensionTask extends BaseCPUTask<INDArray>
| Modifier and Type | Field and Description |
|---|---|
protected int[] |
dimensions |
protected IndexAccumulation |
op |
protected List<Task<org.apache.commons.math3.util.Pair<Double,Integer>>> |
subTasks |
| Constructor and Description |
|---|
CPUIndexAccumulationAlongDimensionTask(IndexAccumulation op,
int parallelThreshold,
int[] dimensions) |
| Modifier and Type | Method and Description |
|---|---|
INDArray |
blockUntilComplete()
Assuming invokeAsync() has been called, block until the execution completes
|
INDArray |
call()
Compute the result immediately, in the current thread
|
protected INDArray |
compute() |
doTensorFirst, invokeAsync, invokeBlockingexec, getRawResult, setRawResultadapt, adapt, adapt, cancel, compareAndSetForkJoinTaskTag, complete, completeExceptionally, fork, get, get, getException, getForkJoinTaskTag, getPool, getQueuedTaskCount, getSurplusQueuedTaskCount, helpQuiesce, inForkJoinPool, invoke, invokeAll, invokeAll, invokeAll, isCancelled, isCompletedAbnormally, isCompletedNormally, isDone, join, peekNextLocalTask, pollNextLocalTask, pollTask, quietlyComplete, quietlyInvoke, quietlyJoin, reinitialize, setForkJoinTaskTag, tryUnforkprotected final IndexAccumulation op
protected final int[] dimensions
public CPUIndexAccumulationAlongDimensionTask(IndexAccumulation op, int parallelThreshold, int[] dimensions)
public INDArray blockUntilComplete()
Taskpublic INDArray call()
Taskprotected INDArray compute()
compute in class RecursiveTask<INDArray>Copyright © 2016. All Rights Reserved.