MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / update

Method update

tools/parse_kernel_info.py:65–71  ·  view source on GitHub ↗
(self, supported_dtypes)

Source from the content-addressed store, hash-verified

63 }
64
65 def update(self, supported_dtypes):
66 for dtype in supported_dtypes:
67 if dtype in self.num_ops_for_dtypes.keys():
68 self.num_ops_for_dtypes[dtype] += 1
69 elif dtype == "float":
70 self.num_ops_for_dtypes["float32"] += 1
71 self.num_ops_for_dtypes["all"] += 1
72
73 def __str__(self):
74 res = "{ "

Callers 15

parse_paddle_kernelsFunction · 0.95
test_md5Method · 0.45
fetch_pull_requestsMethod · 0.45
md5Function · 0.45
_extract_examplesMethod · 0.45
md5Function · 0.45
test_trialMethod · 0.45
test_serializationMethod · 0.45
test_dynamicMethod · 0.45
test_staticMethod · 0.45
test_dynamicMethod · 0.45
test_staticMethod · 0.45

Calls 1

keysMethod · 0.45

Tested by 15

test_md5Method · 0.36
test_trialMethod · 0.36
test_serializationMethod · 0.36
test_dynamicMethod · 0.36
test_staticMethod · 0.36
test_dynamicMethod · 0.36
test_staticMethod · 0.36
funcMethod · 0.36
tearDownMethod · 0.36
start_local_trainersFunction · 0.36
_run_clusterMethod · 0.36
check_with_placeMethod · 0.36