INNER CODE UNIT · Python
benchmark
mlcommons/ck · ck/ck/repo/module/ck-platform/ck_032630d041b4fd8a/main.py:480
def benchmark(uid,
cmd):
'''
Benchmark solution.
UID: solution identifier.
'''
from . import solution
r=solution.benchmark({'uid':uid,
'cmd':cmd})
if r['return']>0: process_error(r)
return 0
# RUN SOLUTION #############################################################################
@cli.command()
@click.argument('uid')