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

Method add_variable

tensorflow/contrib/eager/python/network.py:492–503  ·  view source on GitHub ↗
(self,
                   name,
                   shape,
                   dtype=None,
                   initializer=None,
                   regularizer=None,
                   trainable=True,
                   constraint=None)

Source from the content-addressed store, hash-verified

490 return self._layers
491
492 def add_variable(self,
493 name,
494 shape,
495 dtype=None,
496 initializer=None,
497 regularizer=None,
498 trainable=True,
499 constraint=None):
500 raise RuntimeError(
501 "add_variable not supported in Network class yet. Please file an issue "
502 "at https://github.com/tensorflow/tensorflow/issues/new if this is "
503 "important to you")
504
505 def add_loss(self, losses, inputs=None):
506 raise RuntimeError(

Callers 15

buildMethod · 0.45
buildMethod · 0.45
buildMethod · 0.45
buildMethod · 0.45
buildMethod · 0.45
buildMethod · 0.45
__init__Method · 0.45
buildMethod · 0.45
buildMethod · 0.45
buildMethod · 0.45
buildMethod · 0.45

Calls

no outgoing calls

Tested by 3

__init__Method · 0.36
TESTFunction · 0.36