190966e3b8e24aceb5c91e582357221a55f3f2f6,tensorflow_transform/tf_metadata/schema_utils.py,,schema_from_feature_spec,#Any#Any#,33
Before Change
if isinstance(spec, tf.io.SparseFeature):
(index_feature, value_feature, sparse_feature) = (
_sparse_feature_from_feature_spec(spec, name, domains))
result.feature.add().CopyFrom(index_feature)
result.feature.add().CopyFrom(value_feature)
result.sparse_feature.add().CopyFrom(sparse_feature)
else:
result.feature.add().CopyFrom(
After Change
(index_feature, value_feature, sparse_feature) = (
_sparse_feature_from_feature_spec(spec, name, domains))
for f in index_feature:
result.feature.add().CopyFrom(f)
result.feature.add().CopyFrom(value_feature)
result.sparse_feature.add().CopyFrom(sparse_feature)
else:
result.feature.add().CopyFrom(
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 2
Instances
Project Name: tensorflow/transform
Commit Name: 190966e3b8e24aceb5c91e582357221a55f3f2f6
Time: 2020-12-01
Author: zoy@google.com
File Name: tensorflow_transform/tf_metadata/schema_utils.py
Class Name:
Method Name: schema_from_feature_spec
Project Name: hanxiao/bert-as-service
Commit Name: 4ef18918d818a89dbb6181c71cee502cafc08180
Time: 2019-01-17
Author: hanhxiao@tencent.com
File Name: server/bert_serving/server/graph.py
Class Name:
Method Name: convert_variables_to_constants
Project Name: tensorflow/magenta
Commit Name: f252f4d141ec05d1322ac5768736ff7984ab4036
Time: 2016-08-05
Author: danabo@google.com
File Name: magenta/models/shared/melody_rnn_generate.py
Class Name:
Method Name: run_with_flags
Project Name: hanxiao/bert-as-service
Commit Name: fe4636e1cadad7f7aa6892f3e4e854aa80d94a0f
Time: 2019-01-18
Author: hanhxiao@tencent.com
File Name: server/bert_serving/server/graph.py
Class Name:
Method Name: convert_variables_to_constants