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

Function get_hash_table

tensorflow/python/ops/variable_scope.py:2124–2143  ·  view source on GitHub ↗
(name,
                   embedding_dim,
                   dtype=None,
                   initializer=None,
                   collections=None,
                   trainable=True,
                   synchronization=VariableSynchronization.AUTO,
                   partitioner=None,
                   children=None)

Source from the content-addressed store, hash-verified

2122
2123@tf_export(v1=["get_hash_table"])
2124def get_hash_table(name,
2125 embedding_dim,
2126 dtype=None,
2127 initializer=None,
2128 collections=None,
2129 trainable=True,
2130 synchronization=VariableSynchronization.AUTO,
2131 partitioner=None,
2132 children=None):
2133 return get_variable_scope().get_hash_table(
2134 _get_default_variable_store(),
2135 name,
2136 shape=embedding_dim,
2137 dtype=dtype,
2138 initializer=initializer,
2139 collections=collections,
2140 trainable=trainable,
2141 synchronization=synchronization,
2142 partitioner=partitioner,
2143 children=children)
2144
2145
2146@tf_export(v1=["get_embedding_variable"])

Callers

nothing calls this directly

Calls 3

get_variable_scopeFunction · 0.85
get_hash_tableMethod · 0.80

Tested by

no test coverage detected