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

Method set_initializer

tensorflow/python/ops/variable_scope.py:1404–1406  ·  view source on GitHub ↗

Set initializer for this scope.

(self, initializer)

Source from the content-addressed store, hash-verified

1402 self._reuse = True
1403
1404 def set_initializer(self, initializer):
1405 """Set initializer for this scope."""
1406 self._initializer = initializer
1407
1408 def set_dtype(self, dtype):
1409 """Set data type for this scope."""

Callers 3

__init__Method · 0.95
__enter__Method · 0.95
testGetVariableScopeMethod · 0.80

Calls

no outgoing calls

Tested by 1

testGetVariableScopeMethod · 0.64