Module Import alias identifier Import alias identifier ImportFrom alias Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Return NameLoad orelse If Call NameLoad NameLoad NameLoad body If CompareEq NameLoad Str body Return Call NameLoad orelse If CompareEq NameLoad Str body Return Call NameLoad orelse If CompareEq NameLoad Str body Return Call NameLoad Raise Call NameLoad BinOpMod Str NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Raise Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Raise Call NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Return UnaryOpUSub BinOpSub NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return TupleLoad SubscriptLoad NameLoad Index Num decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return UnaryOpUSub Call AttributeLoad NameLoad attr BinOpAdd BinOpMult NameLoad Call AttributeLoad NameLoad attr NameLoad BinOpMult BinOpSub Num NameLoad Call AttributeLoad NameLoad attr BinOpSub Num NameLoad keyword Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return UnaryOpUSub BinOpSub BinOpDiv NameLoad NameLoad BinOpDiv BinOpSub Num NameLoad BinOpSub Num NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr BinOpPow BinOpSub NameLoad NameLoad Num keyword Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return BinOpMult BinOpDiv Num AttributeLoad NameLoad attr BinOpSub NameLoad NameLoad decorator_list decorator_list
N/A N/A numpy np N/A cudarray ca base PickleMixin N/A _FLT_MIN N/A N/A N/A np finfo N/A ca float_ tiny Loss N/A PickleMixin N/A from_any N/A N/A cls arg N/A N/A N/A N/A isinstance arg Loss N/A N/A arg N/A N/A N/A isinstance arg str N/A N/A N/A arg softmaxce N/A N/A N/A SoftmaxCrossEntropy N/A N/A N/A arg bce N/A N/A N/A BinaryCrossEntropy N/A N/A N/A arg mse N/A N/A N/A MeanSquaredError N/A N/A ValueError N/A Invalid constructor arguments: %s arg N/A classmethod setup N/A N/A self pred_shape target_shape N/A None N/A N/A N/A loss N/A N/A self pred target N/A N/A N/A  Returns the loss calculated from the target and the input.  N/A N/A NotImplementedError N/A grad N/A N/A self pred target N/A N/A N/A  Returns the input gradient.  N/A N/A NotImplementedError N/A N/A SoftmaxCrossEntropy N/A Loss N/A N/A 
    Softmax + cross entropy (aka. multinomial logistic loss)
     __init__ N/A N/A self N/A N/A N/A N/A self _tmp_x None N/A N/A self _tmp_y None N/A N/A self n_classes None N/A setup N/A N/A self pred_shape target_shape N/A None N/A N/A N/A self n_classes N/A pred_shape N/A 1 N/A _softmax N/A N/A self x N/A N/A N/A N/A N/A self _tmp_x x N/A N/A N/A self _tmp_y N/A N/A N/A ca nnet softmax x N/A N/A self _tmp_x x N/A N/A self _tmp_y N/A loss N/A N/A self pred target N/A N/A N/A pred N/A N/A self _softmax pred N/A target N/A N/A N/A ca nnet one_hot_encode target N/A self n_classes N/A N/A N/A N/A ca nnet categorical_cross_entropy y_pred pred y_true target N/A grad N/A N/A self pred target N/A N/A N/A pred N/A N/A self _softmax pred N/A target N/A N/A N/A ca nnet one_hot_encode target N/A self n_classes N/A N/A N/A target pred N/A fprop N/A N/A self x N/A N/A N/A N/A N/A N/A ca nnet one_hot_decode N/A N/A self _softmax x N/A y_shape N/A N/A self x_shape N/A N/A N/A N/A N/A x_shape N/A 0 N/A N/A BinaryCrossEntropy N/A Loss N/A loss N/A N/A self pred target N/A N/A N/A pred N/A N/A ca maximum pred _FLT_MIN N/A N/A N/A N/A ca sum N/A N/A target N/A N/A ca log pred N/A N/A 1 target N/A N/A ca log N/A 1 pred axis 1 N/A grad N/A N/A self pred target N/A N/A N/A pred N/A N/A ca maximum pred _FLT_MIN N/A N/A N/A N/A target pred N/A N/A 1 target N/A 1 pred N/A N/A MeanSquaredError N/A Loss N/A __init__ N/A N/A self N/A N/A N/A N/A self n_feats None N/A setup N/A N/A self pred_shape target_shape N/A None N/A N/A N/A self n_feats N/A pred_shape N/A 1 N/A loss N/A N/A self pred target N/A N/A N/A N/A N/A ca mean N/A N/A target pred 2 axis 1 N/A grad N/A N/A self pred target N/A N/A N/A N/A N/A 2.0 N/A self n_feats N/A pred target N/A N/A