3b440235e237ef59ec5763c413e7f4292dab5d79,keras/engine/network.py,Network,run_internal_graph,#Network#Any#Any#,753
Before Change
// Update cache;
// keys are based on ids on input tensors and inputs masks.
cache_key = ",".join([str(id(x)) for x in inputs])
cache_key += "_" + ",".join([str(id(x)) for x in masks])
if len(output_tensors) == 1:
output_tensors = output_tensors[0]
self._output_tensor_cache[cache_key] = output_tensors
After Change
// Update cache;
// keys are based on ids on input tensors and inputs masks.
cache_key = object_list_uid(inputs)
cache_key += "_" + object_list_uid(masks)
if len(output_tensors) == 1:
output_tensors = output_tensors[0]
self._output_tensor_cache[cache_key] = output_tensors
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 22
Instances
Project Name: keras-team/keras
Commit Name: 3b440235e237ef59ec5763c413e7f4292dab5d79
Time: 2018-04-26
Author: francois.chollet@gmail.com
File Name: keras/engine/network.py
Class Name: Network
Method Name: run_internal_graph
Project Name: keras-team/keras
Commit Name: 3b440235e237ef59ec5763c413e7f4292dab5d79
Time: 2018-04-26
Author: francois.chollet@gmail.com
File Name: keras/engine/network.py
Class Name: Network
Method Name: call
Project Name: keras-team/keras
Commit Name: 3b440235e237ef59ec5763c413e7f4292dab5d79
Time: 2018-04-26
Author: francois.chollet@gmail.com
File Name: keras/engine/network.py
Class Name: Network
Method Name: compute_mask
Project Name: keras-team/keras
Commit Name: 3b440235e237ef59ec5763c413e7f4292dab5d79
Time: 2018-04-26
Author: francois.chollet@gmail.com
File Name: keras/engine/network.py
Class Name: Network
Method Name: run_internal_graph