public class CPUCol2ImTask extends RecursiveTask<INDArray> implements Task<INDArray>
Modifier and Type | Field and Description |
---|---|
protected INDArray |
col |
protected int |
depthFrom |
protected int |
depthTo |
protected int |
exampleFrom |
protected int |
exampleTo |
protected Future<INDArray> |
future |
protected int |
imgHeight |
protected INDArray |
imgOut |
protected int |
imgWidth |
protected int |
kernelHeight |
protected int |
kernelWidth |
protected int |
padHeight |
protected int |
padWidth |
protected int |
parallelThreshold |
protected int |
strideX |
protected int |
strideY |
protected List<CPUCol2ImTask> |
subTasks |
Constructor and Description |
---|
CPUCol2ImTask(INDArray col,
INDArray imgOut,
int strideY,
int strideX,
int padHeight,
int padWidth,
int imgHeight,
int imgWidth,
int exampleFrom,
int exampleTo,
int depthFrom,
int depthTo,
int parallelThreshold) |
CPUCol2ImTask(INDArray col,
int strideY,
int strideX,
int padHeight,
int padWidth,
int imgHeight,
int imgWidth,
int parallelThreshold) |
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() |
void |
invokeAsync()
Schedule for asyncronous execution; returns immediately
|
INDArray |
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
protected List<CPUCol2ImTask> subTasks
protected final INDArray col
protected INDArray imgOut
protected final int kernelHeight
protected final int kernelWidth
protected final int strideY
protected final int strideX
protected final int padHeight
protected final int padWidth
protected final int imgHeight
protected final int imgWidth
protected final int parallelThreshold
protected final int exampleFrom
protected final int exampleTo
protected final int depthFrom
protected final int depthTo
public CPUCol2ImTask(INDArray col, int strideY, int strideX, int padHeight, int padWidth, int imgHeight, int imgWidth, int parallelThreshold)
protected INDArray compute()
compute
in class RecursiveTask<INDArray>
public INDArray call()
Task
public INDArray invokeBlocking()
Task
invokeBlocking
in interface Task<INDArray>
public void invokeAsync()
Task
invokeAsync
in interface Task<INDArray>
public INDArray blockUntilComplete()
Task
blockUntilComplete
in interface Task<INDArray>
Copyright © 2016. All Rights Reserved.