mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-07 00:20:20 +01:00
fix error format
This commit is contained in:
parent
b7acb6abe0
commit
26301bd558
|
|
@ -1445,7 +1445,8 @@ def fully_connected(inputs,
|
|||
ValueError: If x has rank less than 2 or if its last dimension is not set.
|
||||
"""
|
||||
if not isinstance(num_outputs, six.integer_types):
|
||||
raise ValueError('num_outputs should be int or long, got %s.', num_outputs)
|
||||
raise ValueError(
|
||||
'num_outputs should be int or long, got %s.' % (num_outputs,))
|
||||
|
||||
layer_variable_getter = _build_variable_getter({'bias': 'biases',
|
||||
'kernel': 'weights'})
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user