diff --git a/tfjs-backend-wasm/WORKSPACE b/tfjs-backend-wasm/WORKSPACE index cac6876dfa5..10d6da61368 100644 --- a/tfjs-backend-wasm/WORKSPACE +++ b/tfjs-backend-wasm/WORKSPACE @@ -8,9 +8,9 @@ emsdk_configure(name = "emsdk") git_repository( name = "xnnpack", - commit = "3ba868c43f19dbe230cf91d87d722191dc23da19", + commit = "15d1f511d37a8dad1ab7a80cfefd7014accf72ac", remote = "https://github.com/google/XNNPACK.git", - shallow_since = "1582304954 -0800", + shallow_since = "1582560423 -0800", ) # The libraries below are transitive dependencies of XNNPACK that we need to diff --git a/tfjs-backend-wasm/src/cc/prelu_impl.cc b/tfjs-backend-wasm/src/cc/prelu_impl.cc index 7dc13e42704..def4f48bc32 100644 --- a/tfjs-backend-wasm/src/cc/prelu_impl.cc +++ b/tfjs-backend-wasm/src/cc/prelu_impl.cc @@ -58,13 +58,11 @@ void prelu(const float* x_buf, const size_t x_size, const size_t weights_id, if (operator_cache_idx == operator_cache.end()) { const size_t channels = weights_info.size; const size_t strides = channels; - const float output_min = -std::numeric_limits::infinity(); - const float output_max = std::numeric_limits::infinity(); const uint32_t flags = 0; xnn_status status = xnn_create_prelu_nc_f32(channels, strides, strides, weights_buf, - output_min, output_max, flags, &prelu_op); + flags, &prelu_op); if (status != xnn_status_success) { util::warn( "XNN status for xnn_create_prelu_nc_f32 is not successful. Got "