005be3f794c134d26fc9adb98c4dffcbccd33f89,tensorboard/plugins/interactive_inference/witwidget/notebook/visualization.py,WitConfigBuilder,_convert_json_to_tf_examples,#WitConfigBuilder#Any#,454
Before Change
ex.features.feature[feat].float_list.value.append(json_ex[feat])
else:
ex.features.feature[feat].bytes_list.value.append(
json_ex[feat].encode("utf-8") )
tf_examples.append(ex)
return tf_examples
After Change
// or dicts of key/value pairs.
if isinstance(json_ex, list):
self._set_uses_json_list(True)
feature_names = self.config.get("feature_names")
for (i, value) in enumerate(json_ex):
// If feature names have been provided, use those feature names instead
// of list indices for feature name when storing as tf.Example.
if feature_names and len(feature_names) > i:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: tensorflow/tensorboard
Commit Name: 005be3f794c134d26fc9adb98c4dffcbccd33f89
Time: 2019-05-10
Author: jameswex@users.noreply.github.com
File Name: tensorboard/plugins/interactive_inference/witwidget/notebook/visualization.py
Class Name: WitConfigBuilder
Method Name: _convert_json_to_tf_examples
Project Name: alfredfrancis/ai-chatbot-framework
Commit Name: 283c21ffe41229dcc9790ae400b6833c50960a57
Time: 2016-07-02
Author: alfred.francis@pearldatadirect.com
File Name: ikyCore/sequenceLabeler.py
Class Name:
Method Name: train
Project Name: horovod/horovod
Commit Name: c7dfdcef44d181ee2b834e3b0fb06c9c82f952b3
Time: 2019-11-20
Author: github@enrico.minack.dev
File Name: horovod/run/common/util/host_hash.py
Class Name:
Method Name: host_hash