Fix port configuration and update Hamming network logic; enhance index view formulas and add deployment workflow
Build and Push / build (push) Failing after 1m22s
Build and Push / build (push) Failing after 1m22s
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ def recall_hamming(pattern_vectors, input_vec)
|
||||
outputs = hamming_layer(pattern_vectors, input_vec)
|
||||
MAX_MAXNET_ITER.times do
|
||||
next_out = maxnet_step(outputs, eps)
|
||||
return next_out.each_with_index.max_by { |v, _| v }[1] if next_out.count { |v| v > 0 } <= 1
|
||||
return next_out.each_with_index.max_by { |v, _| v }[1] if next_out.count { |v| v > 1e-9 } <= 1
|
||||
outputs = next_out
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user