-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodelanalyse.py
More file actions
39 lines (33 loc) · 938 Bytes
/
modelanalyse.py
File metadata and controls
39 lines (33 loc) · 938 Bytes
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
36
37
38
class ModelAnalyse(object):
def __init__(self, model):
self.model = model
def weighthistogram(self):
"""
get data for drawing histogram of weights of single layer
:return:
"""
print "waiting"
def weightCDF(self):
"""
get data for drawing cumulative distribution function of weights
:return:
"""
print "waiting"
def weightPDF(self):
"""
get data for drawing probability density function of weights
:return:
"""
print "waiting"
def qweightcount(self):
"""
only for quantized model, get number of every quantized value on single layer
:return:
"""
print "waiting"
def qmodelcount(self):
"""
only for quantized model, get number of every quantized value on whole model
:return:
"""
print "waiting"