3e530f0fb84ba99e7cb6e84cc3547f1e1e5f01eb,coremltools/converters/nnssa/coreml/ssa_converter.py,SSAConverter,convert,#SSAConverter#,342
Before Change
node = func.graph[node_name]
op_type = node.op
if op_type not in self.CONVERT_FUNCTION_MAP:
raise NotImplementedError(
"[SSAConverter] Op type "{}" not implemented.".format(op_type))
if builtins.is_tensor(node.datatype):
print(
"[SSAConverter] [{}/{}] Converting op "{}" of type "{}", output shape: {}".format(
idx + 1, len(instruction_order), node_name, op_type, node.datatype.get_shape()))
After Change
convert_func = self._convert_custom_layer
conversion_message = " with custom layer"
else:
raise NotImplementedError(
"[SSAConverter] Conversion for op %s not implemented, terminating..." %
(op_type))
print("[SSAConverter] [{}/{}] Converting op type \"{}\", of name \"{}\" {} {}".format(
idx + 1, len(instruction_order), op_type, node_name, conversion_message,
(("(output shape: " + str(node.datatype.get_shape()) +")") if builtins.is_tensor(node.datatype) else "")))
In pattern: SUPERPATTERN
Frequency: 17
Non-data size: 6
Instances Project Name: apple/coremltools
Commit Name: 3e530f0fb84ba99e7cb6e84cc3547f1e1e5f01eb
Time: 2019-09-27
Author: bsonawane@apple.com
File Name: coremltools/converters/nnssa/coreml/ssa_converter.py
Class Name: SSAConverter
Method Name: convert
Project Name: tensorflow/privacy
Commit Name: 06bb0475259bf9642ce0c3ba7c4c06d001e3fd58
Time: 2020-08-11
Author: gardener@tensorflow.org
File Name: tensorflow_privacy/privacy/membership_inference_attack/membership_inference_attack_new.py
Class Name:
Method Name: run_trained_attack
Project Name: xinntao/BasicSR
Commit Name: 474ed3789d19fd1bdf40a7365a5d196e118132c0
Time: 2018-09-09
Author: wxt1994@126.com
File Name: codes/models/networks.py
Class Name:
Method Name: define_D
Project Name: xinntao/BasicSR
Commit Name: 74cfac2794b5fbce7cf05411953331eab4e59df8
Time: 2018-09-09
Author: wxt1994@126.com
File Name: codes/data/util.py
Class Name:
Method Name: get_image_paths
Project Name: hyperspy/hyperspy
Commit Name: 62715fef1d2d46756c05d78067fc4a003bd8c02d
Time: 2017-04-08
Author: frandelapena@gmail.com
File Name: hyperspy/ui_registry.py
Class Name:
Method Name: get_gui
Project Name: xinntao/BasicSR
Commit Name: 474ed3789d19fd1bdf40a7365a5d196e118132c0
Time: 2018-09-09
Author: wxt1994@126.com
File Name: codes/models/modules/block.py
Class Name:
Method Name: norm
Project Name: xinntao/BasicSR
Commit Name: 474ed3789d19fd1bdf40a7365a5d196e118132c0
Time: 2018-09-09
Author: wxt1994@126.com
File Name: codes/models/networks.py
Class Name:
Method Name: init_weights
Project Name: xinntao/BasicSR
Commit Name: 474ed3789d19fd1bdf40a7365a5d196e118132c0
Time: 2018-09-09
Author: wxt1994@126.com
File Name: codes/models/SRGAN_model.py
Class Name: SRGANModel
Method Name: __init__
Project Name: xinntao/BasicSR
Commit Name: 474ed3789d19fd1bdf40a7365a5d196e118132c0
Time: 2018-09-09
Author: wxt1994@126.com
File Name: codes/models/modules/architecture.py
Class Name: RRDBNet
Method Name: __init__
Project Name: xinntao/BasicSR
Commit Name: c91609d095b1db5f83b2c34be6c4042e879db47d
Time: 2018-09-08
Author: wxt1994@126.com
File Name: codes/data/__init__.py
Class Name:
Method Name: create_dataset
Project Name: xinntao/BasicSR
Commit Name: 474ed3789d19fd1bdf40a7365a5d196e118132c0
Time: 2018-09-09
Author: wxt1994@126.com
File Name: codes/models/__init__.py
Class Name:
Method Name: create_model
Project Name: xinntao/BasicSR
Commit Name: 474ed3789d19fd1bdf40a7365a5d196e118132c0
Time: 2018-09-09
Author: wxt1994@126.com
File Name: codes/models/modules/block.py
Class Name:
Method Name: pad
Project Name: xinntao/BasicSR
Commit Name: 474ed3789d19fd1bdf40a7365a5d196e118132c0
Time: 2018-09-09
Author: wxt1994@126.com
File Name: codes/models/SFTGAN_ACD_model.py
Class Name: SFTGAN_ACD_Model
Method Name: __init__
Project Name: xinntao/BasicSR
Commit Name: 474ed3789d19fd1bdf40a7365a5d196e118132c0
Time: 2018-09-09
Author: wxt1994@126.com
File Name: codes/models/SRRaGAN_model.py
Class Name: SRRaGANModel
Method Name: __init__
Project Name: xinntao/BasicSR
Commit Name: 474ed3789d19fd1bdf40a7365a5d196e118132c0
Time: 2018-09-09
Author: wxt1994@126.com
File Name: codes/models/SR_model.py
Class Name: SRModel
Method Name: __init__
Project Name: xinntao/BasicSR
Commit Name: 474ed3789d19fd1bdf40a7365a5d196e118132c0
Time: 2018-09-09
Author: wxt1994@126.com
File Name: codes/models/modules/block.py
Class Name:
Method Name: act
Project Name: xinntao/BasicSR
Commit Name: 474ed3789d19fd1bdf40a7365a5d196e118132c0
Time: 2018-09-09
Author: wxt1994@126.com
File Name: codes/models/modules/architecture.py
Class Name: SRResNet
Method Name: __init__