mirror of
https://github.com/wassname/Flex-Convolution.git
synced 2026-09-09 11:14:10 +08:00
typo: remove hardcoding of K in _knn_bruteforce
I believe that you meant for this to be self.K not 4, please correct me if I am wrong.
This commit is contained in:
@@ -81,7 +81,7 @@ class KnnBruteforce(Layer):
|
||||
if self.data_format == 'expanded':
|
||||
positions = _remove_dim(positions, 2)
|
||||
|
||||
NN, _, _ = _knn_bruteforce(positions, K=4)
|
||||
NN, _, _ = _knn_bruteforce(positions, K=self.K)
|
||||
NN = tf.transpose(NN, [0, 2, 1])
|
||||
|
||||
if self.data_format == 'expanded':
|
||||
|
||||
Reference in New Issue
Block a user