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

Convert a LazyTensorTrace into a TFFunction. #266

Merged
merged 9 commits into from
Jun 25, 2019

Conversation

bgogul
Copy link
Contributor

@bgogul bgogul commented Jun 19, 2019

This PR introduces the functionality for the following conversions:
LazyTensorTrace -> TFGraph -> TFFunction

@bgogul bgogul requested review from rxwei and dan-zheng June 19, 2019 23:58
@rxwei rxwei requested a review from marcrasi June 20, 2019 05:41
@rxwei
Copy link
Contributor

rxwei commented Jun 20, 2019

@dan-zheng and I are at a conference. Perhaps @marcrasi can help with a readability review?

@bgogul
Copy link
Contributor Author

bgogul commented Jun 20, 2019

@dan-zheng and I are at a conference. Perhaps @marcrasi can help with a readability review?

Sounds good, Richard.

@bgogul bgogul closed this Jun 20, 2019
@bgogul bgogul reopened this Jun 20, 2019
Copy link
Contributor Author

@bgogul bgogul left a comment

Choose a reason for hiding this comment

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

Thanks for the review, @marcrasi and @eaplatanios I have addressed your comments. PTAL.

outputGroupCounts.append(output.outputCount)
outputs += Array((0..<output.outputCount).map {
TF_Output(oper: graphNode, index: Int32($0))
})
Copy link
Contributor

Choose a reason for hiding this comment

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

TF_Output(oper: graphNode, index: Int32($0)) and }) should be indented by 4 spaces less each.

@bgogul bgogul force-pushed the tffunction_builder branch from cf6aa28 to cb6d032 Compare June 25, 2019 17:18
@bgogul bgogul merged commit e29f5b5 into tensorflow:master Jun 25, 2019
@bgogul bgogul deleted the tffunction_builder branch July 23, 2019 21:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants