in realbook/layers/compatibility.py [0:0]
def call(self, _input: Union[tf.Tensor, List[tf.Tensor]]) -> Union[tf.Tensor, List[tf.Tensor]]:
if isinstance(_input, dict):
raise NotImplementedError("Input to TensorWrapperLayer must be a single tensor or list of tensors.")
elif isinstance(_input, list):
return self.func(*_input)
else:
return self.func(_input)