(self, batch)
| 42 | self.encoder_type = 'CLAP' |
| 43 | |
| 44 | def batch_to_list(self, batch): |
| 45 | ret = [] |
| 46 | for i in range(batch.size(0)): |
| 47 | ret.append(batch[i]) |
| 48 | return ret |
| 49 | |
| 50 | def _get_audio_embed(self, batch): |
| 51 | # batch: [B, samples] |
no test coverage detected