mirror of https://github.com/davisking/dlib.git
Added missing asserts
This commit is contained in:
parent
504dff2d63
commit
fdfe77d11d
|
@ -849,8 +849,10 @@ namespace dlib
|
|||
int stride_x
|
||||
)
|
||||
{
|
||||
DLIB_ASSERT(is_same_object(output,data) == false,"");
|
||||
DLIB_ASSERT(is_same_object(output,filters) == false,"");
|
||||
DLIB_CASSERT(is_same_object(output,data) == false,"");
|
||||
DLIB_CASSERT(is_same_object(output,filters) == false,"");
|
||||
DLIB_CASSERT(filters.k() == data.k(),"");
|
||||
DLIB_CASSERT(stride_y > 0 && stride_x > 0,"");
|
||||
|
||||
setup(data,filters,stride_y,stride_x);
|
||||
|
||||
|
|
Loading…
Reference in New Issue