Post

Replies

Boosts

Views

Activity

Comment on Inconsistent results when performing inference in CPU vs Metal
I've updated the example code to use Tensorflow 2.7.0, just to keep it up to date. As you say, there is no change in results. As a note in case someone from Apple sees this, the model includes an Attention layer. Here's the model summary: input_1 (InputLayer) → conv1d (Conv1D) → conv1d_1 (Conv1D) → conv1d_2 (Conv1D) → conv1d_transpose (Conv1DTranspose) → conv1d_3 (Conv1D) → conv1d_transpose_1 (Conv1DTranspose) → flatten (Flatten) → conv1d_transpose_2 (Conv1DTranspose) → attention_layer (Attention) → conv1d_transpose_3 (Conv1DTranspose) → flatten_1 (Flatten) → activation (Activation) → dense (Dense)
Topic: Machine Learning & AI SubTopic: General Tags:
Dec ’21