ExecutionStats

data class ExecutionStats(val operationsExecuted: Long = 0, val totalExecutionTime: Long = 0, val averageExecutionTime: Double = if (operationsExecuted > 0) totalExecutionTime.toDouble() / operationsExecuted else 0.0, val tensorsCreated: Long = 0, val peakMemoryUsage: Long = 0)(source)

Execution statistics

Constructors

Link copied to clipboard
constructor(operationsExecuted: Long = 0, totalExecutionTime: Long = 0, averageExecutionTime: Double = if (operationsExecuted > 0) totalExecutionTime.toDouble() / operationsExecuted else 0.0, tensorsCreated: Long = 0, peakMemoryUsage: Long = 0)

Properties

Link copied to clipboard

Average execution time per operation

Link copied to clipboard

Total number of operations executed

Link copied to clipboard

Peak memory usage

Link copied to clipboard

Number of tensors created

Link copied to clipboard

Total execution time in milliseconds