Module Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr BinOpDiv Num Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If Call NameLoad NameLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If Call NameLoad NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore BinOpAdd BinOpMult NameLoad Call AttributeLoad NameLoad attr BinOpAdd NameLoad Num BinOpMult BinOpSub Num NameLoad Call AttributeLoad NameLoad attr BinOpAdd BinOpSub Num NameLoad Num If CompareIsNot NameLoad NameLoad body AugAssignMult NameStore NameLoad Assign AttributeStore NameLoad attr BinOpDiv UnaryOpUSub Call AttributeLoad NameLoad attr NameLoad BinOpMult Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num orelse Assign AttributeStore NameLoad attr UnaryOpUSub Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A numpy np quagga.matrix Matrix quagga.context Context quagga.connector Connector SigmoidCeBlock N/A object N/A N/A 
    Sigmoid nonlinearity with mean cross entropy loss
     __init__ N/A N/A self x true_labels mask device_id N/A None None N/A N/A N/A self context N/A Context device_id N/A device_id N/A N/A self context device_id N/A N/A x bpropagable N/A N/A N/A N/A self x N/A self dL_dx N/A N/A x register_usage device_id device_id N/A N/A N/A self x N/A N/A x register_usage device_id N/A N/A self true_labels N/A N/A true_labels register_usage device_id N/A mask N/A N/A N/A self mask N/A N/A mask register_usage device_id N/A N/A self probs N/A Connector N/A N/A Matrix empty_like N/A self x N/A N/A self loss None N/A fprop N/A N/A self N/A N/A N/A N/A N/A N/A self x sigmoid N/A self context N/A self probs N/A N/A N/A N/A self probs fprop N/A bprop N/A N/A self N/A N/A N/A N/A N/A N/A self dL_dx add_scaled_subtraction N/A self context N/A 1.0 N/A float N/A N/A self probs nrows N/A self probs N/A self true_labels N/A N/A hasattr self mask N/A N/A N/A N/A N/A self dL_dx hprod N/A self context N/A self mask N/A calculate_loss N/A N/A self context N/A N/A N/A true_labels_np N/A N/A N/A self true_labels to_host context N/A probs_np N/A N/A N/A self probs to_host context N/A N/A hasattr self mask N/A N/A mask N/A N/A N/A self mask to_host context N/A N/A N/A context add_callback N/A self _calculate_ce_loss true_labels_np probs_np mask N/A N/A N/A N/A context add_callback N/A self _calculate_ce_loss true_labels_np probs_np N/A _calculate_ce_loss N/A N/A self true_labels_np probs_np mask N/A None N/A N/A logs N/A N/A true_labels_np N/A N/A np log N/A probs_np 1e-20 N/A N/A 1.0 true_labels_np N/A N/A np log N/A N/A 1.0 probs_np 1e-20 N/A N/A mask None N/A N/A logs mask N/A N/A self loss N/A N/A N/A N/A np sum logs N/A N/A N/A np sum mask N/A N/A logs shape N/A 1 N/A N/A N/A self loss N/A N/A N/A np mean logs N/A N/A