One additional note regarding the differences between ?: and if(), as I mentioned in that thread, is that other control statements cannot be embedded in the ?: operator. It is an operator, and thus must follow all the restrictions placed on parameters to operators. ...
truthy, ternary, elvis and conditional assignment and conditional access operators for nim nimtruthyternaryelvis UpdatedSep 27, 2023 Nim SBTCVM is a virtual machine implementation of a balanced ternary (base 3) computer. Features several compiled languages for ternary software development. ...
should not be controversial (reducing the changes to ggml_mul, handling missing TQ1_0 and TQ2_0 cases in switch statements for some ggml operators with a dequantization-based variant (ggml_add, ggml_add1, etc.), and adding some comments in tests/test-backend-ops.cpp about TQ1_0 and ...
* ggml : handle TQ1_0 and TQ2_0 in dequantization-based operators * test-backend-ops : add TQ1_0 and TQ2_0 comments for later Not yet adding uncommented, because some backends like SYCL and Metal do not properly handle unknown types in supports_op for GGML_OP_MUL_MAT. (and Metal ...