alibi-detect icon indicating copy to clipboard operation
alibi-detect copied to clipboard

Support kernels defined using keras functional API

Open ojcobb opened this issue 2 years ago • 1 comments

Currently we call kernels as kernel(x, y) however models defined using keras's functional API require multiple inputs to be passed as a list. In these cases we instead need to call kernel([x, y]).

Ideally we would facilitate kernels that operate in either manner.

ojcobb avatar Aug 12 '21 08:08 ojcobb

Particularly important given we require models defined using subclassing API to have the annoying get_config() and from_config() methods defined.

ojcobb avatar Aug 12 '21 09:08 ojcobb