Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Improve TF NAS performance #2565

Closed
wants to merge 7 commits into from
Closed

Conversation

liuzhe-lz
Copy link
Contributor

@liuzhe-lz liuzhe-lz commented Jun 17, 2020

No description provided.

@scarlett2018 scarlett2018 mentioned this pull request Jul 14, 2020
66 tasks
@liuzhe-lz liuzhe-lz marked this pull request as ready for review July 17, 2020 08:26
# We need to fool the graph tracer for reasonable performance.
for mutable in self.mutables:
if isinstance(mutable, LayerChoice) and mutable._built:
mutable._backup_call = mutable.__call__
Copy link
Contributor

Choose a reason for hiding this comment

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

Where is this _backup_call used?


from . import lift_to_graph

class Function:
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we add disclaimer to this code and comments on why this snippet of code should be copied and modified?

@liuzhe-lz liuzhe-lz closed this Aug 12, 2020
@liuzhe-lz liuzhe-lz deleted the tf-graph branch September 17, 2020 23:35
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.

4 participants