MCPcopy
hub / github.com/FedML-AI/FedML / FedEdgeApi

Interface FedEdgeApi

android/fedmlsdk/src/main/java/ai/fedml/edge/FedEdgeApi.java:10–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8import androidx.annotation.NonNull;
9
10public interface FedEdgeApi {
11 /**
12 * Init
13 */
14 void init(Context appContext);
15
16 void bindingAccount(@NonNull String accountId, @NonNull String deviceId, @NonNull OnBindingListener listener);
17
18 void unboundAccount(@NonNull final String edgeId, @NonNull final OnUnboundListener listener);
19
20 /**
21 * Edge ID
22 */
23 String getBoundEdgeId();
24
25 void bindEdge(String bindId);
26
27 void getUserInfo(@NonNull final OnUserInfoListener listener);
28
29 /**
30 * Training
31 */
32 void train();
33
34 void getTrainingStatus();
35
36 void getEpochAndLoss();
37
38 void setTrainingStatusListener(OnTrainingStatusListener listener);
39
40 void setEpochLossListener(OnTrainProgressListener listener);
41
42 String getHyperParameters();
43
44 /**
45 * Data
46 */
47 void setPrivatePath(final String path);
48
49 String getPrivatePath();
50
51 /**
52 * unInit
53 */
54 void unInit();
55}

Implementers 1

FedEdgeImplandroid/fedmlsdk/src/main/java/ai/fedm

Calls

no outgoing calls

Tested by

no test coverage detected