TVMError: Check failed: nargs == args.size() (3 vs. 4) : Expect 3 arguments but get 4

Can anyone please help with this error.

Traceback (most recent call last): File “e:\tvm\tutorials\frontend\from_darknet.py”, line 42, in from tvm import relay File “C:\Users\omara\AppData\Local\Programs\Python\Python36\lib\site-packages\tvm-0.7.dev1-py3.6-win-amd64.egg\tvm\relay_ init .py", line 29, in from . import prelude File “C:\Users\omara\AppData\Local\Programs\Python\Python36\lib\site-packages\tvm-0.7.dev1-py3.6-win-amd64.egg\tvm\relay\prelude.py”, line 24, in from .op.tensor import add, subtract, equal File "C:\Users\omara\AppData\Local\Programs\Python\Python36\lib\site-packages\tvm-0.7.dev1-py3.6-win-amd64.egg\tvm\relay\op init .py", line 23, in from . import strategy File "C:\Users\omara\AppData\Local\Programs\Python\Python36\lib\site-packages\tvm-0.7.dev1-py3.6-win-amd64.egg\tvm\relay\op\strategy init .py", line 22, in from .generic import * File “C:\Users\omara\AppData\Local\Programs\Python\Python36\lib\site-packages\tvm-0.7.dev1-py3.6-win-amd64.egg\tvm\relay\op\strategy\generic.py”, line 22, in import topi File "C:\Users\omara\AppData\Local\Programs\Python\Python36\lib\site-packages\topi-0.7.dev1-py3.6.egg\topi init .py", line 47, in from . import cuda File "C:\Users\omara\AppData\Local\Programs\Python\Python36\lib\site-packages\topi-0.7.dev1-py3.6.egg\topi\cuda init _.py”, line 26, in from .conv2d_int8 import * File “C:\Users\omara\AppData\Local\Programs\Python\Python36\lib\site-packages\topi-0.7.dev1-py3.6.egg\topi\cuda\conv2d_int8.py”, line 168, in _dp4a = dp4a(‘shared’, ‘shared’, ‘local’) File “C:\Users\omara\AppData\Local\Programs\Python\Python36\lib\site-packages\topi-0.7.dev1-py3.6.egg\topi\cuda\tensor_intrin.py”, line 80, in dp4a z.op, _intrin_func, binds=binds, default_buffer_params=default_buffer_params) File “C:\Users\omara\AppData\Local\Programs\Python\Python36\lib\site-packages\tvm-0.7.dev1-py3.6-win-amd64.egg\tvm\te\tensor_intrin.py”, line 139, in decl_tensor_intrin body = fcompute(binds_list[:len(inputs)], binds_list[len(inputs):]) File “C:\Users\omara\AppData\Local\Programs\Python\Python36\lib\site-packages\topi-0.7.dev1-py3.6.egg\topi\cuda\tensor_intrin.py”, line 70, in _intrin_func return _instr(0), _instr(1), _instr(2) # body, reset, update File “C:\Users\omara\AppData\Local\Programs\Python\Python36\lib\site-packages\topi-0.7.dev1-py3.6.egg\topi\cuda\tensor_intrin.py”, line 65, in _instr new_z = tvm.tir.call_pure_extern(‘int32’, ‘__dp4a’, vec_x, vec_y, prev_z) File “C:\Users\omara\AppData\Local\Programs\Python\Python36\lib\site-packages\tvm-0.7.dev1-py3.6-win-amd64.egg\tvm\tir\op.py”, line 148, in call_pure_extern dtype, Op.get(“tir.call_extern”), convert((StringImm(func_name),) + args), Call.PureExtern) File “C:\Users\omara\AppData\Local\Programs\Python\Python36\lib\site-packages\tvm-0.7.dev1-py3.6-win-amd64.egg\tvm\tir\expr.py”, line 995, in init _ffi_api.Call, dtype, op, args, call_type) File “C:\Users\omara\AppData\Local\Programs\Python\Python36\lib\site-packages\tvm-0.7.dev1-py3.6-win-amd64.egg\tvm_ffi_ctypes\object.py”, line 126, in init_handle_by_constructor handle = init_by_constructor (fconstructor, args) File “C:\Users\omara\AppData\Local\Programs\Python\Python36\lib\site-packages\tvm-0.7.dev1-py3.6-win-amd64.egg\tvm_ffi_ctypes\packed_func.py”, line 240, in init_handle_by_constructor raise get_last_ffi_error() tvm._ffi.base.TVMError: Traceback (most recent call last): File “E:\tvm\include\tvm/runtime/packed_func.h”, line 1248 TVMError: Check failed: nargs == args.size() (3 vs. 4) : Expect 3 arguments but get 4

This could be given by wrong input shape, check with input data shape

This error arises when I run the from_darknet.py or any other sample provided with the tvm lib.