MCPcopy
hub / github.com/jindongwang/transferlearning / logp

Method logp

code/deep/CSG/distr/base.py:102–104  ·  view source on GitHub ↗
(self, vals: edic, conds: edic=edic())

Source from the content-addressed store, hash-verified

100 raise NotImplementedError
101
102 def logp(self, vals: edic, conds: edic=edic()) -> tc.Tensor: # log_probs
103 # [shape_bat, shape_var], [shape_bat, shape_cond] -> [shape_bat]
104 raise NotImplementedError
105
106 def logp_cartes(self, vals: edic, conds: edic=edic()) -> tc.Tensor: # log_probs
107 # [shape_mc, shape_var], [shape_bat, shape_cond] -> [shape_mc, shape_bat]

Callers 15

logp_cartesMethod · 0.95
test_funFunction · 0.45
_logpMethod · 0.45
elboFunction · 0.45
elbo_z2xyFunction · 0.45
elbo_z2xy_twistFunction · 0.45
elbo_zy2xFunction · 0.45
llhMethod · 0.45
logit_y1x_srcMethod · 0.45
llhMethod · 0.45
logit_y1x_srcMethod · 0.45
elbo_z2xyFunction · 0.45

Calls 1

edicClass · 0.85

Tested by 1

test_funFunction · 0.36