b09b7eef0a207b4b0bd35268862e20372c0ed069,qucumber/rbm/binary_rbm.py,BinaryRBM,prob_v_given_h,#BinaryRBM#Any#Any#,128
Before Change
hidden state.
:rtype: torch.Tensor
return torch.addmm(
self.visible_bias.data, h, self.weights.data, out=out
).sigmoid_()
@auto_unsqueeze_arg(1)
After Change
:rtype: torch.Tensor
return (
torch.matmul(h, self.weights.data, out=out)
.add_(self.visible_bias.data)
.sigmoid_()
)
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 5
Instances
Project Name: PIQuIL/QuCumber
Commit Name: b09b7eef0a207b4b0bd35268862e20372c0ed069
Time: 2019-12-22
Author: emerali@users.noreply.github.com
File Name: qucumber/rbm/binary_rbm.py
Class Name: BinaryRBM
Method Name: prob_v_given_h
Project Name: PIQuIL/QuCumber
Commit Name: b09b7eef0a207b4b0bd35268862e20372c0ed069
Time: 2019-12-22
Author: emerali@users.noreply.github.com
File Name: qucumber/rbm/purification_rbm.py
Class Name: PurificationRBM
Method Name: prob_h_given_v
Project Name: PIQuIL/QuCumber
Commit Name: b09b7eef0a207b4b0bd35268862e20372c0ed069
Time: 2019-12-22
Author: emerali@users.noreply.github.com
File Name: qucumber/rbm/purification_rbm.py
Class Name: PurificationRBM
Method Name: prob_a_given_v
Project Name: PIQuIL/QuCumber
Commit Name: b09b7eef0a207b4b0bd35268862e20372c0ed069
Time: 2019-12-22
Author: emerali@users.noreply.github.com
File Name: qucumber/rbm/binary_rbm.py
Class Name: BinaryRBM
Method Name: prob_h_given_v
Project Name: PIQuIL/QuCumber
Commit Name: b09b7eef0a207b4b0bd35268862e20372c0ed069
Time: 2019-12-22
Author: emerali@users.noreply.github.com
File Name: qucumber/rbm/purification_rbm.py
Class Name: PurificationRBM
Method Name: prob_v_given_ha