-
Notifications
You must be signed in to change notification settings - Fork 140
Description
Dear developers,
I observed some TensorFlow api usage in you code that might lead to serious compatibility problems(like crash).
In api tf.cond
, the parameter true_fn
and false_fn
appeared in tf v1.2.0-rc0 and not existed in earlier version. The corresponding parameter is fn1
and fn2
in older version. If you use the new version parameter name to pass the value, it will crash in earlier version.
Same problem happens to api tf.concat
, parameter axis
appears in tf v1.0.0. The older parameter is called concat_dim
in earlier version api. Crash also happens for earlier version.
These problems can be fixed in pr #66
I judged the version and used parameter name to make it compatible on more versions.
Look forward to your reply!
@yangJirui @yangxue0827
Thanks!