MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / _validate_table_to_config_dict

Function _validate_table_to_config_dict

tensorflow/python/tpu/tpu_embedding.py:1084–1089  ·  view source on GitHub ↗

Validate `table_to_config_dict`.

(table_to_config_dict)

Source from the content-addressed store, hash-verified

1082
1083
1084def _validate_table_to_config_dict(table_to_config_dict):
1085 """Validate `table_to_config_dict`."""
1086 for k, v in six.iteritems(table_to_config_dict):
1087 if not isinstance(v, TableConfig):
1088 raise ValueError('Value of `table_to_config_dict` must be of type '
1089 '`TableConfig`, got {} for {}.'.format(type(v), k))
1090
1091
1092def _validate_feature_to_config_dict(table_to_config_dict,

Callers 1

__init__Method · 0.85

Calls 2

typeFunction · 0.85
formatMethod · 0.45

Tested by

no test coverage detected