Skip to content
This repository was archived by the owner on Jul 1, 2023. It is now read-only.

Track the device name in LazyTensorOperation #262

Merged
merged 4 commits into from
Jun 19, 2019

Conversation

bgogul
Copy link
Contributor

@bgogul bgogul commented Jun 19, 2019

No description provided.

@bgogul bgogul requested a review from marcrasi June 19, 2019 18:20
@@ -162,6 +162,7 @@ class LazyTensorOperation: TensorOperation {
let outputCount: Int
var inputs: [Input]
var attributes: [String: Attribute]
var device: String?
Copy link
Contributor

Choose a reason for hiding this comment

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

Since this is not a device but a device name, how about calling it deviceName instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@bgogul bgogul merged commit 3b2108c into tensorflow:master Jun 19, 2019
@bgogul bgogul deleted the track_devices branch June 19, 2019 23:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants