-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.py
35 lines (24 loc) · 695 Bytes
/
test.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import argparse
import sys
import tempfile
from tensorflow.examples.tutorials.mnist import input_data
import tensorflow as tf
import numpy as np
# bignum = 669878
# sigma = 0.1
# N = np.random.randn(50, bignum) # samples from a normal distribution N(0,
# vp = np.random.randn(bignum)
# k = sigma*N[0]
# vp_try = np.add(vp,sigma*N[0])
# # print(N[0])
# # print(k)
# # print(vp)
# print(vp_try)
v = [1,2,3,4,5,6,7,8,9]
b = v[3:5]
print(len(b))
#cd /Users/hs/Desktop/tensorflow-master
#/Applications/Utilities/anaconda/bin/python ./tensorflow/examples/tutorials/mnist/test.py