mirror of
https://github.com/macaodha/batdetect2.git
synced 2025-06-29 22:51:58 +02:00
Move array and tensor util test to corresponding folder
This commit is contained in:
parent
7c89e82579
commit
b82973ca1d
@ -1,6 +1,6 @@
|
|||||||
import numpy as np
|
import numpy as np
|
||||||
|
|
||||||
from batdetect2.preprocess.arrays import adjust_width, extend_width
|
from batdetect2.utils.arrays import adjust_width, extend_width
|
||||||
|
|
||||||
|
|
||||||
def test_extend_width():
|
def test_extend_width():
|
@ -1,7 +1,7 @@
|
|||||||
import numpy as np
|
import numpy as np
|
||||||
import torch
|
import torch
|
||||||
|
|
||||||
from batdetect2.preprocess.tensors import adjust_width, make_width_divisible
|
from batdetect2.utils.tensors import adjust_width, make_width_divisible
|
||||||
|
|
||||||
|
|
||||||
def test_width_is_divisible_after_adjustment():
|
def test_width_is_divisible_after_adjustment():
|
Loading…
Reference in New Issue
Block a user