Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EzPC-Custom
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Rasoul Akhavan Mahdavi
EzPC-Custom
Commits
6999cc02
Commit
6999cc02
authored
4 years ago
by
Bhatu
Browse files
Options
Downloads
Patches
Plain Diff
Fix CreateTensor signature for 64 bit case
parent
5420ee02
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Athos/TFEzPCLibrary/Library64_common.ezpc
+5
-5
5 additions, 5 deletions
Athos/TFEzPCLibrary/Library64_common.ezpc
with
5 additions
and
5 deletions
Athos/TFEzPCLibrary/Library64_common.ezpc
+
5
−
5
View file @
6999cc02
...
...
@@ -136,13 +136,13 @@ def void MatAdd5(int32_pl a1, int32_pl a2, int32_pl a3, int32_pl a4, int32_pl a5
};
}
(**************************)
def void CreateTensor1(int32_pl s1, int
32
_pl val, int
32
_pl[s1] arr){
def void CreateTensor1(int32_pl s1, int
64
_pl val, int
64
_pl[s1] arr){
for i1=[0:s1]{
arr[i1] = val;
};
}
def void CreateTensor2(int32_pl s1, int32_pl s2, int
32
_pl val, int
32
_pl[s1][s2] arr){
def void CreateTensor2(int32_pl s1, int32_pl s2, int
64
_pl val, int
64
_pl[s1][s2] arr){
for i1=[0:s1]{
for i2=[0:s2]{
arr[i1][i2] = val;
...
...
@@ -150,7 +150,7 @@ def void CreateTensor2(int32_pl s1, int32_pl s2, int32_pl val, int32_pl[s1][s2]
};
}
def void CreateTensor3(int32_pl s1, int32_pl s2, int32_pl s3, int
32
_pl val, int
32
_pl[s1][s2][s3] arr){
def void CreateTensor3(int32_pl s1, int32_pl s2, int32_pl s3, int
64
_pl val, int
64
_pl[s1][s2][s3] arr){
for i1=[0:s1]{
for i2=[0:s2]{
for i3=[0:s3]{
...
...
@@ -160,7 +160,7 @@ def void CreateTensor3(int32_pl s1, int32_pl s2, int32_pl s3, int32_pl val, int3
};
}
def void CreateTensor4(int32_pl s1, int32_pl s2, int32_pl s3, int32_pl s4, int
32
_pl val, int
32
_pl[s1][s2][s3][s4] arr){
def void CreateTensor4(int32_pl s1, int32_pl s2, int32_pl s3, int32_pl s4, int
64
_pl val, int
64
_pl[s1][s2][s3][s4] arr){
for i1=[0:s1]{
for i2=[0:s2]{
for i3=[0:s3]{
...
...
@@ -172,7 +172,7 @@ def void CreateTensor4(int32_pl s1, int32_pl s2, int32_pl s3, int32_pl s4, int32
};
}
def void CreateTensor5(int32_pl s1, int32_pl s2, int32_pl s3, int32_pl s4, int32_pl s5, int
32
_pl val, int
32
_pl[s1][s2][s3][s4][s5] arr){
def void CreateTensor5(int32_pl s1, int32_pl s2, int32_pl s3, int32_pl s4, int32_pl s5, int
64
_pl val, int
64
_pl[s1][s2][s3][s4][s5] arr){
for i1=[0:s1]{
for i2=[0:s2]{
for i3=[0:s3]{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment