Documentation ¶
Overview ¶
Package im2col defines a benchmark for the im2col operation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Benchmark ¶
type Benchmark struct {
N, C, H, W int
KernelHeight, KernelWidth int
PadX, PadY int
StrideX, StrideY int
DilateX, DilateY int
Input tensor.Tensor
// contains filtered or unexported fields
}
A Benchmark is a benchmark for the im2col operation.
func NewBenchmark ¶
NewBenchmark creates a new Im2Col benchmark. It requires the GPU driver as an argument.
func (*Benchmark) EnableVerification ¶
func (b *Benchmark) EnableVerification()
EnableVerification configures the benchmark to verify the result.
func (*Benchmark) SetUnifiedMemory ¶
func (b *Benchmark) SetUnifiedMemory()
SetUnifiedMemory configures the benchmark to use unified memory.
Click to show internal directories.
Click to hide internal directories.