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

Method valid

src/framework/core/module.cpp:104–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104bool TensorValue::valid() const noexcept {
105 return tensor != nullptr && shape.rank > 0;
106}
107
108TensorValue make_tensor(ModuleBuildContext & ctx, ggml_type type, const TensorShape & shape) {
109 if (ctx.ggml == nullptr) {

Callers 15

buildMethod · 0.80
grouped_pos_convFunction · 0.80
grouped_pos_convFunction · 0.80
buildMethod · 0.80
se_res2net_blockFunction · 0.80
reshape_tensorFunction · 0.80
validate_shapeFunction · 0.80
validate_last_dimFunction · 0.80
validate_rank_betweenFunction · 0.80
RnnoiseSequenceGraphMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected