Home | History | Annotate | Download | only in mappers

Lines Matching refs:stddev

49 def _compute_exact_rbf_kernel(x, y, stddev):
50 """Computes exact RBF kernel given input tensors x and y and stddev."""
53 return math_ops.exp(-diff_squared_norm / (2 * stddev * stddev))
94 stddev = 3.0
99 rffm1 = RandomFourierFeatureMapper(3, 100, stddev)
100 rffm2 = RandomFourierFeatureMapper(3, 100, stddev)
114 stddev = 3.0
119 rffm = RandomFourierFeatureMapper(3, 100, stddev, seed=0)
122 exact_kernel_value = _compute_exact_rbf_kernel(x, y, stddev)
132 stddev = 5.0
147 rffm = RandomFourierFeatureMapper(input_dim, mapped_dim, stddev, seed=0)
155 exact_kernel_value = _compute_exact_rbf_kernel(x, y, stddev)