public class ArgmaxAdapter extends Object implements OutputAdapter<int[]>
Constructor and Description |
---|
ArgmaxAdapter() |
Modifier and Type | Method and Description |
---|---|
int[] |
apply(INDArray... outputs)
This method does conversion from INDArrays to int[], where each element will represents position of the highest element in output INDArray
I.e.
|
public int[] apply(INDArray... outputs)
apply
in interface OutputAdapter<int[]>
outputs
- Copyright © 2019. All rights reserved.