We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 316cd52 commit 723f839Copy full SHA for 723f839
edward2/tensorflow/layers/gaussian_process.py
@@ -406,9 +406,11 @@ def build(self, input_shape=None):
406
def call_weights(self):
407
"""Calls any weights if the initializer is itself a layer."""
408
if isinstance(self.inducing_inputs_initializer, tf.keras.layers.Layer):
409
+ assert self.conditional_inputs is not None
410
self.conditional_inputs = self.inducing_inputs_initializer(
411
self.conditional_inputs.shape, self.dtype)
412
if isinstance(self.inducing_outputs_initializer, tf.keras.layers.Layer):
413
+ assert self.conditional_outputs is not None
414
self.conditional_outputs = self.inducing_outputs_initializer(
415
self.conditional_outputs.shape, self.dtype)
416
0 commit comments