forked from Angel-ML/angel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
237 changed files
with
863 additions
and
56,184 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
78 changes: 0 additions & 78 deletions
78
angel-ps/core/src/main/java/com/tencent/angel/model/MatrixLoadContext.java
This file was deleted.
Oops, something went wrong.
114 changes: 0 additions & 114 deletions
114
angel-ps/core/src/main/java/com/tencent/angel/model/MatrixSaveContext.java
This file was deleted.
Oops, something went wrong.
19 changes: 19 additions & 0 deletions
19
angel-ps/core/src/main/java/com/tencent/angel/model/ModelIOUtils.java
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,19 @@ | ||
package com.tencent.angel.model; | ||
|
||
import com.tencent.angel.ps.storage.partition.RowBasedPartition; | ||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
public class ModelIOUtils { | ||
public static List<Integer> filter(RowBasedPartition part, List<Integer> rowIds) { | ||
List<Integer> ret = new ArrayList<>(); | ||
for (int rowId : rowIds) { | ||
if (part.hasRow(rowId)) { | ||
ret.add(rowId); | ||
} | ||
} | ||
|
||
return ret; | ||
} | ||
|
||
} |
91 changes: 0 additions & 91 deletions
91
angel-ps/core/src/main/java/com/tencent/angel/model/ModelLoadContext.java
This file was deleted.
Oops, something went wrong.
57 changes: 0 additions & 57 deletions
57
angel-ps/core/src/main/java/com/tencent/angel/model/ModelLocalLoadResult.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.