-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
34 changed files
with
3,128 additions
and
448 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#include "operator.h" | ||
#include "value.h" | ||
#include <cblas.h> | ||
|
||
LibDLVoiceCodecBegin | ||
|
||
LibDLVoiceCodecEnd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#pragma once | ||
#include "base.h" | ||
|
||
LibDLVoiceCodecBegin | ||
Tensor equal(const Tensor& _A, const Tensor& _B); | ||
Tensor add(const Tensor& _A, const Tensor& _B); | ||
Tensor sub(const Tensor& _A, const Tensor& _B); | ||
Tensor mul(const Tensor& _A, const Tensor& _B); | ||
Tensor div(const Tensor& _A, const Tensor& _B); | ||
void selfAdd(Tensor& _Self, const Tensor& _O); | ||
void selfSub(Tensor& _Self, const Tensor& _O); | ||
void selfMul(Tensor& _Self, const Tensor& _O); | ||
void selfDiv(Tensor& _Self, const Tensor& _O); | ||
Tensor matmul(const Tensor& _A, const Tensor& _B); | ||
Tensor conv1d(const Tensor& _Input, const Tensor& _Weight, const Tensor& _Bias, | ||
int64 _Stride = 1, int64 _Padding = 0, int64 _Dilation = 1, int64 _Groups = 1); | ||
Tensor conv2d(const Tensor& _Input, const Tensor& _Weight, const Tensor& _Bias, | ||
int64 _Stride = 1, int64 _Padding = 0, int64 _Dilation = 1, int64 _Groups = 1); | ||
Tensor conv3d(const Tensor& _Input, const Tensor& _Weight, const Tensor& _Bias, | ||
int64 _Stride = 1, int64 _Padding = 0, int64 _Dilation = 1, int64 _Groups = 1); | ||
Tensor conv_transpose1d(const Tensor& _Input, const Tensor& _Weight, const Tensor& _Bias, | ||
int64 _Stride = 1, int64 _Padding = 0, int64 _OutputPadding = 0, int64 _Dilation = 1, int64 _Groups = 1); | ||
Tensor conv_transpose2d(const Tensor& _Input, const Tensor& _Weight, const Tensor& _Bias, | ||
int64 _Stride = 1, int64 _Padding = 0, int64 _OutputPadding = 0, int64 _Dilation = 1, int64 _Groups = 1); | ||
Tensor conv_transpose3d(const Tensor& _Input, const Tensor& _Weight, const Tensor& _Bias, | ||
int64 _Stride = 1, int64 _Padding = 0, int64 _OutputPadding = 0, int64 _Dilation = 1, int64 _Groups = 1); | ||
LibDLVoiceCodecEnd |
Oops, something went wrong.