MCPcopy Create free account
hub / github.com/alibaba/nann / get_variable

Method get_variable

tensorflow/tensorflow/python/ops/variable_scope.py:1173–1243  ·  view source on GitHub ↗

Gets an existing variable with this name or create a new one.

(self,
                   var_store,
                   name,
                   shape=None,
                   dtype=None,
                   initializer=None,
                   regularizer=None,
                   reuse=None,
                   trainable=None,
                   collections=None,
                   caching_device=None,
                   partitioner=None,
                   validate_shape=True,
                   use_resource=None,
                   custom_getter=None,
                   constraint=None,
                   synchronization=VariableSynchronization.AUTO,
                   aggregation=VariableAggregation.NONE)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 2

executing_eagerlyMethod · 0.80
name_scopeMethod · 0.45