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

Method __init__

tensorflow/python/ops/lookup_ops.py:110–119  ·  view source on GitHub ↗

Construct a lookup table interface. Args: key_dtype: The table key type. value_dtype: The table value type.

(self, key_dtype, value_dtype)

Source from the content-addressed store, hash-verified

108 """Represent a lookup table that persists across different steps."""
109
110 def __init__(self, key_dtype, value_dtype):
111 """Construct a lookup table interface.
112
113 Args:
114 key_dtype: The table key type.
115 value_dtype: The table value type.
116 """
117 self._key_dtype = dtypes.as_dtype(key_dtype)
118 self._value_dtype = dtypes.as_dtype(value_dtype)
119 super(LookupInterface, self).__init__()
120
121 def _create_resource(self):
122 raise NotImplementedError

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected