6c75e7b5840de76bb942f145390b408c2fc8cdce,model_multi_inputs_train.py,,,#,22
Before Change
from read_activations import *
get_activations(m, [inp_a[0:1], inp_b[0:1]], print_shape_only=True)
get_activations(m, [inp_a[0:1], inp_b[0:1]], print_shape_only=True, layer_name="only_this_layer")
m2 = get_single_inputs_model()
m2.compile(optimizer="adam",
After Change
inp_o = np.random.randint(low=0, high=2, size=(100, 1))
m.fit([inp_a, inp_b], inp_o)
print("\n".join([str(v.shape) for v in get_activations(m, [inp_a[0:1], inp_b[0:1]])]))
get_activations(m, [inp_a[0:1], inp_b[0:1]], layer_name="only_this_layer")
m2 = get_single_inputs_model()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: philipperemy/keras-activations
Commit Name: 6c75e7b5840de76bb942f145390b408c2fc8cdce
Time: 2018-10-03
Author: premy@cogent.co.jp
File Name: model_multi_inputs_train.py
Class Name:
Method Name:
Project Name: philipperemy/keras-activations
Commit Name: 6c75e7b5840de76bb942f145390b408c2fc8cdce
Time: 2018-10-03
Author: premy@cogent.co.jp
File Name: model_train.py
Class Name:
Method Name:
Project Name: philipperemy/keras-activations
Commit Name: 49793a3ce8605913e061df227125759e57aa1d99
Time: 2017-06-29
Author: premy@reactive.co.jp
File Name: model_train.py
Class Name:
Method Name: