Module ImportFrom alias Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias If CompareEq NameLoad Str body Assign NameStore Call NameLoad Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad Num Num Num Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Num Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad Num For NameStore Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index TupleLoad NameLoad SubscriptLoad NameLoad Index NameLoad Num Assign NameStore Call NameLoad BinOpMult Num NameLoad Assign TupleStore NameStore NameStore TupleLoad SubscriptLoad NameLoad Slice NameLoad SubscriptLoad NameLoad Slice NameLoad Assign TupleStore NameStore NameStore TupleLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Assign TupleStore NameStore NameStore TupleLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Assign NameStore BinOpRShift BinOpRShift BinOpRShift BinOpRShift Call NameLoad TupleLoad Num Num Num Call NameLoad TupleLoad Num Num Num keyword NameLoad Call NameLoad TupleLoad Num Num Num Call NameLoad Call NameLoad Num Assign NameStore Call NameLoad Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body For NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad Num SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad Num NameLoad Expr Call NameLoad Str NameLoad decorator_list
N/A __future__ print_function N/A numpy np sklearn.datasets fetch_mldata deepx.nn * deepx.loss * deepx.optimize * N/A N/A __name__ __main__ N/A N/A mnist N/A fetch_mldata MNIST original N/A X N/A mnist N/A data N/A N N/A N/A X shape N/A 0 N/A X N/A N/A X reshape N/A N 1 28 28 N/A labels N/A mnist N/A target N/A N/A N/A N/A np random seed 0 N/A idx N/A N/A N/A np random permutation N/A N/A np arange 70000 N/A X N/A X N/A idx N/A labels N/A N/A N/A labels N/A idx astype N/A np int32 N/A y N/A N/A np zeros N/A N 10 N/A i N/A range N N/A N/A N/A y N/A N/A i N/A labels N/A i 1 N/A split N/A int N/A 0.9 N N/A N/A train_idx test_idx N/A N/A idx N/A split N/A idx N/A split N/A N/A Xtrain Xtest N/A N/A X N/A train_idx N/A X N/A test_idx N/A N/A ytrain ytest N/A N/A y N/A train_idx N/A y N/A test_idx N/A conv_net N/A N/A N/A N/A N/A Image N/A 1 28 28 N/A Conv N/A 10 2 2 activation Elu N/A Conv N/A 20 2 2 N/A Flatten N/A Softmax 10 N/A rmsprop N/A RMSProp N/A CrossEntropy conv_net train N/A N/A n_iter lr N/A N/A N/A i N/A range n_iter N/A N/A u N/A N/A N/A np random choice N/A N/A np arange split N/A loss N/A N/A rmsprop train N/A Xtrain N/A u N/A u 50 N/A ytrain N/A u N/A u 50 lr N/A N/A print Loss: loss N/A