Skip to content
This repository was archived by the owner on Dec 9, 2024. It is now read-only.
This repository was archived by the owner on Dec 9, 2024. It is now read-only.

Imports moved in TF1.10 #256

@don-smith2

Description

@don-smith2

Hi all:
I needed to make two minor fixes to run these benchmarks in a fresh TF1.10 (conda pkg) install:

  1. Update three relocated imports (report to Tensorflow), and
  2. Manually install multi_device_iterator_ops.py (report to Continuum).
    Apologies and please disregard if this is a known issue.
    Thanks,
    Don Smith
    Dell EMC HPC & AI Innovation Lab

preprocessing.py, line 32:
orig: from tensorflow.python.data.experimental.ops import prefetching_ops
new: from tensorflow.contrib.data.python.ops import prefetching_ops

benchmark_cnn.py, line 48: Code moved.
orig: from tensorflow.contrib.compiler import xla
new: from tensorflow.compiler import xla

benchmark_cnn.py, line 53: Code moved.
orig: from tensorflow.python.data.experimental.ops import prefetching_ops
new: from tensorflow.contrib.data.python.ops import prefetching_ops

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions