| 93 | }; |
| 94 | |
| 95 | core::TensorValue store_weight( |
| 96 | core::BackendWeightStore & store, |
| 97 | const assets::TensorSource & source, |
| 98 | const Conv1dWeights & tensor, |
| 99 | assets::TensorStorageType storage_type) { |
| 100 | return store.load_tensor_as_shape( |
| 101 | source, |
| 102 | tensor.weight_name, |
| 103 | storage_type, |
| 104 | tensor.weight_source_shape, |
| 105 | core::TensorShape::from_dims({tensor.out_channels, tensor.in_channels / tensor.groups, tensor.kernel})); |
| 106 | } |
| 107 | |
| 108 | BackendConv1dWeights make_backend_conv( |
| 109 | core::BackendWeightStore & store, |
no test coverage detected