" y=" + str(y))
// Handle target tensors if any passed.
if not isinstance(y, (list, tuple)):
y = [y]
target_tensors = [v for v in y if K.is_tensor(v)]
if not target_tensors:
target_tensors = None
self.compile(optimizer=self.optimizer,
After Change
" y=" + str(y))
// Handle target tensors if any passed.
y = to_list(y, allow_tuple=True)
target_tensors = [v for v in y if K.is_tensor(v)]
if not target_tensors:
target_tensors = None
self.compile(optimizer=self.optimizer,