102b6a5cdb85acd490e23831b643fc679cbb8db5,graph_compression/compression_lib/simhash_compression_op.py,KMeansPruningCompressionOp,get_customized_apply_compression_op,#KMeansPruningCompressionOp#,851
Before Change
layer_obj.vars.mask,
"masked_weight")
if self._spec.update_option in [0, 2]:
self.update_op = self._create_update_op()
else:
self.update_op = self.setup_update_explicit()
After Change
tf.less(self._spec.end_compression_step, 0)))
return is_step_within_compression_range
if getattr(self._spec, "do_transpose", False):
self.pruning_and_compression_op = (
self.alpha * self.pruned_a_matrix_tfvar +
(1 - self.alpha) * tf.math.multiply(
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: google-research/google-research
Commit Name: 102b6a5cdb85acd490e23831b643fc679cbb8db5
Time: 2021-02-20
Author: wanxin@google.com
File Name: graph_compression/compression_lib/simhash_compression_op.py
Class Name: KMeansPruningCompressionOp
Method Name: get_customized_apply_compression_op
Project Name: matthewwithanm/django-imagekit
Commit Name: 97dc4b6cb2e65f958a387f86e1a3c946f430c390
Time: 2015-10-31
Author: dulacpier@gmail.com
File Name: imagekit/conf.py
Class Name: ImageKitConf
Method Name: configure_cache_backend
Project Name: google-research/google-research
Commit Name: 102b6a5cdb85acd490e23831b643fc679cbb8db5
Time: 2021-02-20
Author: wanxin@google.com
File Name: graph_compression/compression_lib/simhash_compression_op.py
Class Name: KMeansPruningCompressionOp
Method Name: get_apply_compression_op