| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Revert #18413. Too many internal test failures due to the name scope change caused by this change.
Revert #18192. Cannot use re2::StringPiece internally. Need alternative for set call. Will pull and clean this up in a separate change.
PiperOrigin-RevId: 197991247
|
|
|
|
|
|
| |
s/tfe.enable_eager_execution/tf.enable_eager_execution/
PiperOrigin-RevId: 197500751
|
|
|
|
| |
PiperOrigin-RevId: 196205436
|
|
|
|
| |
PiperOrigin-RevId: 196020032
|
|
|
|
|
|
|
|
|
|
| |
Makes the tf.keras.Layer.__call__ signature identical to tf.layers.Layer.__call__, but makes passing positional arguments other than "inputs" an error in most cases. The only case it's allowed is subclassed Models which do not have an "inputs" argument to their call() method.
This means subclassed Models no longer need to pass all but the first argument as a keyword argument (or do list packing/unpacking) when call() takes multiple Tensor arguments.
Includes errors for cases where whether an argument indicates an input is ambiguous, but otherwise doesn't do much to support non-"inputs" call() signatures for shape inference or deferred Tensors. The definition of an input/non-input is pretty clear, so that cleanup will mostly be tracking down all of the users of "self.call" and getting them to pass inputs as positional arguments if necessary.
PiperOrigin-RevId: 190787899
|
|
|
|
|
|
|
|
| |
checkpointing.
Uses a more recursive/functional tracking style which avoids numbering layers. Maybe this is too magical and we should adapt tf.keras.Sequential first? Let me know what you think.
PiperOrigin-RevId: 190282346
|
|
|
|
|
|
| |
in inference output.
PiperOrigin-RevId: 185939805
|
|
|
|
|
|
| |
* Also de-flake a test.
PiperOrigin-RevId: 185637742
|
|
|
|
| |
PiperOrigin-RevId: 182247687
|
|
|
|
| |
PiperOrigin-RevId: 179960166
|
|
|
|
| |
PiperOrigin-RevId: 177651937
|
|
PiperOrigin-RevId: 177636427
|