Model input validation fix.
@@ -174,8 +174,8 @@ class Network(Layer):
'they cannot be the output of '
'a previous non-Input layer. '
'Here, a tensor specified as '
- 'input to "' + self.name +
- '" was not an Input tensor, '
+ 'input to your model '
+ 'was not an Input tensor, '
'it was generated by layer ' +
layer.name + '.\n'
'Note that input tensors are '
@@ -188,7 +188,7 @@ class Network(Layer):
cls_name = self.__class__.__name__
raise ValueError('Output tensors to a ' + cls_name +
' must be '
- 'the output of a TensorFlow `Layer` '
+ 'the output of a Keras `Layer` '
'(thus holding past layer metadata). '
'Found: ' + str(x))
self._base_init(name=name)
