open source pkg v1
This commit is contained in:
14
pkg/OpenFace/model_training/CCNF/CCRF/lib/CalcbCCRF.m
Normal file
14
pkg/OpenFace/model_training/CCNF/CCRF/lib/CalcbCCRF.m
Normal file
@@ -0,0 +1,14 @@
|
||||
function b = CalcbCCRF( alpha, x)
|
||||
%CALCBPRF Summary of this function goes here
|
||||
% Detailed explanation goes here
|
||||
|
||||
% b = zeros(size(x,1),1);
|
||||
%
|
||||
% for i=1:size(x,1)
|
||||
% b(i) = 2 * x(i,:) * alpha;
|
||||
% end
|
||||
|
||||
% vectorising above code
|
||||
b = 2 * x * alpha;
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user