(self, input_shape)
| 3570 | class BareUpdateLayer(keras.layers.Layer): |
| 3571 | |
| 3572 | def build(self, input_shape): |
| 3573 | self.counter = self.add_weight( |
| 3574 | 'counter', |
| 3575 | dtype='int32', |
| 3576 | shape=(), |
| 3577 | initializer='zeros', |
| 3578 | trainable=False) |
| 3579 | |
| 3580 | def call(self, inputs): |
| 3581 | state_ops.assign_add(self.counter, 1) |
nothing calls this directly
no test coverage detected