Skip to content
This repository was archived by the owner on Jun 26, 2021. It is now read-only.
This repository was archived by the owner on Jun 26, 2021. It is now read-only.

[FeatureRequest] Prepare for tf 2.0 #165

@ORippler

Description

@ORippler

Description
Prepare tf and tf-eager backends for migration to tf 2.0

Proposal

  1. deprecate graph mode and remove it when migrating to tf 2.0, as speed loss can and should be minimize with the eventual @tf.function decorator that does jit compilation + optimizaiton.

  2. Refactor tf-eager backend to utilize functions stored inside tf.compat.v2, that are guaranteed to be compatible with tf 2.0.
    Especially use optimizers, variables, losses and metrics stored there.

Additional context
Design changes for tf 2.0 and their discussion can be read up on in the rfcs

@justusschock you want this to be in the PR #102? Or should I make a new one

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions