norse.benchmark.benchmark module¶
- class norse.benchmark.benchmark.BenchmarkConfig(batch_size: int, device: str, dt: float, label: str, runs: int, profile: bool, sequence_length: int, start: int, stop: int, step: int)[source]¶
Bases:
tuple
Benchmark configurations for the benchmarking setup
Create new instance of BenchmarkConfig(batch_size, device, dt, label, runs, profile, sequence_length, start, stop, step)
- class norse.benchmark.benchmark.BenchmarkData(config: norse.benchmark.benchmark.BenchmarkConfig, durations: numpy.ndarray, parameters: norse.benchmark.benchmark.BenchmarkParameters)[source]¶
Bases:
tuple
Result from a benchmark run N number of times
Create new instance of BenchmarkData(config, durations, parameters)
- config: norse.benchmark.benchmark.BenchmarkConfig¶
Alias for field number 0
- durations: numpy.ndarray¶
Alias for field number 1
- parameters: norse.benchmark.benchmark.BenchmarkParameters¶
Alias for field number 2