Skip to content
This repository has been archived by the owner on Aug 15, 2019. It is now read-only.

Expose tf.ENV.backend #1165

Merged
merged 1 commit into from
Jul 13, 2018
Merged

Expose tf.ENV.backend #1165

merged 1 commit into from
Jul 13, 2018

Conversation

dsmilkov
Copy link
Contributor

@dsmilkov dsmilkov commented Jul 12, 2018

Expose tf.ENV.backend which points to the current active backend. tf.ENV.backendName on the other hand points to the NAME of the currently active backend.

This is needed so that higher level ops can call directly into the backend (a need that arises in #1121).


This change is Reviewable

@dsmilkov dsmilkov requested a review from nsthorat July 12, 2018 20:31
@dsmilkov dsmilkov changed the title Expose ENV.backend Expose tf.ENV.backend Jul 12, 2018
@dsmilkov dsmilkov requested a review from tafsiri July 12, 2018 20:46
Copy link
Contributor

@nsthorat nsthorat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 2 of 2 files at r1.
Reviewable status: 0 of 1 approvals obtained (waiting on @nsthorat and @tafsiri)

@dsmilkov dsmilkov merged commit f615e68 into master Jul 13, 2018
@dsmilkov dsmilkov deleted the env-backend branch July 13, 2018 01:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants