} else if (args[argIndex].equalsIgnoreCase("-useTensors")) {
useTensors = true;
return argIndex + 1;
} else if (args[argIndex].equalsIgnoreCase("-nouseTensors")) {
useTensors = false;
<BUG>return argIndex + 1;
} else {</BUG>
return trainOptions.setOption(args, argIndex);
}
}

} else if (args[argIndex].equalsIgnoreCase("-useTensors")) {
useTensors = true;
return argIndex + 1;
} else if (args[argIndex].equalsIgnoreCase("-nouseTensors")) {
useTensors = false;
return argIndex + 1;
} else if (args[argIndex].equalsIgnoreCase("-classWeights")) {
String classWeightString = args[argIndex + 1];
String[] pieces = classWeightString.split(",");
classWeights = new double[pieces.length];
for (int i = 0; i < pieces.length; ++i) {
classWeights[i] = Double.valueOf(pieces[i]);
