Skip to content

Unused variable LATEST_VERSION in TensorFlow estimator #754

@mmeidl

Description

@mmeidl

This issue was reported by AWS customer Nishank Singla from GE Healthcare.

This is a small correction for some default variables used in the TensorFlow Estimator class.

It looks like in the TF 1.12 upgrade, someone meant to replace TF_VERSION with LATEST_VERSION:

TF_VERSION is still set to 1.11:

And LATEST_VERSION is not actually used as the default in the constructor:

if framework_version is None:
LOGGER.warning(fw.empty_framework_version_warning(TF_VERSION, TF_VERSION))
self.framework_version = framework_version or TF_VERSION

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions