dc832134c1a0a0961792398e0bca5b20806fbc69,tensorflow_encrypted/convert/register.py,,bias_add,#Any#Any#Any#,157

Before Change




def bias_add(converter: Converter, node: Any, inputs: List[str]) -> Any:
    raise NotImplementedError()

    input = converter.outputs[inputs[0]]
    bias = converter.outputs[inputs[1]]

After Change


    a = converter.outputs[inputs[0]]
    b = converter.outputs[inputs[1]]

    if isinstance(a, tf.NodeDef):
        a_out = nodef_to_private_pond(converter, a)
    else:
        a_out = a

    if isinstance(b, tf.NodeDef):
        b_out = nodef_to_private_pond(converter, b)
    else:
        b_out = b
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: mortendahl/tf-encrypted
Commit Name: dc832134c1a0a0961792398e0bca5b20806fbc69
Time: 2018-09-27
Author: justinpatriquin@gmail.com
File Name: tensorflow_encrypted/convert/register.py
Class Name:
Method Name: bias_add


Project Name: mortendahl/tf-encrypted
Commit Name: dc832134c1a0a0961792398e0bca5b20806fbc69
Time: 2018-09-27
Author: justinpatriquin@gmail.com
File Name: tensorflow_encrypted/convert/register.py
Class Name:
Method Name: bias_add


Project Name: pymanopt/pymanopt
Commit Name: 17522b968c8a1d2b29d0034fc57cec59ed9972de
Time: 2016-03-15
Author: git@sweichwald.de
File Name: pymanopt/tools/autodiff/_tensorflow.py
Class Name: TensorflowBackend
Method Name: compute_hessian


Project Name: Microsoft/MMdnn
Commit Name: 13ba9a024d50038d94706beeb5267a88a1a2ac5e
Time: 2019-01-07
Author: 42927787+rainLiuplus@users.noreply.github.com
File Name: mmdnn/conversion/mxnet/mxnet_emitter.py
Class Name: MXNetEmitter
Method Name: emit_Constant