Skip to content

Commit

Permalink
Add expermient name, description and time getters to environmentStore (
Browse files Browse the repository at this point in the history
  • Loading branch information
caisq committed Feb 21, 2020
1 parent 6e85733 commit 90162c8
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tensorboard/components/tf_backend/environmentStore.ts
Expand Up @@ -60,6 +60,18 @@ namespace tf_backend {
public getWindowTitle(): string {
return this.environment ? this.environment.windowTitle : '';
}

public getExperimentName(): string {
return this.environment ? this.environment.experimentName : '';
}

public getExperimentDescription(): string {
return this.environment ? this.environment.experimentDescription : '';
}

public getCreationTime(): number | null {
return this.environment ? this.environment.creationTime : null;
}
}

export const environmentStore = new EnvironmentStore();
Expand Down

0 comments on commit 90162c8

Please sign in to comment.