programming interface for layer and logistic layer
adding classification functions and hTx