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

Function slice_last_dim

src/framework/modules/conditioning_modules.cpp:49–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 return repeat_like(ctx, expanded, like);
48}
49
50core::TensorValue slice_last_dim(
51 core::ModuleBuildContext & ctx,
52 const core::TensorValue & input,
53 int64_t offset,
54 int64_t length) {
55 return SliceModule({static_cast<int>(input.shape.rank - 1), offset, length}).build(ctx, input);
56}
57
58core::TensorValue add_tensors(

Callers 1

buildMethod · 0.70

Calls 2

SliceModuleClass · 0.85
buildMethod · 0.45

Tested by

no test coverage detected