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

Method constraint

tensorflow/python/ops/variables.py:765–772  ·  view source on GitHub ↗

Returns the constraint function associated with this variable. Returns: The constraint function that was passed to the variable constructor. Can be `None` if no constraint was passed.

(self)

Source from the content-addressed store, hash-verified

763
764 @property
765 def constraint(self):
766 """Returns the constraint function associated with this variable.
767
768 Returns:
769 The constraint function that was passed to the variable constructor.
770 Can be `None` if no constraint was passed.
771 """
772 raise NotImplementedError
773
774 def assign(self, value, use_locking=False, name=None, read_value=True):
775 """Assigns a new value to the variable.

Callers 11

update_opMethod · 0.45
update_opMethod · 0.45
update_opMethod · 0.45
get_updatesMethod · 0.45
get_updatesMethod · 0.45
get_updatesMethod · 0.45
get_updatesMethod · 0.45
get_updatesMethod · 0.45
get_updatesMethod · 0.45
get_updatesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected