예제 #1
0
def rbm_obj(params, inputs):
    return rbm.cd(params, inputs, rbm.sample_h, rbm.sample_v,
                  rbm.neg_free_energy_grad, weight_decay)
예제 #2
0
 def f(params, inputs):
     return rbm.cd(params, inputs,
                   grbm.sample_h_noisy_relu, grbm.sample_v,
                   neg_free_energy_grad)
예제 #3
0
 def f(params, inputs):
     return rbm.cd(params, inputs, grbm.sample_h_noisy_relu, grbm.sample_v,
                   neg_free_energy_grad)
예제 #4
0
def rbm_obj(params, inputs):
    return rbm.cd(params, inputs,
                  rbm.sample_h,
                  rbm.sample_v,
                  rbm.neg_free_energy_grad,
                  weight_decay)