e6ce836b2925a677d0924e8859439937ba5808dc,gpflow/conditionals/mo_conditionals.py,,_conditional,#Any#Any#Any#Any#,73
Before Change
// rmu, rvar = tf.map_fn(lambda x: single_gp_conditional(x[0], x[1], x[2], x[3], x[4]),
// (Kmms, Kmns, Knns,fs, q_sqrts), dtype=dtypes)
for i in range(Knns.shape[0]):
single_gp_conditional(Kmms[i, :, :], Kmns[i, :, :], Knns[i, :], fs[i, :, :], q_sqrts[i,
:, :])
// [P,
// N, 1], [P, 1, N, N] or [P, N, 1]
fmu = tf.linalg.transpose(rmu[:, :, 0]) // [N, P]
After Change
return base_conditional(Kmn, Kmm, Knn, f, full_cov=full_cov, q_sqrt=q_sqrt, white=white)
// [P, N, 1], [P, 1, N, N] or [P, N, 1]
rmu, rvar = tf.map_fn(single_gp_conditional,
(Kmms, Kmns, Knns, fs, q_sqrts),
(default_float(), default_float()))
fmu = tf.linalg.transpose(rmu[:, :, 0]) // [N, P]
if full_cov:
fvar = rvar[:, 0, :, :] // [P, N, N]
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances
Project Name: GPflow/GPflow
Commit Name: e6ce836b2925a677d0924e8859439937ba5808dc
Time: 2019-03-18
Author: sergio.diaz@prowler.io
File Name: gpflow/conditionals/mo_conditionals.py
Class Name:
Method Name: _conditional
Project Name: dhlab-epfl/dhSegment
Commit Name: c3ac58c90f2fe330eb036744fba3af2c14426fdc
Time: 2018-01-17
Author: seg.benoit@gmail.com
File Name: doc_seg/model.py
Class Name:
Method Name: model_fn
Project Name: khaotik/DaNet-Tensorflow
Commit Name: da36b413cd9e87bb2958043511b76cb0dc335631
Time: 2017-08-13
Author: junkkhaotik@gmail.com
File Name: app/modules.py
Class Name: WeightedAverageEstimator
Method Name: __call__
Project Name: fgnt/nara_wpe
Commit Name: 4580d28f9cc8f846ee6fb42dda6909a98797fcd9
Time: 2018-05-16
Author: heymann@nt.upb.de
File Name: nara_wpe/tf_wpe.py
Class Name:
Method Name: wpe