Perform one update step, given a list of (x, y) tuples for all environments. Admits an optional list of unlabeled minibatches from the test domains, when task is domain_adaptation.
(self, minibatches, unlabeled=None)
| 65 | self.hparams = hparams |
| 66 | |
| 67 | def update(self, minibatches, unlabeled=None): |
| 68 | """ |
| 69 | Perform one update step, given a list of (x, y) tuples for all |
| 70 | environments. |
| 71 | |
| 72 | Admits an optional list of unlabeled minibatches from the test domains, |
| 73 | when task is domain_adaptation. |
| 74 | """ |
| 75 | raise NotImplementedError |
| 76 | |
| 77 | def predict(self, x): |
| 78 | raise NotImplementedError |
nothing calls this directly
no outgoing calls
no test coverage detected