We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gp_kernel_scale_trainable=True
Setting gp_kernel_scale_trainable=True in class RandomFeatureGaussianProcess( does not work. Anyway, we might have hidden layers for raw inputs/features.
class RandomFeatureGaussianProcess(
I also try to modify:
self.unscaled_kernel = self.add_weight( name='unscaled_kernel', shape=(input_dim, self.output_dim), dtype=dtypes.float32, initializer=kernel_initializer, ++ trainable=True)
and pay attention to
self.scale = _get_default_scale(self.kernel_initializer, input_dim) self.kernel_scale = self.add_weight( name='kernel_scale', shape=(1,), dtype=dtypes.float32, initializer=init_ops.constant_initializer(self.scale), trainable=True, constraint='NonNeg')
in tf.keras.layers.experimental.RandomFourierFeatures (the file is kernelized.py)
tf.keras.layers.experimental.RandomFourierFeatures
kernelized.py
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Setting
gp_kernel_scale_trainable=True
inclass RandomFeatureGaussianProcess(
does not work. Anyway, we might have hidden layers for raw inputs/features.I also try to modify:
self.unscaled_kernel = self.add_weight( name='unscaled_kernel', shape=(input_dim, self.output_dim), dtype=dtypes.float32, initializer=kernel_initializer, ++ trainable=True)
and pay attention to
in
tf.keras.layers.experimental.RandomFourierFeatures
(the file iskernelized.py
)The text was updated successfully, but these errors were encountered: