(conv, dataflow, dims, fanouts, metapath,
feature_idx, feature_dim, label_idx, label_dim)
| 51 | |
| 52 | |
| 53 | def get_solution_model(conv, dataflow, dims, fanouts, metapath, |
| 54 | feature_idx, feature_dim, label_idx, label_dim): |
| 55 | my_encoder = GNN(conv, dataflow, dims, fanouts, metapath, |
| 56 | feature_idx, feature_dim) |
| 57 | |
| 58 | my_label_fn = tf_euler.solution.GetLabelFromFea(label_idx, label_dim) |
| 59 | my_logit_fn = tf_euler.solution.DenseLogits(label_dim) |
| 60 | |
| 61 | return SuperviseSolution(my_label_fn, |
| 62 | my_encoder, |
| 63 | my_logit_fn) |
| 64 | |
| 65 | def get_unsupervise_solution_model(conv, dataflow, dims, fanouts, metapath, |
| 66 | feature_idx, feature_dim, |
no test coverage detected