MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / set_error

Method set_error

external/ggml/tests/test-backend-ops.cpp:671–678  ·  view source on GitHub ↗

Set error information

Source from the content-addressed store, hash-verified

669
670 // Set error information
671 void set_error(const std::string & component, const std::string & details) {
672 has_error = true;
673 error_component = component;
674 error_details = details;
675 if (status == test_status_t::OK) {
676 status = test_status_t::FAIL;
677 }
678 }
679
680 // Set gradient information
681 void set_gradient_info(int64_t index, const std::string & param_name, float value) {

Callers 2

eval_gradMethod · 0.80
test_backendFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected