public class CPUAccumulationAlongDimensionTask extends BaseCPUTask<INDArray>
| Modifier and Type | Field and Description |
|---|---|
protected int[] |
dimensions |
protected Accumulation |
op |
protected List<Task<Double>> |
subTasks |
| Constructor and Description |
|---|
CPUAccumulationAlongDimensionTask(Accumulation 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
|
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 Accumulation op
protected final int[] dimensions
public CPUAccumulationAlongDimensionTask(Accumulation op, int parallelThreshold, int... dimensions)
public INDArray blockUntilComplete()
Taskpublic INDArray call()
Taskpublic INDArray compute()
compute in class RecursiveTask<INDArray>Copyright © 2016. All Rights Reserved.