35d25997655036ead131495a316e37905ef1ac63,keras2caffe/convert.py,,convert,#,47

Before Change


            bottom = layer.input.name
        
        //first we need to create Input layer
        if layer_type=="InputLayer" or not hasattr(caffe_net, "data"):

            input_name = "data"
            caffe_net[input_name] = L.Layer()

After Change


            bottom = layer.input.name
        
        //first we need to create Input layer
        if layer_type=="InputLayer" or len(caffe_net.tops)==0:

            input_name = "data"
            caffe_net[input_name] = L.Layer()
            input_shape = config["batch_input_shape"]
            input_str = "input: {}\ninput_dim: {}\ninput_dim: {}\ninput_dim: {}\ninput_dim: {}".format(""" + input_name + """,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: uhfband/keras2caffe
Commit Name: 35d25997655036ead131495a316e37905ef1ac63
Time: 2019-05-18
Author: uhfband@gmail.com
File Name: keras2caffe/convert.py
Class Name:
Method Name: convert


Project Name: scikit-learn-contrib/sklearn-pandas
Commit Name: 5eb3d77c63481d70a8a682649b1d699eb2289aea
Time: 2017-06-24
Author: ragrawal@uber.com
File Name: sklearn_pandas/dataframe_mapper.py
Class Name: DataFrameMapper
Method Name: get_names


Project Name: ikostrikov/pytorch-a2c-ppo-acktr
Commit Name: 5dba182362d6d3b7d87fe852a4d707bd7ec3153a
Time: 2017-11-17
Author: ikostrikov@gmail.com
File Name: main.py
Class Name:
Method Name: main