Skip to content

Commit

Permalink
back to tf.tensorshape
Browse files Browse the repository at this point in the history
  • Loading branch information
innat committed Mar 21, 2024
1 parent 7e61d14 commit 86020bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions videoswin/blocks/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,14 @@ def compute_output_shape(self, input_shape):
if self.downsample is not None:
# TODO: remove tensorflow dependencies.
# GitHub issue: https://github.com/keras-team/keras/issues/19259 # noqa: E501
output_shape = keras.KerasTensor(
output_shape = tf.TensorShape(
[
input_shape[0],
self.depth_pad,
self.height_pad // 2,
self.width_pad // 2,
2 * self.input_dim,
], dtype=self.compute_dtype
]
)
return output_shape

Expand Down

0 comments on commit 86020bd

Please sign in to comment.