mirror of https://github.com/tensorflow/tfjs.git
[Local benchmark] Fix run button (#7575)
BUG * Fix run button * Update index.html
This commit is contained in:
parent
ef89355b04
commit
237a99104e
|
|
@ -164,10 +164,10 @@ limitations under the License.
|
|||
numProfilesController.setValue(urlState.get('profile'));
|
||||
// Only auto run when URI component exists.
|
||||
if (correctnessButton != null && task == 'correctness') {
|
||||
correctnessButton.domElement.click();
|
||||
correctnessButton.$button.click();
|
||||
}
|
||||
if (runButton != null && task == 'performance') {
|
||||
runButton.domElement.click();
|
||||
runButton.$button.click();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue