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

Function linear_data

include/engine/framework/modules/weight_binding.h:69–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67template <typename Store>
68core::TensorValue tensor_data(Store & store, const assets::TensorData & data) {
69 return store.make_tensor(data.shape, data.type, data.bytes.data(), data.bytes.size());
70}
71
72inline std::vector<int64_t> tensor_shape_from_source(
73 const assets::TensorSource & source,
74 const std::string & name) {

Callers 15

decoder_layerFunction · 0.85
rebuildMethod · 0.85
decoder_layerFunction · 0.85
encoder_layerFunction · 0.85
buildMethod · 0.85
FinalGraphMethod · 0.85

Calls 1

tensor_dataFunction · 0.85

Tested by

no test coverage detected