Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
CheckScalar*() are useful functions, but expressing all permutations of input shape in the public signature is overkill. We should consolidate these from
// Scalar - Scalar void CheckScalarBinary(std::string func_name, std::shared_ptr<Scalar> left_input, std::shared_ptr<Scalar> right_input, std::shared_ptr<Scalar> expected, const FunctionOptions* options = nullptr); // Array - Array void CheckScalarBinary(std::string func_name, std::shared_ptr<Array> left_input, std::shared_ptr<Array> right_input, std::shared_ptr<Array> expected, const FunctionOptions* options = nullptr); // Array-Scalar // Scalar-Array // ...
to
void CheckScalarBinary(std::string func_name, Datum left_input, Datum right_input, Datum expected, const FunctionOptions* options = nullptr);
Attachments
Issue Links
- links to