Debugging gpflow variable
@@ -39,6 +39,20 @@ class Parameter(tf.Variable):
self.prior = prior
self._transform = transform
+ @property
+ def _in_graph_mode(self):
+ return self._unconstrained._in_graph_mode
+
+ @property
+ def _unique_id(self):
+ return self._unconstrained._unique_id
+
+ def constrained(self):
+
+ @property
+ def _shared_name(self):
+ return self._unconstrained._shared_name
+
def log_prior(self):
x = self.read_value()
y = self._unconstrained
