(self, inputs, mask)
| 281 | return shape |
| 282 | |
| 283 | def compute_mask(self, inputs, mask): |
| 284 | # TODO(omalleyt): b/123540974 This function is not really safe to call |
| 285 | # by itself because it will duplicate any updates and losses in graph |
| 286 | # mode by `call`ing the Layers again. |
| 287 | outputs = self.call(inputs, mask=mask) |
| 288 | return outputs._keras_mask |
| 289 | |
| 290 | def predict_proba(self, x, batch_size=32, verbose=0): |
| 291 | """Generates class probability predictions for the input samples. |