xlnstorch.benchmark.Benchmark.make_inputs

xlnstorch.benchmark.Benchmark.make_inputs#

Benchmark.make_inputs()#

Produce input tensors for one iteration of the benchmark.

Returns:

Tuple treated as (*args,). Dict treated as (**kwargs).

Return type:

Union[tuple, dict]

Raises:

ValueError – If the return value is neither tuple nor dict.