81212e841322442c03e3b3df80ab4db3e7aecfb9,dlpy/model_conversion/write_keras_model_parm.py,,write_keras_hdf5,#Any#Any#Any#,335

Before Change


                    name = str(w.name)
                else:
                    name = "param_" + str(i)
                weight_names.append(name.encode("utf8"))

            // layer modification from here:
            new_weight_names = []

After Change


            permute_layer_name = None

        // populate attributes with layer names
        attrib_layer_names = []
        for name in filtered_layer_names:
            layer = model.get_layer(name=name)
            class_name, sublayers = remove_layer_wrapper(layer)
            for tlayer in sublayers:
                attrib_layer_names.append(tlayer.name)
                            
        f_out.attrs["layer_names"] = [replace_forward_slash(l).encode("utf8") for l in attrib_layer_names]            
        // let Keras read weights, reformat, and write to SAS-compatible file
        for k, layer in enumerate(filtered_layers):
            symbolic_weights = layer.weights
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: sassoftware/python-dlpy
Commit Name: 81212e841322442c03e3b3df80ab4db3e7aecfb9
Time: 2019-05-31
Author: docair@v64-docair-09.dept-ter.sashq-d.openstack.sas.com
File Name: dlpy/model_conversion/write_keras_model_parm.py
Class Name:
Method Name: write_keras_hdf5


Project Name: tensorflow/magenta
Commit Name: ac45b5a02c24f0e5d3b0c5b4a446febffc2df753
Time: 2017-10-30
Author: iansimon@users.noreply.github.com
File Name: magenta/models/performance_rnn/performance_rnn_create_dataset.py
Class Name: EncoderPipeline
Method Name: transform


Project Name: UFAL-DSG/tgen
Commit Name: f0a55e8621986cc1c4593f3bac939bbde5e4b3bd
Time: 2019-06-08
Author: odusek@ufal.mff.cuni.cz
File Name: tgen/data.py
Class Name: DA
Method Name: __str__