Skip to content

Commit

Permalink
Updates switch statement in ModelDataHandler to use default.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 248798440
  • Loading branch information
tensorflower-gardener authored and copybara-github committed May 17, 2019
1 parent 7ce3935 commit a32254c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ class ModelDataHandler {
}
case .float32:
results = [Float32](unsafeData: outputTensor.data) ?? []
case .bool, .int16, .int32, .int64:
print("Output tensor data type \(outputTensor.dataType) is unsupported.")
default:
print("Output tensor data type \(outputTensor.dataType) is unsupported for this example app.")
return nil
}

Expand Down

0 comments on commit a32254c

Please sign in to comment.