Documentation
¶
Index ¶
- func ToPythonString(a ast.Ast) (string, error)
- type Base
- func (b Base) BwdBenchmarkAlgorithms(...dlperf.BwdBenchmarkArgsOptionFunc) []string
- func (b Base) BwdBenchmarkArgs(opts ...dlperf.BwdBenchmarkArgsOptionFunc) interface{}
- func (b Base) BwdBenchmarkFilter(datatype, algorithm string, opts ...dlperf.BwdBenchmarkArgsOptionFunc) benchmark.Benchmark
- func (b Base) BwdBenchmarkGeneratorArgNames() []string
- func (b Base) BwdBenchmarkName(opts ...dlperf.BwdBenchmarkArgsOptionFunc) string
- func (c Base) DataTypes() []dlperf.DataType
- func (b Base) FwdBenchmarkAlgorithms(...dlperf.FwdBenchmarkArgsOptionFunc) []string
- func (b Base) FwdBenchmarkArgs(...dlperf.FwdBenchmarkArgsOptionFunc) interface{}
- func (b Base) FwdBenchmarkFilter(datatype, algorithm string, opts ...dlperf.FwdBenchmarkArgsOptionFunc) benchmark.Benchmark
- func (b Base) FwdBenchmarkGeneratorArgNames() []string
- func (b Base) FwdBenchmarkName(...dlperf.FwdBenchmarkArgsOptionFunc) string
- func (b Base) InputNames() []string
- func (b Base) InputShapes() []dlperf.Shape
- func (b Base) Inputs() dlperf.Layers
- func (v Base) MarshalEasyJSON(w *jwriter.Writer)
- func (v Base) MarshalJSON() ([]byte, error)
- func (b *Base) Name() string
- func (b Base) Node() *onnx.NodeProto
- func (b Base) OnnxOperatorType() string
- func (b Base) OperatorType() string
- func (b Base) OutputNames() []string
- func (b Base) OutputShapes() []dlperf.Shape
- func (b Base) Outputs() dlperf.Layers
- func (b *Base) SetInputNames(names []string)
- func (b *Base) SetInputShapes(in []dlperf.Shape)
- func (b *Base) SetInputs(in dlperf.Layers)
- func (b *Base) SetName(s string)
- func (b *Base) SetNode(node *onnx.NodeProto)
- func (b *Base) SetOnnxOperatorType(op string)
- func (b *Base) SetOperatorType(s string)
- func (b *Base) SetOutputNames(names []string)
- func (b *Base) SetOutputShapes(out []dlperf.Shape)
- func (b *Base) SetOutputs(out dlperf.Layers)
- func (b *Base) SetWeightTensors(tensors []*onnx.TensorProto)
- func (b *Base) ShortName() string
- func (v *Base) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Base) UnmarshalJSON(data []byte) error
- func (b Base) WeightTensors() []*onnx.TensorProto
- type BaseBenchmarkArgs
- type BaseBenchmarkInputArgs
- type BatchNorm
- func (c BatchNorm) BenchmarkAlgorithms() []string
- func (c BatchNorm) BwdBenchmarkAlgorithms(opts ...dlperf.BwdBenchmarkArgsOptionFunc) []string
- func (c BatchNorm) BwdBenchmarkArgs(iopts ...dlperf.BwdBenchmarkArgsOptionFunc) interface{}
- func (c BatchNorm) BwdBenchmarkFilter(datatype, algorithm string, opts ...dlperf.BwdBenchmarkArgsOptionFunc) benchmark.Benchmark
- func (c BatchNorm) BwdBenchmarkGenerator(opts ...dlperf.BwdBenchmarkArgsOptionFunc) string
- func (c BatchNorm) BwdBenchmarkGeneratorArgNames() []string
- func (c BatchNorm) BwdBenchmarkName(opts ...dlperf.BwdBenchmarkArgsOptionFunc) string
- func (c BatchNorm) BwdCUDNNName() string
- func (c BatchNorm) BwdTiming(system string) string
- func (BatchNorm) Description() string
- func (c BatchNorm) FwdBenchmarkAlgorithms(opts ...dlperf.FwdBenchmarkArgsOptionFunc) []string
- func (c BatchNorm) FwdBenchmarkArgs(iopts ...dlperf.FwdBenchmarkArgsOptionFunc) interface{}
- func (c BatchNorm) FwdBenchmarkFilter(datatype, algorithm string, opts ...dlperf.FwdBenchmarkArgsOptionFunc) benchmark.Benchmark
- func (c BatchNorm) FwdBenchmarkGenerator(opts ...dlperf.FwdBenchmarkArgsOptionFunc) string
- func (c BatchNorm) FwdBenchmarkGeneratorArgNames() []string
- func (c BatchNorm) FwdBenchmarkName(iopts ...dlperf.FwdBenchmarkArgsOptionFunc) string
- func (c BatchNorm) FwdCUDNNName() string
- func (c BatchNorm) FwdTiming(system string) string
- func (c *BatchNorm) InferShape(inputLayers dlperf.Layers)
- func (c BatchNorm) Information() dlperf.LayerInformation
- func (v BatchNorm) MarshalEasyJSON(w *jwriter.Writer)
- func (v BatchNorm) MarshalJSON() ([]byte, error)
- func (BatchNorm) OperatorType() string
- func (c BatchNorm) Shape() dlperf.ShapeInformation
- func (BatchNorm) ShortName() string
- func (v *BatchNorm) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *BatchNorm) UnmarshalJSON(data []byte) error
- type Cast
- func (Cast) Description() string
- func (c *Cast) InferShape(inputLayers dlperf.Layers)
- func (c Cast) Information() dlperf.LayerInformation
- func (v Cast) MarshalEasyJSON(w *jwriter.Writer)
- func (v Cast) MarshalJSON() ([]byte, error)
- func (Cast) OperatorType() string
- func (Cast) ShortName() string
- func (v *Cast) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Cast) UnmarshalJSON(data []byte) error
- type Clip
- func (Clip) Description() string
- func (c *Clip) InferShape(inputLayers dlperf.Layers)
- func (c Clip) Information() dlperf.LayerInformation
- func (v Clip) MarshalEasyJSON(w *jwriter.Writer)
- func (v Clip) MarshalJSON() ([]byte, error)
- func (Clip) OperatorType() string
- func (Clip) ShortName() string
- func (v *Clip) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Clip) UnmarshalJSON(data []byte) error
- type Concat
- func (Concat) Description() string
- func (c *Concat) InferShape(inputLayers dlperf.Layers)
- func (c Concat) Information() dlperf.LayerInformation
- func (v Concat) MarshalEasyJSON(w *jwriter.Writer)
- func (v Concat) MarshalJSON() ([]byte, error)
- func (Concat) OperatorType() string
- func (Concat) ShortName() string
- func (v *Concat) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Concat) UnmarshalJSON(data []byte) error
- type Constant
- func (Constant) Description() string
- func (c *Constant) InferShape(inputLayers dlperf.Layers)
- func (c Constant) Information() dlperf.LayerInformation
- func (v Constant) MarshalEasyJSON(w *jwriter.Writer)
- func (v Constant) MarshalJSON() ([]byte, error)
- func (Constant) OperatorType() string
- func (v *Constant) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Constant) UnmarshalJSON(data []byte) error
- type ConstantInput
- func (ConstantInput) Description() string
- func (c ConstantInput) FwdBenchmarkGenerator() string
- func (c *ConstantInput) InferShape(inputLayers dlperf.Layers)
- func (c ConstantInput) Information() dlperf.LayerInformation
- func (v ConstantInput) MarshalEasyJSON(w *jwriter.Writer)
- func (v ConstantInput) MarshalJSON() ([]byte, error)
- func (ConstantInput) OperatorType() string
- func (v *ConstantInput) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *ConstantInput) UnmarshalJSON(data []byte) error
- type ConstantOfShape
- func (ConstantOfShape) Description() string
- func (c *ConstantOfShape) InferShape(inputLayers dlperf.Layers)
- func (c ConstantOfShape) Information() dlperf.LayerInformation
- func (v ConstantOfShape) MarshalEasyJSON(w *jwriter.Writer)
- func (v ConstantOfShape) MarshalJSON() ([]byte, error)
- func (ConstantOfShape) OperatorType() string
- func (v *ConstantOfShape) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *ConstantOfShape) UnmarshalJSON(data []byte) error
- type Conv
- func (c Conv) BwdBenchmarkAlgorithms(iopts ...dlperf.BwdBenchmarkArgsOptionFunc) []string
- func (c Conv) BwdBenchmarkArgs(iopts ...dlperf.BwdBenchmarkArgsOptionFunc) interface{}
- func (c Conv) BwdBenchmarkFilter(datatype, algorithm string, opts ...dlperf.BwdBenchmarkArgsOptionFunc) benchmark.Benchmark
- func (c Conv) BwdBenchmarkGenerator(iopts ...dlperf.BwdBenchmarkArgsOptionFunc) string
- func (c Conv) BwdBenchmarkGeneratorArgNames() []string
- func (c Conv) BwdBenchmarkName(iopts ...dlperf.BwdBenchmarkArgsOptionFunc) string
- func (c Conv) BwdCUDNNName() string
- func (c Conv) BwdTiming(system string) string
- func (c Conv) DataTypes() []dlperf.DataType
- func (Conv) Description() string
- func (c Conv) Flops(algorithm string) dlperf.FlopsInformation
- func (c Conv) FwdBenchmarkAlgorithms(iopts ...dlperf.FwdBenchmarkArgsOptionFunc) []string
- func (c Conv) FwdBenchmarkArgs(iopts ...dlperf.FwdBenchmarkArgsOptionFunc) interface{}
- func (c Conv) FwdBenchmarkFilter(datatype, algorithm string, opts ...dlperf.FwdBenchmarkArgsOptionFunc) benchmark.Benchmark
- func (c Conv) FwdBenchmarkGenerator(iopts ...dlperf.FwdBenchmarkArgsOptionFunc) string
- func (c Conv) FwdBenchmarkGeneratorArgNames() []string
- func (c Conv) FwdBenchmarkName(iopts ...dlperf.FwdBenchmarkArgsOptionFunc) string
- func (c Conv) FwdCUDNNName() string
- func (c Conv) FwdPythonTensorflow() (string, error)
- func (c Conv) FwdPythonTensorflowAST() (ast.Ast, error)
- func (c Conv) FwdTiming(system string) string
- func (c Conv) HasBias() bool
- func (c *Conv) InferShape(inputLayers dlperf.Layers)
- func (c Conv) Information() dlperf.LayerInformation
- func (v Conv) MarshalEasyJSON(w *jwriter.Writer)
- func (v Conv) MarshalJSON() ([]byte, error)
- func (Conv) OperatorType() string
- func (c Conv) Shape() dlperf.ShapeInformation
- func (v *Conv) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Conv) UnmarshalJSON(data []byte) error
- type Dropout
- func (c Dropout) BwdBenchmarkAlgorithms(...dlperf.BwdBenchmarkArgsOptionFunc) []string
- func (c Dropout) BwdBenchmarkArgs(opts ...dlperf.BwdBenchmarkArgsOptionFunc) interface{}
- func (c Dropout) BwdBenchmarkFilter(datatype, algorithm string, opts ...dlperf.BwdBenchmarkArgsOptionFunc) benchmark.Benchmark
- func (c Dropout) BwdBenchmarkGenerator(opts ...dlperf.BwdBenchmarkArgsOptionFunc) string
- func (c Dropout) BwdBenchmarkGeneratorArgNames() []string
- func (c Dropout) BwdBenchmarkName(opts ...dlperf.BwdBenchmarkArgsOptionFunc) string
- func (c Dropout) BwdCUDNNName() string
- func (c Dropout) BwdTiming(system string) string
- func (Dropout) Description() string
- func (c Dropout) FwdBenchmarkAlgorithms(...dlperf.FwdBenchmarkArgsOptionFunc) []string
- func (c Dropout) FwdBenchmarkArgs(opts ...dlperf.FwdBenchmarkArgsOptionFunc) interface{}
- func (c Dropout) FwdBenchmarkFilter(datatype, algorithm string, opts ...dlperf.FwdBenchmarkArgsOptionFunc) benchmark.Benchmark
- func (c Dropout) FwdBenchmarkGenerator(opts ...dlperf.FwdBenchmarkArgsOptionFunc) string
- func (c Dropout) FwdBenchmarkGeneratorArgNames() []string
- func (c Dropout) FwdBenchmarkName(opts ...dlperf.FwdBenchmarkArgsOptionFunc) string
- func (c Dropout) FwdCUDNNName() string
- func (c Dropout) FwdTiming(system string) string
- func (c *Dropout) InferShape(inputLayers dlperf.Layers)
- func (c Dropout) Information() dlperf.LayerInformation
- func (v Dropout) MarshalEasyJSON(w *jwriter.Writer)
- func (v Dropout) MarshalJSON() ([]byte, error)
- func (Dropout) OperatorType() string
- func (c Dropout) Shape() dlperf.ShapeInformation
- func (v *Dropout) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Dropout) UnmarshalJSON(data []byte) error
- type ElementWise
- func (c ElementWise) BwdBenchmarkAlgorithms(...dlperf.BwdBenchmarkArgsOptionFunc) []string
- func (c ElementWise) BwdBenchmarkArgs(opts ...dlperf.BwdBenchmarkArgsOptionFunc) interface{}
- func (c ElementWise) BwdBenchmarkFilter(datatype, algorithm string, opts ...dlperf.BwdBenchmarkArgsOptionFunc) benchmark.Benchmark
- func (c ElementWise) BwdBenchmarkGenerator(opts ...dlperf.BwdBenchmarkArgsOptionFunc) string
- func (c ElementWise) BwdBenchmarkGeneratorArgNames() []string
- func (c ElementWise) BwdBenchmarkName(opts ...dlperf.BwdBenchmarkArgsOptionFunc) string
- func (c ElementWise) BwdCUDNNName() string
- func (c ElementWise) BwdTiming(system string) string
- func (ElementWise) Description() string
- func (c ElementWise) FwdBenchmarkAlgorithms(...dlperf.FwdBenchmarkArgsOptionFunc) []string
- func (c ElementWise) FwdBenchmarkArgs(opts ...dlperf.FwdBenchmarkArgsOptionFunc) interface{}
- func (c ElementWise) FwdBenchmarkFilter(datatype, algorithm string, opts ...dlperf.FwdBenchmarkArgsOptionFunc) benchmark.Benchmark
- func (c ElementWise) FwdBenchmarkGenerator(opts ...dlperf.FwdBenchmarkArgsOptionFunc) string
- func (c ElementWise) FwdBenchmarkGeneratorArgNames() []string
- func (c ElementWise) FwdBenchmarkName(opts ...dlperf.FwdBenchmarkArgsOptionFunc) string
- func (c ElementWise) FwdCUDNNName() string
- func (c ElementWise) FwdTiming(system string) string
- func (c *ElementWise) InferShape(inputLayers dlperf.Layers)
- func (c ElementWise) Information() dlperf.LayerInformation
- func (v ElementWise) MarshalEasyJSON(w *jwriter.Writer)
- func (v ElementWise) MarshalJSON() ([]byte, error)
- func (ElementWise) OperatorType() string
- func (c ElementWise) Shape() dlperf.ShapeInformation
- func (v *ElementWise) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *ElementWise) UnmarshalJSON(data []byte) error
- type Exp
- func (Exp) Description() string
- func (c *Exp) InferShape(inputLayers dlperf.Layers)
- func (c Exp) Information() dlperf.LayerInformation
- func (v Exp) MarshalEasyJSON(w *jwriter.Writer)
- func (v Exp) MarshalJSON() ([]byte, error)
- func (Exp) OperatorType() string
- func (v *Exp) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Exp) UnmarshalJSON(data []byte) error
- type Flatten
- func (Flatten) Description() string
- func (c *Flatten) InferShape(inputLayers dlperf.Layers)
- func (c Flatten) Information() dlperf.LayerInformation
- func (v Flatten) MarshalEasyJSON(w *jwriter.Writer)
- func (v Flatten) MarshalJSON() ([]byte, error)
- func (Flatten) OperatorType() string
- func (v *Flatten) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Flatten) UnmarshalJSON(data []byte) error
- type Gather
- func (Gather) Description() string
- func (c *Gather) InferShape(inputLayers dlperf.Layers)
- func (c Gather) Information() dlperf.LayerInformation
- func (v Gather) MarshalEasyJSON(w *jwriter.Writer)
- func (v Gather) MarshalJSON() ([]byte, error)
- func (Gather) OperatorType() string
- func (v *Gather) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Gather) UnmarshalJSON(data []byte) error
- type Gemm
- func (c Gemm) BwdBenchmarkAlgorithms(...dlperf.BwdBenchmarkArgsOptionFunc) []string
- func (c Gemm) BwdBenchmarkArgs(opts ...dlperf.BwdBenchmarkArgsOptionFunc) interface{}
- func (c Gemm) BwdBenchmarkFilter(datatype, algorithm string, opts ...dlperf.BwdBenchmarkArgsOptionFunc) benchmark.Benchmark
- func (c Gemm) BwdBenchmarkGenerator(opts ...dlperf.BwdBenchmarkArgsOptionFunc) string
- func (c Gemm) BwdBenchmarkGeneratorArgNames() []string
- func (c Gemm) BwdBenchmarkName(opts ...dlperf.BwdBenchmarkArgsOptionFunc) string
- func (c Gemm) BwdTiming(system string) string
- func (Gemm) Description() string
- func (c Gemm) FwdBenchmarkAlgorithms(...dlperf.FwdBenchmarkArgsOptionFunc) []string
- func (c Gemm) FwdBenchmarkArgs(opts ...dlperf.FwdBenchmarkArgsOptionFunc) interface{}
- func (c Gemm) FwdBenchmarkFilter(datatype, algorithm string, opts ...dlperf.FwdBenchmarkArgsOptionFunc) benchmark.Benchmark
- func (c Gemm) FwdBenchmarkGenerator(opts ...dlperf.FwdBenchmarkArgsOptionFunc) string
- func (c Gemm) FwdBenchmarkGeneratorArgNames() []string
- func (c Gemm) FwdBenchmarkName(opts ...dlperf.FwdBenchmarkArgsOptionFunc) string
- func (c Gemm) FwdTiming(system string) string
- func (c *Gemm) InferShape(inputLayers dlperf.Layers)
- func (c Gemm) Information() dlperf.LayerInformation
- func (v Gemm) MarshalEasyJSON(w *jwriter.Writer)
- func (v Gemm) MarshalJSON() ([]byte, error)
- func (Gemm) OperatorType() string
- func (c Gemm) Shape() dlperf.ShapeInformation
- func (v *Gemm) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Gemm) UnmarshalJSON(data []byte) error
- type GlobalPooling
- func (GlobalPooling) Description() string
- func (c *GlobalPooling) InferShape(inputLayers dlperf.Layers)
- func (c GlobalPooling) Information() dlperf.LayerInformation
- func (v GlobalPooling) MarshalEasyJSON(w *jwriter.Writer)
- func (v GlobalPooling) MarshalJSON() ([]byte, error)
- func (GlobalPooling) OperatorType() string
- func (v *GlobalPooling) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *GlobalPooling) UnmarshalJSON(data []byte) error
- type Identity
- func (Identity) Description() string
- func (c *Identity) InferShape(inputLayers dlperf.Layers)
- func (c Identity) Information() dlperf.LayerInformation
- func (v Identity) MarshalEasyJSON(w *jwriter.Writer)
- func (v Identity) MarshalJSON() ([]byte, error)
- func (Identity) OperatorType() string
- func (v *Identity) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Identity) UnmarshalJSON(data []byte) error
- type Information
- func (info *Information) Flops() dlperf.FlopsInformation
- func (info *Information) InputNames() []string
- func (layer Information) MarshalJSON() ([]byte, error)
- func (info *Information) Memory() dlperf.MemoryInformation
- func (info *Information) Name() string
- func (info *Information) OnnxOperatorType() string
- func (info *Information) OutputNames() []string
- func (info *Information) Shape() dlperf.ShapeInformation
- func (info *Information) UnmarshalJSON(b []byte) error
- func (info *Information) Weigths() []float32
- type Int64Slice
- type LRN
- func (LRN) Description() string
- func (c *LRN) InferShape(inputLayers dlperf.Layers)
- func (c LRN) Information() dlperf.LayerInformation
- func (v LRN) MarshalEasyJSON(w *jwriter.Writer)
- func (v LRN) MarshalJSON() ([]byte, error)
- func (LRN) OperatorType() string
- func (v *LRN) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *LRN) UnmarshalJSON(data []byte) error
- type NonMaxSuppression
- func (NonMaxSuppression) Description() string
- func (c *NonMaxSuppression) InferShape(inputLayers dlperf.Layers)
- func (c NonMaxSuppression) Information() dlperf.LayerInformation
- func (v NonMaxSuppression) MarshalEasyJSON(w *jwriter.Writer)
- func (v NonMaxSuppression) MarshalJSON() ([]byte, error)
- func (NonMaxSuppression) OperatorType() string
- func (v *NonMaxSuppression) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *NonMaxSuppression) UnmarshalJSON(data []byte) error
- type Pooling
- func (c Pooling) BenchmarkAlgorithms() []string
- func (c Pooling) BwdBenchmarkAlgorithms(...dlperf.BwdBenchmarkArgsOptionFunc) []string
- func (c Pooling) BwdBenchmarkArgs(opts ...dlperf.BwdBenchmarkArgsOptionFunc) interface{}
- func (c Pooling) BwdBenchmarkFilter(datatype, algorithm string, opts ...dlperf.BwdBenchmarkArgsOptionFunc) benchmark.Benchmark
- func (c Pooling) BwdBenchmarkGenerator() string
- func (c Pooling) BwdBenchmarkGeneratorArgNames() []string
- func (c Pooling) BwdBenchmarkName(opts ...dlperf.BwdBenchmarkArgsOptionFunc) string
- func (c Pooling) BwdCUDNNName() string
- func (c Pooling) BwdTiming(system string) string
- func (Pooling) Description() string
- func (c Pooling) FwdBenchmarkAlgorithms(...dlperf.FwdBenchmarkArgsOptionFunc) []string
- func (c Pooling) FwdBenchmarkArgs(opts ...dlperf.FwdBenchmarkArgsOptionFunc) interface{}
- func (c Pooling) FwdBenchmarkFilter(datatype, algorithm string, opts ...dlperf.FwdBenchmarkArgsOptionFunc) benchmark.Benchmark
- func (c Pooling) FwdBenchmarkGenerator() string
- func (c Pooling) FwdBenchmarkGeneratorArgNames() []string
- func (c Pooling) FwdBenchmarkName(opts ...dlperf.FwdBenchmarkArgsOptionFunc) string
- func (c Pooling) FwdCUDNNName() string
- func (c Pooling) FwdTiming(system string) string
- func (c *Pooling) InferShape(inputLayers dlperf.Layers)
- func (c Pooling) Information() dlperf.LayerInformation
- func (v Pooling) MarshalEasyJSON(w *jwriter.Writer)
- func (v Pooling) MarshalJSON() ([]byte, error)
- func (Pooling) OperatorType() string
- func (c Pooling) Shape() dlperf.ShapeInformation
- func (v *Pooling) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Pooling) UnmarshalJSON(data []byte) error
- type Reduce
- func (Reduce) Description() string
- func (c *Reduce) InferShape(inputLayers dlperf.Layers)
- func (c Reduce) Information() dlperf.LayerInformation
- func (v Reduce) MarshalEasyJSON(w *jwriter.Writer)
- func (v Reduce) MarshalJSON() ([]byte, error)
- func (Reduce) OperatorType() string
- func (v *Reduce) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Reduce) UnmarshalJSON(data []byte) error
- type Relu
- func (c Relu) BenchmarkAlgorithms() []string
- func (c Relu) BwdBenchmarkAlgorithms(...dlperf.BwdBenchmarkArgsOptionFunc) []string
- func (c Relu) BwdBenchmarkArgs(opts ...dlperf.BwdBenchmarkArgsOptionFunc) interface{}
- func (c Relu) BwdBenchmarkFilter(datatype, algorithm string, opts ...dlperf.BwdBenchmarkArgsOptionFunc) benchmark.Benchmark
- func (c Relu) BwdBenchmarkGenerator() string
- func (c Relu) BwdBenchmarkGeneratorArgNames() []string
- func (c Relu) BwdBenchmarkName(opts ...dlperf.BwdBenchmarkArgsOptionFunc) string
- func (c Relu) BwdCUDNNName() string
- func (c Relu) BwdTiming(system string) string
- func (Relu) Description() string
- func (c Relu) FwdBenchmarkAlgorithms(...dlperf.FwdBenchmarkArgsOptionFunc) []string
- func (c Relu) FwdBenchmarkArgs(opts ...dlperf.FwdBenchmarkArgsOptionFunc) interface{}
- func (c Relu) FwdBenchmarkFilter(datatype, algorithm string, opts ...dlperf.FwdBenchmarkArgsOptionFunc) benchmark.Benchmark
- func (c Relu) FwdBenchmarkGenerator() string
- func (c Relu) FwdBenchmarkGeneratorArgNames() []string
- func (c Relu) FwdBenchmarkName(opts ...dlperf.FwdBenchmarkArgsOptionFunc) string
- func (c Relu) FwdCUDNNName() string
- func (c Relu) FwdTiming(system string) string
- func (c *Relu) InferShape(inputLayers dlperf.Layers)
- func (c Relu) Information() dlperf.LayerInformation
- func (v Relu) MarshalEasyJSON(w *jwriter.Writer)
- func (v Relu) MarshalJSON() ([]byte, error)
- func (Relu) OperatorType() string
- func (c Relu) Shape() dlperf.ShapeInformation
- func (v *Relu) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Relu) UnmarshalJSON(data []byte) error
- type Reshape
- func (Reshape) Description() string
- func (c *Reshape) InferShape(inputLayers dlperf.Layers)
- func (c Reshape) Information() dlperf.LayerInformation
- func (v Reshape) MarshalEasyJSON(w *jwriter.Writer)
- func (v Reshape) MarshalJSON() ([]byte, error)
- func (Reshape) OperatorType() string
- func (v *Reshape) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Reshape) UnmarshalJSON(data []byte) error
- type Scale
- func (Scale) Description() string
- func (c *Scale) InferShape(inputLayers dlperf.Layers)
- func (c Scale) Information() dlperf.LayerInformation
- func (v Scale) MarshalEasyJSON(w *jwriter.Writer)
- func (v Scale) MarshalJSON() ([]byte, error)
- func (Scale) OperatorType() string
- func (v *Scale) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Scale) UnmarshalJSON(data []byte) error
- type Shape
- func (Shape) Description() string
- func (c *Shape) InferShape(inputLayers dlperf.Layers)
- func (c Shape) Information() dlperf.LayerInformation
- func (v Shape) MarshalEasyJSON(w *jwriter.Writer)
- func (v Shape) MarshalJSON() ([]byte, error)
- func (Shape) OperatorType() string
- func (v *Shape) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Shape) UnmarshalJSON(data []byte) error
- type Softmax
- func (c Softmax) BenchmarkAlgorithms() []string
- func (c Softmax) BwdBenchmarkAlgorithms(...dlperf.BwdBenchmarkArgsOptionFunc) []string
- func (c Softmax) BwdBenchmarkArgs(opts ...dlperf.BwdBenchmarkArgsOptionFunc) interface{}
- func (c Softmax) BwdBenchmarkFilter(datatype, algorithm string, opts ...dlperf.BwdBenchmarkArgsOptionFunc) benchmark.Benchmark
- func (c Softmax) BwdBenchmarkGenerator() string
- func (c Softmax) BwdBenchmarkGeneratorArgNames() []string
- func (c Softmax) BwdBenchmarkName(opts ...dlperf.BwdBenchmarkArgsOptionFunc) string
- func (c Softmax) BwdCUDNNName() string
- func (c Softmax) BwdTiming(system string) string
- func (Softmax) Description() string
- func (c Softmax) FwdBenchmarkAlgorithms(...dlperf.FwdBenchmarkArgsOptionFunc) []string
- func (c Softmax) FwdBenchmarkArgs(opts ...dlperf.FwdBenchmarkArgsOptionFunc) interface{}
- func (c Softmax) FwdBenchmarkFilter(datatype, algorithm string, opts ...dlperf.FwdBenchmarkArgsOptionFunc) benchmark.Benchmark
- func (c Softmax) FwdBenchmarkGenerator() string
- func (c Softmax) FwdBenchmarkGeneratorArgNames() []string
- func (c Softmax) FwdBenchmarkName(opts ...dlperf.FwdBenchmarkArgsOptionFunc) string
- func (c Softmax) FwdCUDNNName() string
- func (c Softmax) FwdTiming(system string) string
- func (c *Softmax) InferShape(inputLayers dlperf.Layers)
- func (c Softmax) Information() dlperf.LayerInformation
- func (v Softmax) MarshalEasyJSON(w *jwriter.Writer)
- func (v Softmax) MarshalJSON() ([]byte, error)
- func (Softmax) OperatorType() string
- func (c Softmax) Shape() dlperf.ShapeInformation
- func (v *Softmax) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Softmax) UnmarshalJSON(data []byte) error
- type Squeeze
- func (Squeeze) Description() string
- func (c *Squeeze) InferShape(inputLayers dlperf.Layers)
- func (c Squeeze) Information() dlperf.LayerInformation
- func (v Squeeze) MarshalEasyJSON(w *jwriter.Writer)
- func (v Squeeze) MarshalJSON() ([]byte, error)
- func (Squeeze) OperatorType() string
- func (v *Squeeze) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Squeeze) UnmarshalJSON(data []byte) error
- type TopK
- func (TopK) Description() string
- func (c *TopK) InferShape(inputLayers dlperf.Layers)
- func (c TopK) Information() dlperf.LayerInformation
- func (v TopK) MarshalEasyJSON(w *jwriter.Writer)
- func (v TopK) MarshalJSON() ([]byte, error)
- func (TopK) OperatorType() string
- func (v *TopK) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *TopK) UnmarshalJSON(data []byte) error
- type Transpose
- func (Transpose) Description() string
- func (c *Transpose) InferShape(inputLayers dlperf.Layers)
- func (c Transpose) Information() dlperf.LayerInformation
- func (v Transpose) MarshalEasyJSON(w *jwriter.Writer)
- func (v Transpose) MarshalJSON() ([]byte, error)
- func (Transpose) OperatorType() string
- func (v *Transpose) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Transpose) UnmarshalJSON(data []byte) error
- type Unsqueeze
- func (Unsqueeze) Description() string
- func (c *Unsqueeze) InferShape(inputLayers dlperf.Layers)
- func (c Unsqueeze) Information() dlperf.LayerInformation
- func (v Unsqueeze) MarshalEasyJSON(w *jwriter.Writer)
- func (v Unsqueeze) MarshalJSON() ([]byte, error)
- func (Unsqueeze) OperatorType() string
- func (v *Unsqueeze) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Unsqueeze) UnmarshalJSON(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Base ¶
type Base struct {
Name_ string `json:"name,omitempty"`
OperatorType_ string `json:"operator_type,omitempty"`
OnnxOperatorType_ string `json:"onnx_operator_type,omitempty"`
InputNames_ []string `json:"input_names,omitempty"`
OutputNames_ []string `json:"output_names,omitempty"`
InputShapes_ []dlperf.Shape `json:"input_shapes,omitempty"`
OutputShapes_ []dlperf.Shape `json:"output_shapes,omitempty"`
// contains filtered or unexported fields
}
func (Base) BwdBenchmarkAlgorithms ¶
func (b Base) BwdBenchmarkAlgorithms(...dlperf.BwdBenchmarkArgsOptionFunc) []string
func (Base) BwdBenchmarkArgs ¶
func (b Base) BwdBenchmarkArgs(opts ...dlperf.BwdBenchmarkArgsOptionFunc) interface{}
func (Base) BwdBenchmarkFilter ¶
func (Base) BwdBenchmarkGeneratorArgNames ¶
func (Base) BwdBenchmarkName ¶
func (b Base) BwdBenchmarkName(opts ...dlperf.BwdBenchmarkArgsOptionFunc) string
func (Base) FwdBenchmarkAlgorithms ¶
func (b Base) FwdBenchmarkAlgorithms(...dlperf.FwdBenchmarkArgsOptionFunc) []string
func (Base) FwdBenchmarkArgs ¶
func (b Base) FwdBenchmarkArgs(...dlperf.FwdBenchmarkArgsOptionFunc) interface{}
func (Base) FwdBenchmarkFilter ¶
func (Base) FwdBenchmarkGeneratorArgNames ¶
func (Base) FwdBenchmarkName ¶
func (b Base) FwdBenchmarkName(...dlperf.FwdBenchmarkArgsOptionFunc) string
func (Base) InputNames ¶
func (Base) InputShapes ¶
func (Base) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Base) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (Base) OnnxOperatorType ¶
func (Base) OperatorType ¶
func (Base) OutputNames ¶
func (Base) OutputShapes ¶
func (*Base) SetInputNames ¶
func (*Base) SetInputShapes ¶
func (*Base) SetOnnxOperatorType ¶
func (*Base) SetOperatorType ¶
func (*Base) SetOutputNames ¶
func (*Base) SetOutputShapes ¶
func (*Base) SetOutputs ¶
func (*Base) SetWeightTensors ¶
func (b *Base) SetWeightTensors(tensors []*onnx.TensorProto)
func (*Base) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Base) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
func (Base) WeightTensors ¶
func (b Base) WeightTensors() []*onnx.TensorProto
type BaseBenchmarkArgs ¶
type BaseBenchmarkArgs struct {
ArgNames []string `args:"-" json:"arg_names,omitempty"`
UniqueBenchmarkID uint64 `args:"-" json:"unique_benchmark_id,omitempty"`
BenchmarkName string `args:"-" hash:"name" json:"benchmark_name,omitempty"`
Algorithms []string `args:"-" json:"algorithms,omitempty"`
DataTypes []dlperf.DataType `args:"-" json:"data_types,omitempty"`
IsTraining bool `args:"-" json:"is_training,omitempty"`
BatchSize int64 `args:"-" json:"batch_size,omitempty"`
}
func (BaseBenchmarkArgs) MarshalEasyJSON ¶
func (v BaseBenchmarkArgs) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (BaseBenchmarkArgs) MarshalJSON ¶
func (v BaseBenchmarkArgs) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*BaseBenchmarkArgs) UnmarshalEasyJSON ¶
func (v *BaseBenchmarkArgs) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*BaseBenchmarkArgs) UnmarshalJSON ¶
func (v *BaseBenchmarkArgs) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type BaseBenchmarkInputArgs ¶
type BaseBenchmarkInputArgs struct {
Input0 int64 `args:"input[0]" hash:"input[0]" json:"input_0,omitempty"`
Input1 int64 `args:"input[1]" hash:"input[1]" json:"input_1,omitempty"`
Input2 int64 `args:"input[2]" hash:"input[2]" json:"input_2,omitempty"`
Input3 int64 `args:"input[3]" hash:"input[3]" json:"input_3,omitempty"`
Input4 int64 `args:"input[4]" hash:"input[4]" json:"input_4,omitempty"`
Input5 int64 `args:"input[5]" hash:"input[5]" json:"input_5,omitempty"`
Input6 int64 `args:"input[6]" hash:"input[6]" json:"input_6,omitempty"`
Input7 int64 `args:"input[7]" hash:"input[7]" json:"input_7,omitempty"`
BatchSize int64 `args:"batch_size" hash:"batch_size" json:"batch_size,omitempty"`
}
func (BaseBenchmarkInputArgs) MarshalEasyJSON ¶
func (v BaseBenchmarkInputArgs) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (BaseBenchmarkInputArgs) MarshalJSON ¶
func (v BaseBenchmarkInputArgs) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*BaseBenchmarkInputArgs) UnmarshalEasyJSON ¶
func (v *BaseBenchmarkInputArgs) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*BaseBenchmarkInputArgs) UnmarshalJSON ¶
func (v *BaseBenchmarkInputArgs) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type BatchNorm ¶
type BatchNorm struct {
*Base `json:",inline,flatten,omitempty"`
Spatial int64 `json:"spatial,omitempty"`
}
https://github.com/onnx/onnx/blob/master/docs/Operators.md#BatchNormalization
func (BatchNorm) BenchmarkAlgorithms ¶
func (BatchNorm) BwdBenchmarkAlgorithms ¶
func (c BatchNorm) BwdBenchmarkAlgorithms(opts ...dlperf.BwdBenchmarkArgsOptionFunc) []string
func (BatchNorm) BwdBenchmarkArgs ¶
func (c BatchNorm) BwdBenchmarkArgs(iopts ...dlperf.BwdBenchmarkArgsOptionFunc) interface{}
func (BatchNorm) BwdBenchmarkFilter ¶
func (BatchNorm) BwdBenchmarkGenerator ¶
func (c BatchNorm) BwdBenchmarkGenerator(opts ...dlperf.BwdBenchmarkArgsOptionFunc) string
func (BatchNorm) BwdBenchmarkGeneratorArgNames ¶
func (BatchNorm) BwdBenchmarkName ¶
func (c BatchNorm) BwdBenchmarkName(opts ...dlperf.BwdBenchmarkArgsOptionFunc) string
func (BatchNorm) BwdCUDNNName ¶
func (BatchNorm) Description ¶
func (BatchNorm) FwdBenchmarkAlgorithms ¶
func (c BatchNorm) FwdBenchmarkAlgorithms(opts ...dlperf.FwdBenchmarkArgsOptionFunc) []string
func (BatchNorm) FwdBenchmarkArgs ¶
func (c BatchNorm) FwdBenchmarkArgs(iopts ...dlperf.FwdBenchmarkArgsOptionFunc) interface{}
func (BatchNorm) FwdBenchmarkFilter ¶
func (BatchNorm) FwdBenchmarkGenerator ¶
func (c BatchNorm) FwdBenchmarkGenerator(opts ...dlperf.FwdBenchmarkArgsOptionFunc) string
func (BatchNorm) FwdBenchmarkGeneratorArgNames ¶
func (BatchNorm) FwdBenchmarkName ¶
func (c BatchNorm) FwdBenchmarkName(iopts ...dlperf.FwdBenchmarkArgsOptionFunc) string
func (BatchNorm) FwdCUDNNName ¶
func (*BatchNorm) InferShape ¶
func (BatchNorm) Information ¶
func (c BatchNorm) Information() dlperf.LayerInformation
func (BatchNorm) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (BatchNorm) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (BatchNorm) OperatorType ¶
func (BatchNorm) Shape ¶
func (c BatchNorm) Shape() dlperf.ShapeInformation
func (*BatchNorm) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*BatchNorm) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Cast ¶
type Cast struct {
*Base `json:",inline,flatten,omitempty"`
}
func (Cast) Description ¶
func (*Cast) InferShape ¶
func (Cast) Information ¶
func (c Cast) Information() dlperf.LayerInformation
func (Cast) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Cast) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (Cast) OperatorType ¶
func (*Cast) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Cast) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Clip ¶
type Clip struct {
*Base `json:",inline,flatten,omitempty"`
Min float32 `json:"min,omitempty"`
Max float32 `json:"max,omitempty"`
}
func (Clip) Description ¶
func (*Clip) InferShape ¶
func (Clip) Information ¶
func (c Clip) Information() dlperf.LayerInformation
func (Clip) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Clip) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (Clip) OperatorType ¶
func (*Clip) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Clip) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Concat ¶
func (Concat) Description ¶
func (*Concat) InferShape ¶
func (Concat) Information ¶
func (c Concat) Information() dlperf.LayerInformation
func (Concat) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Concat) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (Concat) OperatorType ¶
func (*Concat) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Concat) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Constant ¶
type Constant struct {
*Base `json:",inline,flatten,omitempty"`
}
func (Constant) Description ¶
func (*Constant) InferShape ¶
func (c *Constant) InferShape(inputLayers dlperf.Layers)
func (Constant) Information ¶
func (c Constant) Information() dlperf.LayerInformation
func (Constant) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Constant) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (Constant) OperatorType ¶
func (*Constant) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Constant) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type ConstantInput ¶
type ConstantInput struct {
*Base `json:",inline,flatten,omitempty"`
}
func (ConstantInput) Description ¶
func (ConstantInput) Description() string
func (ConstantInput) FwdBenchmarkGenerator ¶
func (c ConstantInput) FwdBenchmarkGenerator() string
func (*ConstantInput) InferShape ¶
func (c *ConstantInput) InferShape(inputLayers dlperf.Layers)
func (ConstantInput) Information ¶
func (c ConstantInput) Information() dlperf.LayerInformation
func (ConstantInput) MarshalEasyJSON ¶
func (v ConstantInput) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (ConstantInput) MarshalJSON ¶
func (v ConstantInput) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (ConstantInput) OperatorType ¶
func (ConstantInput) OperatorType() string
func (*ConstantInput) UnmarshalEasyJSON ¶
func (v *ConstantInput) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*ConstantInput) UnmarshalJSON ¶
func (v *ConstantInput) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type ConstantOfShape ¶
type ConstantOfShape struct {
*Base `json:",inline,flatten,omitempty"`
}
func (ConstantOfShape) Description ¶
func (ConstantOfShape) Description() string
func (*ConstantOfShape) InferShape ¶
func (c *ConstantOfShape) InferShape(inputLayers dlperf.Layers)
func (ConstantOfShape) Information ¶
func (c ConstantOfShape) Information() dlperf.LayerInformation
func (ConstantOfShape) MarshalEasyJSON ¶
func (v ConstantOfShape) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (ConstantOfShape) MarshalJSON ¶
func (v ConstantOfShape) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (ConstantOfShape) OperatorType ¶
func (ConstantOfShape) OperatorType() string
func (*ConstantOfShape) UnmarshalEasyJSON ¶
func (v *ConstantOfShape) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*ConstantOfShape) UnmarshalJSON ¶
func (v *ConstantOfShape) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Conv ¶
type Conv struct {
*Base `json:",inline,flatten,omitempty"`
AutoPad string `json:"auto_pad,omitempty"`
Dilations dlperf.Shape `json:"dilation,omitempty"`
Group int64 `json:"group,omitempty"`
KernelShape dlperf.Shape `json:"kernel_shape,omitempty"`
Pads dlperf.Shape `json:"pads,omitempty"`
Strides dlperf.Shape `json:"strides,omitempty"`
}
func (Conv) BwdBenchmarkAlgorithms ¶
func (c Conv) BwdBenchmarkAlgorithms(iopts ...dlperf.BwdBenchmarkArgsOptionFunc) []string
func (Conv) BwdBenchmarkArgs ¶
func (c Conv) BwdBenchmarkArgs(iopts ...dlperf.BwdBenchmarkArgsOptionFunc) interface{}
func (Conv) BwdBenchmarkFilter ¶
func (Conv) BwdBenchmarkGenerator ¶
func (c Conv) BwdBenchmarkGenerator(iopts ...dlperf.BwdBenchmarkArgsOptionFunc) string
func (Conv) BwdBenchmarkGeneratorArgNames ¶
func (Conv) BwdBenchmarkName ¶
func (c Conv) BwdBenchmarkName(iopts ...dlperf.BwdBenchmarkArgsOptionFunc) string
func (Conv) BwdCUDNNName ¶
func (Conv) Description ¶
func (Conv) FwdBenchmarkAlgorithms ¶
func (c Conv) FwdBenchmarkAlgorithms(iopts ...dlperf.FwdBenchmarkArgsOptionFunc) []string
func (Conv) FwdBenchmarkArgs ¶
func (c Conv) FwdBenchmarkArgs(iopts ...dlperf.FwdBenchmarkArgsOptionFunc) interface{}
func (Conv) FwdBenchmarkFilter ¶
func (Conv) FwdBenchmarkGenerator ¶
func (c Conv) FwdBenchmarkGenerator(iopts ...dlperf.FwdBenchmarkArgsOptionFunc) string
func (Conv) FwdBenchmarkGeneratorArgNames ¶
func (Conv) FwdBenchmarkName ¶
func (c Conv) FwdBenchmarkName(iopts ...dlperf.FwdBenchmarkArgsOptionFunc) string
func (Conv) FwdCUDNNName ¶
func (Conv) FwdPythonTensorflow ¶
func (*Conv) InferShape ¶
func (Conv) Information ¶
func (c Conv) Information() dlperf.LayerInformation
func (Conv) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Conv) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (Conv) OperatorType ¶
func (Conv) Shape ¶
func (c Conv) Shape() dlperf.ShapeInformation
func (*Conv) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Conv) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Dropout ¶
type Dropout struct {
*Base `json:",inline,flatten,omitempty"`
}
func (Dropout) BwdBenchmarkAlgorithms ¶
func (c Dropout) BwdBenchmarkAlgorithms(...dlperf.BwdBenchmarkArgsOptionFunc) []string
func (Dropout) BwdBenchmarkArgs ¶
func (c Dropout) BwdBenchmarkArgs(opts ...dlperf.BwdBenchmarkArgsOptionFunc) interface{}
func (Dropout) BwdBenchmarkFilter ¶
func (Dropout) BwdBenchmarkGenerator ¶
func (c Dropout) BwdBenchmarkGenerator(opts ...dlperf.BwdBenchmarkArgsOptionFunc) string
func (Dropout) BwdBenchmarkGeneratorArgNames ¶
func (Dropout) BwdBenchmarkName ¶
func (c Dropout) BwdBenchmarkName(opts ...dlperf.BwdBenchmarkArgsOptionFunc) string
func (Dropout) BwdCUDNNName ¶
func (Dropout) Description ¶
func (Dropout) FwdBenchmarkAlgorithms ¶
func (c Dropout) FwdBenchmarkAlgorithms(...dlperf.FwdBenchmarkArgsOptionFunc) []string
func (Dropout) FwdBenchmarkArgs ¶
func (c Dropout) FwdBenchmarkArgs(opts ...dlperf.FwdBenchmarkArgsOptionFunc) interface{}
func (Dropout) FwdBenchmarkFilter ¶
func (Dropout) FwdBenchmarkGenerator ¶
func (c Dropout) FwdBenchmarkGenerator(opts ...dlperf.FwdBenchmarkArgsOptionFunc) string
func (Dropout) FwdBenchmarkGeneratorArgNames ¶
func (Dropout) FwdBenchmarkName ¶
func (c Dropout) FwdBenchmarkName(opts ...dlperf.FwdBenchmarkArgsOptionFunc) string
func (Dropout) FwdCUDNNName ¶
func (*Dropout) InferShape ¶
func (Dropout) Information ¶
func (c Dropout) Information() dlperf.LayerInformation
func (Dropout) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Dropout) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (Dropout) OperatorType ¶
func (Dropout) Shape ¶
func (c Dropout) Shape() dlperf.ShapeInformation
func (*Dropout) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Dropout) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type ElementWise ¶
type ElementWise struct {
*Base `json:",inline,flatten,omitempty"`
Broadcast int64 `json:"broadcast,omitempty"`
Axis int64 `json:"axis,omitempty"`
}
func (ElementWise) BwdBenchmarkAlgorithms ¶
func (c ElementWise) BwdBenchmarkAlgorithms(...dlperf.BwdBenchmarkArgsOptionFunc) []string
func (ElementWise) BwdBenchmarkArgs ¶
func (c ElementWise) BwdBenchmarkArgs(opts ...dlperf.BwdBenchmarkArgsOptionFunc) interface{}
func (ElementWise) BwdBenchmarkFilter ¶
func (c ElementWise) BwdBenchmarkFilter(datatype, algorithm string, opts ...dlperf.BwdBenchmarkArgsOptionFunc) benchmark.Benchmark
func (ElementWise) BwdBenchmarkGenerator ¶
func (c ElementWise) BwdBenchmarkGenerator(opts ...dlperf.BwdBenchmarkArgsOptionFunc) string
func (ElementWise) BwdBenchmarkGeneratorArgNames ¶
func (c ElementWise) BwdBenchmarkGeneratorArgNames() []string
func (ElementWise) BwdBenchmarkName ¶
func (c ElementWise) BwdBenchmarkName(opts ...dlperf.BwdBenchmarkArgsOptionFunc) string
func (ElementWise) BwdCUDNNName ¶
func (c ElementWise) BwdCUDNNName() string
func (ElementWise) BwdTiming ¶
func (c ElementWise) BwdTiming(system string) string
func (ElementWise) Description ¶
func (ElementWise) Description() string
func (ElementWise) FwdBenchmarkAlgorithms ¶
func (c ElementWise) FwdBenchmarkAlgorithms(...dlperf.FwdBenchmarkArgsOptionFunc) []string
func (ElementWise) FwdBenchmarkArgs ¶
func (c ElementWise) FwdBenchmarkArgs(opts ...dlperf.FwdBenchmarkArgsOptionFunc) interface{}
func (ElementWise) FwdBenchmarkFilter ¶
func (c ElementWise) FwdBenchmarkFilter(datatype, algorithm string, opts ...dlperf.FwdBenchmarkArgsOptionFunc) benchmark.Benchmark
func (ElementWise) FwdBenchmarkGenerator ¶
func (c ElementWise) FwdBenchmarkGenerator(opts ...dlperf.FwdBenchmarkArgsOptionFunc) string
func (ElementWise) FwdBenchmarkGeneratorArgNames ¶
func (c ElementWise) FwdBenchmarkGeneratorArgNames() []string
func (ElementWise) FwdBenchmarkName ¶
func (c ElementWise) FwdBenchmarkName(opts ...dlperf.FwdBenchmarkArgsOptionFunc) string
func (ElementWise) FwdCUDNNName ¶
func (c ElementWise) FwdCUDNNName() string
func (ElementWise) FwdTiming ¶
func (c ElementWise) FwdTiming(system string) string
func (*ElementWise) InferShape ¶
func (c *ElementWise) InferShape(inputLayers dlperf.Layers)
multidirectionalBroadcastShapeInference
func (ElementWise) Information ¶
func (c ElementWise) Information() dlperf.LayerInformation
func (ElementWise) MarshalEasyJSON ¶
func (v ElementWise) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (ElementWise) MarshalJSON ¶
func (v ElementWise) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (ElementWise) OperatorType ¶
func (ElementWise) OperatorType() string
func (ElementWise) Shape ¶
func (c ElementWise) Shape() dlperf.ShapeInformation
func (*ElementWise) UnmarshalEasyJSON ¶
func (v *ElementWise) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*ElementWise) UnmarshalJSON ¶
func (v *ElementWise) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Exp ¶
type Exp struct {
*Base `json:",inline,flatten,omitempty"`
Broadcast int64 `json:"broadcast,omitempty"`
Axis int64 `json:"axis,omitempty"`
}
func (Exp) Description ¶
func (*Exp) InferShape ¶
multidirectionalBroadcastShapeInference
func (Exp) Information ¶
func (c Exp) Information() dlperf.LayerInformation
func (Exp) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Exp) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (Exp) OperatorType ¶
func (*Exp) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Exp) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Flatten ¶
func (Flatten) Description ¶
func (*Flatten) InferShape ¶
func (c *Flatten) InferShape(inputLayers dlperf.Layers)
func (Flatten) Information ¶
func (c Flatten) Information() dlperf.LayerInformation
func (Flatten) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Flatten) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (Flatten) OperatorType ¶
func (*Flatten) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Flatten) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Gather ¶
func (Gather) Description ¶
func (*Gather) InferShape ¶
func (Gather) Information ¶
func (c Gather) Information() dlperf.LayerInformation
func (Gather) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Gather) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (Gather) OperatorType ¶
func (*Gather) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Gather) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Gemm ¶
type Gemm struct {
*Base `json:",inline,flatten,omitempty"`
Alpha float64 `json:"alpha,omitempty"`
Beta float64 `json:"beta,omitempty"`
TransA int64 `json:"transa,omitempty"`
TransB int64 `json:"transb,omitempty"`
}
func (Gemm) BwdBenchmarkAlgorithms ¶
func (c Gemm) BwdBenchmarkAlgorithms(...dlperf.BwdBenchmarkArgsOptionFunc) []string
func (Gemm) BwdBenchmarkArgs ¶
func (c Gemm) BwdBenchmarkArgs(opts ...dlperf.BwdBenchmarkArgsOptionFunc) interface{}
func (Gemm) BwdBenchmarkFilter ¶
func (Gemm) BwdBenchmarkGenerator ¶
func (c Gemm) BwdBenchmarkGenerator(opts ...dlperf.BwdBenchmarkArgsOptionFunc) string
func (Gemm) BwdBenchmarkGeneratorArgNames ¶
func (Gemm) BwdBenchmarkName ¶
func (c Gemm) BwdBenchmarkName(opts ...dlperf.BwdBenchmarkArgsOptionFunc) string
func (Gemm) Description ¶
func (Gemm) FwdBenchmarkAlgorithms ¶
func (c Gemm) FwdBenchmarkAlgorithms(...dlperf.FwdBenchmarkArgsOptionFunc) []string
func (Gemm) FwdBenchmarkArgs ¶
func (c Gemm) FwdBenchmarkArgs(opts ...dlperf.FwdBenchmarkArgsOptionFunc) interface{}
func (Gemm) FwdBenchmarkFilter ¶
func (Gemm) FwdBenchmarkGenerator ¶
func (c Gemm) FwdBenchmarkGenerator(opts ...dlperf.FwdBenchmarkArgsOptionFunc) string
func (Gemm) FwdBenchmarkGeneratorArgNames ¶
func (Gemm) FwdBenchmarkName ¶
func (c Gemm) FwdBenchmarkName(opts ...dlperf.FwdBenchmarkArgsOptionFunc) string
func (*Gemm) InferShape ¶
func (Gemm) Information ¶
func (c Gemm) Information() dlperf.LayerInformation
func (Gemm) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Gemm) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (Gemm) OperatorType ¶
func (Gemm) Shape ¶
func (c Gemm) Shape() dlperf.ShapeInformation
func (*Gemm) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Gemm) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type GlobalPooling ¶
type GlobalPooling struct {
*Base `json:",inline,flatten,omitempty"`
}
func (GlobalPooling) Description ¶
func (GlobalPooling) Description() string
func (*GlobalPooling) InferShape ¶
func (c *GlobalPooling) InferShape(inputLayers dlperf.Layers)
func (GlobalPooling) Information ¶
func (c GlobalPooling) Information() dlperf.LayerInformation
func (GlobalPooling) MarshalEasyJSON ¶
func (v GlobalPooling) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (GlobalPooling) MarshalJSON ¶
func (v GlobalPooling) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (GlobalPooling) OperatorType ¶
func (GlobalPooling) OperatorType() string
func (*GlobalPooling) UnmarshalEasyJSON ¶
func (v *GlobalPooling) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*GlobalPooling) UnmarshalJSON ¶
func (v *GlobalPooling) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Identity ¶
type Identity struct {
*Base `json:",inline,flatten,omitempty"`
}
func (Identity) Description ¶
func (*Identity) InferShape ¶
func (c *Identity) InferShape(inputLayers dlperf.Layers)
func (Identity) Information ¶
func (c Identity) Information() dlperf.LayerInformation
func (Identity) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Identity) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (Identity) OperatorType ¶
func (*Identity) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Identity) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Information ¶
type Information struct {
*Base `json:",inline,flatten,omitempty"`
// contains filtered or unexported fields
}
func (*Information) Flops ¶
func (info *Information) Flops() dlperf.FlopsInformation
func (*Information) InputNames ¶
func (info *Information) InputNames() []string
func (Information) MarshalJSON ¶
func (layer Information) MarshalJSON() ([]byte, error)
func (*Information) Memory ¶
func (info *Information) Memory() dlperf.MemoryInformation
func (*Information) Name ¶
func (info *Information) Name() string
func (*Information) OnnxOperatorType ¶
func (info *Information) OnnxOperatorType() string
func (*Information) OutputNames ¶
func (info *Information) OutputNames() []string
func (*Information) Shape ¶
func (info *Information) Shape() dlperf.ShapeInformation
func (*Information) UnmarshalJSON ¶
func (info *Information) UnmarshalJSON(b []byte) error
func (*Information) Weigths ¶
func (info *Information) Weigths() []float32
type Int64Slice ¶
type Int64Slice []int64
Int64Slice attaches the methods of Interface to []int64, sorting in increasing order.
func (Int64Slice) Len ¶
func (p Int64Slice) Len() int
func (Int64Slice) Less ¶
func (p Int64Slice) Less(i, j int) bool
func (Int64Slice) Reverse ¶
func (p Int64Slice) Reverse() Int64Slice
func (Int64Slice) Swap ¶
func (p Int64Slice) Swap(i, j int)
type LRN ¶
func (LRN) Description ¶
func (*LRN) InferShape ¶
func (c *LRN) InferShape(inputLayers dlperf.Layers)
func (LRN) Information ¶
func (c LRN) Information() dlperf.LayerInformation
func (LRN) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (LRN) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (LRN) OperatorType ¶
func (*LRN) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*LRN) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type NonMaxSuppression ¶
type NonMaxSuppression struct {
*Base `json:",inline,flatten,omitempty"`
}
func (NonMaxSuppression) Description ¶
func (NonMaxSuppression) Description() string
func (*NonMaxSuppression) InferShape ¶
func (c *NonMaxSuppression) InferShape(inputLayers dlperf.Layers)
func (NonMaxSuppression) Information ¶
func (c NonMaxSuppression) Information() dlperf.LayerInformation
func (NonMaxSuppression) MarshalEasyJSON ¶
func (v NonMaxSuppression) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (NonMaxSuppression) MarshalJSON ¶
func (v NonMaxSuppression) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (NonMaxSuppression) OperatorType ¶
func (NonMaxSuppression) OperatorType() string
func (*NonMaxSuppression) UnmarshalEasyJSON ¶
func (v *NonMaxSuppression) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*NonMaxSuppression) UnmarshalJSON ¶
func (v *NonMaxSuppression) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Pooling ¶
type Pooling struct {
*Base `json:",inline,flatten,omitempty"`
KernelShape dlperf.Shape `json:"kernel_shape,omitempty"`
Pads dlperf.Shape `json:"pads,omitempty"`
Strides dlperf.Shape `json:"strides,omitempty"`
}
func (Pooling) BenchmarkAlgorithms ¶
func (Pooling) BwdBenchmarkAlgorithms ¶
func (c Pooling) BwdBenchmarkAlgorithms(...dlperf.BwdBenchmarkArgsOptionFunc) []string
func (Pooling) BwdBenchmarkArgs ¶
func (c Pooling) BwdBenchmarkArgs(opts ...dlperf.BwdBenchmarkArgsOptionFunc) interface{}
func (Pooling) BwdBenchmarkFilter ¶
func (Pooling) BwdBenchmarkGenerator ¶
func (Pooling) BwdBenchmarkGeneratorArgNames ¶
func (Pooling) BwdBenchmarkName ¶
func (c Pooling) BwdBenchmarkName(opts ...dlperf.BwdBenchmarkArgsOptionFunc) string
func (Pooling) BwdCUDNNName ¶
func (Pooling) Description ¶
func (Pooling) FwdBenchmarkAlgorithms ¶
func (c Pooling) FwdBenchmarkAlgorithms(...dlperf.FwdBenchmarkArgsOptionFunc) []string
func (Pooling) FwdBenchmarkArgs ¶
func (c Pooling) FwdBenchmarkArgs(opts ...dlperf.FwdBenchmarkArgsOptionFunc) interface{}
func (Pooling) FwdBenchmarkFilter ¶
func (Pooling) FwdBenchmarkGenerator ¶
func (Pooling) FwdBenchmarkGeneratorArgNames ¶
func (Pooling) FwdBenchmarkName ¶
func (c Pooling) FwdBenchmarkName(opts ...dlperf.FwdBenchmarkArgsOptionFunc) string
func (Pooling) FwdCUDNNName ¶
func (*Pooling) InferShape ¶
func (Pooling) Information ¶
func (c Pooling) Information() dlperf.LayerInformation
func (Pooling) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Pooling) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (Pooling) OperatorType ¶
func (Pooling) Shape ¶
func (c Pooling) Shape() dlperf.ShapeInformation
func (*Pooling) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Pooling) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Reduce ¶
type Reduce struct {
*Base `json:",inline,flatten,omitempty"`
Axes []int64 `json:"axes,omitempty"`
KeepDims bool `json:"keepdims,omitempty"`
}
func (Reduce) Description ¶
func (*Reduce) InferShape ¶
func (Reduce) Information ¶
func (c Reduce) Information() dlperf.LayerInformation
func (Reduce) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Reduce) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (Reduce) OperatorType ¶
func (*Reduce) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Reduce) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Relu ¶
type Relu struct {
*Base `json:",inline,flatten,omitempty"`
}
func (Relu) BenchmarkAlgorithms ¶
func (Relu) BwdBenchmarkAlgorithms ¶
func (c Relu) BwdBenchmarkAlgorithms(...dlperf.BwdBenchmarkArgsOptionFunc) []string
func (Relu) BwdBenchmarkArgs ¶
func (c Relu) BwdBenchmarkArgs(opts ...dlperf.BwdBenchmarkArgsOptionFunc) interface{}
func (Relu) BwdBenchmarkFilter ¶
func (Relu) BwdBenchmarkGenerator ¶
func (Relu) BwdBenchmarkGeneratorArgNames ¶
func (Relu) BwdBenchmarkName ¶
func (c Relu) BwdBenchmarkName(opts ...dlperf.BwdBenchmarkArgsOptionFunc) string
func (Relu) BwdCUDNNName ¶
func (Relu) Description ¶
func (Relu) FwdBenchmarkAlgorithms ¶
func (c Relu) FwdBenchmarkAlgorithms(...dlperf.FwdBenchmarkArgsOptionFunc) []string
func (Relu) FwdBenchmarkArgs ¶
func (c Relu) FwdBenchmarkArgs(opts ...dlperf.FwdBenchmarkArgsOptionFunc) interface{}
func (Relu) FwdBenchmarkFilter ¶
func (Relu) FwdBenchmarkGenerator ¶
func (Relu) FwdBenchmarkGeneratorArgNames ¶
func (Relu) FwdBenchmarkName ¶
func (c Relu) FwdBenchmarkName(opts ...dlperf.FwdBenchmarkArgsOptionFunc) string
func (Relu) FwdCUDNNName ¶
func (*Relu) InferShape ¶
func (Relu) Information ¶
func (c Relu) Information() dlperf.LayerInformation
func (Relu) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Relu) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (Relu) OperatorType ¶
func (Relu) Shape ¶
func (c Relu) Shape() dlperf.ShapeInformation
func (*Relu) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Relu) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Reshape ¶
type Reshape struct {
*Base `json:",inline,flatten,omitempty"`
}
func (Reshape) Description ¶
func (*Reshape) InferShape ¶
func (Reshape) Information ¶
func (c Reshape) Information() dlperf.LayerInformation
func (Reshape) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Reshape) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (Reshape) OperatorType ¶
func (*Reshape) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Reshape) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Scale ¶
type Scale struct {
*Base `json:",inline,flatten,omitempty"`
}
func (Scale) Description ¶
func (*Scale) InferShape ¶
func (c *Scale) InferShape(inputLayers dlperf.Layers)
func (Scale) Information ¶
func (c Scale) Information() dlperf.LayerInformation
func (Scale) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Scale) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (Scale) OperatorType ¶
func (*Scale) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Scale) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Shape ¶
type Shape struct {
*Base `json:",inline,flatten,omitempty"`
}
func (Shape) Description ¶
func (*Shape) InferShape ¶
func (Shape) Information ¶
func (c Shape) Information() dlperf.LayerInformation
func (Shape) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Shape) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (Shape) OperatorType ¶
func (*Shape) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Shape) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Softmax ¶
type Softmax struct {
*Base `json:",inline,flatten,omitempty"`
}
func (Softmax) BenchmarkAlgorithms ¶
func (Softmax) BwdBenchmarkAlgorithms ¶
func (c Softmax) BwdBenchmarkAlgorithms(...dlperf.BwdBenchmarkArgsOptionFunc) []string
func (Softmax) BwdBenchmarkArgs ¶
func (c Softmax) BwdBenchmarkArgs(opts ...dlperf.BwdBenchmarkArgsOptionFunc) interface{}
func (Softmax) BwdBenchmarkFilter ¶
func (Softmax) BwdBenchmarkGenerator ¶
func (Softmax) BwdBenchmarkGeneratorArgNames ¶
func (Softmax) BwdBenchmarkName ¶
func (c Softmax) BwdBenchmarkName(opts ...dlperf.BwdBenchmarkArgsOptionFunc) string
func (Softmax) BwdCUDNNName ¶
func (Softmax) Description ¶
func (Softmax) FwdBenchmarkAlgorithms ¶
func (c Softmax) FwdBenchmarkAlgorithms(...dlperf.FwdBenchmarkArgsOptionFunc) []string
func (Softmax) FwdBenchmarkArgs ¶
func (c Softmax) FwdBenchmarkArgs(opts ...dlperf.FwdBenchmarkArgsOptionFunc) interface{}
func (Softmax) FwdBenchmarkFilter ¶
func (Softmax) FwdBenchmarkGenerator ¶
func (Softmax) FwdBenchmarkGeneratorArgNames ¶
func (Softmax) FwdBenchmarkName ¶
func (c Softmax) FwdBenchmarkName(opts ...dlperf.FwdBenchmarkArgsOptionFunc) string
func (Softmax) FwdCUDNNName ¶
func (*Softmax) InferShape ¶
func (Softmax) Information ¶
func (c Softmax) Information() dlperf.LayerInformation
func (Softmax) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Softmax) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (Softmax) OperatorType ¶
func (Softmax) Shape ¶
func (c Softmax) Shape() dlperf.ShapeInformation
func (*Softmax) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Softmax) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Squeeze ¶
type Squeeze struct {
*Base `json:",inline,flatten,omitempty"`
Axes []int64 `json:"axes,omitempty"`
}
func (Squeeze) Description ¶
func (*Squeeze) InferShape ¶
func (Squeeze) Information ¶
func (c Squeeze) Information() dlperf.LayerInformation
func (Squeeze) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Squeeze) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (Squeeze) OperatorType ¶
func (*Squeeze) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Squeeze) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type TopK ¶
type TopK struct {
*Base `json:",inline,flatten,omitempty"`
K int64 `json:"k,omitempty"`
Axis int64 `json:"axis,omitempty"`
}
func (TopK) Description ¶
func (*TopK) InferShape ¶
func (TopK) Information ¶
func (c TopK) Information() dlperf.LayerInformation
func (TopK) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (TopK) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (TopK) OperatorType ¶
func (*TopK) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*TopK) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Transpose ¶
type Transpose struct {
*Base `json:",inline,flatten,omitempty"`
Permutation []int64 `json:"perm,omitempty"`
}
func (Transpose) Description ¶
func (*Transpose) InferShape ¶
func (c *Transpose) InferShape(inputLayers dlperf.Layers)
func (Transpose) Information ¶
func (c Transpose) Information() dlperf.LayerInformation
func (Transpose) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Transpose) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (Transpose) OperatorType ¶
func (*Transpose) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Transpose) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Unsqueeze ¶
type Unsqueeze struct {
*Base `json:",inline,flatten,omitempty"`
Axes []int64 `json:"axes,omitempty"`
}
func (Unsqueeze) Description ¶
func (*Unsqueeze) InferShape ¶
func (Unsqueeze) Information ¶
func (c Unsqueeze) Information() dlperf.LayerInformation
func (Unsqueeze) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Unsqueeze) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (Unsqueeze) OperatorType ¶
func (*Unsqueeze) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Unsqueeze) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
Source Files
¶
- base.go
- batchnorm.go
- cast.go
- clip.go
- concat.go
- constant.go
- constant_of_shape.go
- constantinput.go
- convolution.go
- convolution_python_tf.go
- dropout.go
- elementwise.go
- exp.go
- flatten.go
- gather.go
- gemm.go
- generate.go
- generated_data.go
- globalpooling.go
- identity.go
- information.go
- init.go
- layer_easyjson.go
- lrn.go
- non_max_suppression.go
- pooling.go
- python_serialize.go
- reduce.go
- relu.go
- reshape.go
- scale.go
- shape.go
- softmax.go
- squeeze.go
- template.go
- topk.go
- transpose.go
- unsqueeze.go
- utils.go