Skip to content

Commit

Permalink
Fixing black formatting issues. (#1769)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwbuckley authored Feb 20, 2024
1 parent ef68c0f commit 517265d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/vision/xray_classification_with_tpus.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
Description: Medical image classification on TPU.
Accelerator: TPU
"""

"""
## Introduction + Set-up
Expand Down Expand Up @@ -227,11 +228,13 @@ def show_batch(image_batch, label_batch):
"""

import os

os.environ["KERAS_BACKEND"] = "tensorflow"

import keras
from keras import layers


def conv_block(filters, inputs):
x = layers.SeparableConv2D(filters, 3, activation="relu", padding="same")(inputs)
x = layers.SeparableConv2D(filters, 3, activation="relu", padding="same")(x)
Expand Down

0 comments on commit 517265d

Please sign in to comment.