Scénario de test & Cas d'usage
Simulation of a valid ONNX binary file loaded into a CAS table.
| 1 | DATA casuser.onnx_iot_valid; |
| 2 | LENGTH model_blob varbinary; |
| 3 | /* Simulating ONNX header signature */ |
| 4 | model_blob = '080012204...'x; |
| 5 | OUTPUT; |
| 6 | RUN; |
| 1 | |
| 2 | PROC CAS; |
| 3 | |
| 4 | TABLE.tableInfo / caslib='casuser' TABLE='onnx_iot_valid'; |
| 5 | |
| 6 | RUN; |
| 7 |
| 1 | |
| 2 | PROC CAS; |
| 3 | |
| 4 | astore.check / onnx={TABLE={caslib='casuser', name='onnx_iot_valid'}}; |
| 5 | |
| 6 | RUN; |
| 7 |
The action completes without errors. The log confirms that the ONNX model is valid and ready for subsequent steps like 'describe' or 'score'.