public class CPUIndexAccumulations1dAction extends RecursiveAction implements Task<Void>
Constructor and Description |
---|
CPUIndexAccumulations1dAction(IndexAccumulation op,
int threshold,
TensorCalculator tCalcx,
TensorCalculator tCalcy,
int firstTensor,
int lastTensor,
INDArray output) |
Modifier and Type | Method and Description |
---|---|
Void |
blockUntilComplete()
Assuming invokeAsync() has been called, block until the execution completes
|
Void |
call()
Compute the result immediately, in the current thread
|
protected void |
compute() |
void |
invokeAsync()
Schedule for asyncronous execution; returns immediately
|
Void |
invokeBlocking()
Schedule for execution, and block until completion
|
exec, getRawResult, setRawResult
adapt, 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, tryUnfork
public CPUIndexAccumulations1dAction(IndexAccumulation op, int threshold, TensorCalculator tCalcx, TensorCalculator tCalcy, int firstTensor, int lastTensor, INDArray output)
protected void compute()
compute
in class RecursiveAction
public Void call()
Task
public Void invokeBlocking()
Task
invokeBlocking
in interface Task<Void>
public void invokeAsync()
Task
invokeAsync
in interface Task<Void>
public Void blockUntilComplete()
Task
blockUntilComplete
in interface Task<Void>
Copyright © 2015. All Rights Reserved.