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

Function read_f32_tensor

src/framework/modules/campplus_encoder.cpp:38–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38std::vector<float> read_f32_tensor(
39 const assets::TensorSource & source,
40 const std::string & name,
41 const std::vector<int64_t> & expected_shape) {
42 return source.require_f32(name, expected_shape);
43}
44
45core::TensorValue contiguous(core::ModuleBuildContext & ctx, const core::TensorValue & input) {
46 return core::ensure_backend_addressable_layout(ctx, input);

Callers 4

load_bn1dFunction · 0.70
load_bn2dFunction · 0.70
load_conv1dFunction · 0.70
load_conv2dFunction · 0.70

Calls 1

require_f32Method · 0.45

Tested by

no test coverage detected