Function with 2 parameters must have a parameter type with the same number of parameters. Found parameter type float32.
时间: 2024-01-17 21:06:07 浏览: 77
This error message typically occurs when you are trying to call a function with two parameters, but you have only provided one argument, or the argument you have provided is of the wrong data type.
For example, if you have a function that takes two float arguments and you try to call it with only one argument, you will get this error message. Alternatively, if you pass in an argument of the wrong data type, such as a string instead of a float, you will also get this error message.
To fix this error, make sure that you are providing the correct number of arguments to the function and that the arguments are of the correct data type. You can check the function definition to see what data types the parameters should be.
阅读全文