public class CPUScalarOpAction extends BaseCPUScalarOpAction
op| Constructor and Description |
|---|
CPUScalarOpAction(ScalarOp op,
int threshold)
Constructor for doing task on entire NDArray
|
CPUScalarOpAction(ScalarOp op,
int threshold,
int tadIdx,
int tadDim)
Constructor for doing a 1d tensor first
|
CPUScalarOpAction(ScalarOp op,
int threshold,
int n,
int offsetX,
int offsetZ,
int incrX,
int incrZ)
Constructor for operating on subset of NDArray
|
| Modifier and Type | Method and Description |
|---|---|
Void |
call()
Compute the result immediately, in the current thread
|
protected void |
compute() |
blockUntilComplete, 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, tryUnforkpublic CPUScalarOpAction(ScalarOp op, int threshold, int n, int offsetX, int offsetZ, int incrX, int incrZ)
public CPUScalarOpAction(ScalarOp op, int threshold)
public CPUScalarOpAction(ScalarOp op, int threshold, int tadIdx, int tadDim)
public Void call()
Taskprotected void compute()
compute in class RecursiveActionCopyright © 2016. All Rights Reserved.