public class HierarchicSoftmax extends BaseAggregate
arguments, finalResult, indexingArguments, intArrayArguments, realArguments, shapes| Constructor and Description |
|---|
HierarchicSoftmax(INDArray syn0,
INDArray syn1,
INDArray expTable,
INDArray neu1e,
int code,
double lr) |
| Modifier and Type | Method and Description |
|---|---|
int |
getSharedMemorySize()
This method returns amount of shared memory required for this specific Aggregate.
|
int |
getThreadsPerInstance()
This method returns desired number of threads per Aggregate instance
PLEASE NOTE: this method is especially important for CUDA backend.
|
int |
maxArguments()
This method returns maximum number of shapes being passed per Aggregate
|
int |
maxIndexArguments()
This method returns maximum number of IndexArguments per Aggregate
|
int |
maxIntArrays()
This method returns maximum number of IntArrays being passed per Aggregate
|
int |
maxIntArraySize()
This method returns maximum length for IntArrays, if any
|
int |
maxRealArguments()
This method returns maximum number of real (float/double) per Aggregate
|
int |
maxShapes()
This method returns maximum number of shapes being passed per Aggregate
|
String |
name() |
int |
opNum() |
getArguments, getFinalResult, getIndexingArguments, getIntArrayArguments, getRealArguments, getRequiredBatchMemorySize, getShapes, setFinalResultpublic int getSharedMemorySize()
public int getThreadsPerInstance()
public int opNum()
public String name()
public int maxArguments()
Aggregatepublic int maxShapes()
Aggregatepublic int maxIntArrays()
Aggregatepublic int maxIntArraySize()
Aggregatepublic int maxIndexArguments()
Aggregatepublic int maxRealArguments()
AggregateCopyright © 2018. All rights reserved.