MCPcopy
hub / github.com/GPflow/GPflow / gen_q_sqrt

Function gen_q_sqrt

tests/gpflow/conditionals/test_uncertain_conditional.py:93–97  ·  view source on GitHub ↗
(D_out: int, *shape: int)

Source from the content-addressed store, hash-verified

91
92
93def gen_q_sqrt(D_out: int, *shape: int) -> tf.Tensor:
94 return tf.convert_to_tensor(
95 np.array([np.tril(rng.randn(*shape)) for _ in range(D_out)]),
96 dtype=default_float(),
97 )
98
99
100def mean_function_factory(

Callers 1

DataQuadClass · 0.85

Calls 1

default_floatFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…