38 auto left_details = internal_logic::fetch_seed(handle,
"left", version, options);
39 auto right_details = internal_logic::fetch_seed(handle,
"right", version, options);
42 if (!internal_misc::are_dimensions_equal(left_details.dimensions, right_details.dimensions)) {
43 throw std::runtime_error(
"'left' and 'right' should have the same dimensions");
47 auto method = internal_unary::load_method(handle);
49 if (!internal_logic::is_valid_operation(method)) {
50 throw std::runtime_error(
"unrecognized 'method' (" + method +
")");
54 left_details.type = BOOLEAN;