Skip to content

Commit

Permalink
Remove build method from pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
fchollet committed Sep 19, 2024
1 parent 7628a18 commit d3b032c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions keras/src/layers/preprocessing/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,6 @@ def __init__(self, layers, name=None):
def layers(self):
return self._pipeline_layers

def build(self, input_shape):
for layer in self._pipeline_layers:
layer.build(input_shape)
input_shape = layer.compute_output_shape(input_shape)
self.built = True

def call(self, inputs, training=True, mask=None):
for layer in self._pipeline_layers:
kwargs = {}
Expand Down

0 comments on commit d3b032c

Please sign in to comment.