Documentation ¶
Index ¶
- Constants
- Variables
- func GetMeanLogValue(info SummaryGPUKernelInformation, name string, trimmedMeanFraction float64) float64
- func TempFile(dir, pattern string) string
- func TrimmedMean(data []float64, frac float64) float64
- func TrimmedMeanInt64Slice(data []int64, frac float64) float64
- type AllocationDescription
- type AllocationRecords
- type BarPlotter
- type BoxPlotter
- type Dim
- type Divergence
- type DivergenceCollection
- type Evaluation
- func (e Evaluation) EventFlowSummary(perfCol *PerformanceCollection) (*SummaryEventFlow, error)
- func (v Evaluation) MarshalEasyJSON(w *jwriter.Writer)
- func (v Evaluation) MarshalJSON() ([]byte, error)
- func (e Evaluation) PredictAccuracyInformationSummary(accCol *ModelAccuracyCollection) (*SummaryModelAccuracyInformation, error)
- func (Evaluation) TableName() string
- func (v *Evaluation) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Evaluation) UnmarshalJSON(data []byte) error
- type EvaluationCollection
- func (m *EvaluationCollection) Close() error
- func (c *EvaluationCollection) Find(as ...interface{}) ([]Evaluation, error)
- func (c *EvaluationCollection) FindByModel(model dlframework.ModelManifest) ([]Evaluation, error)
- func (c *EvaluationCollection) FindByUserID(UserID string) ([]Evaluation, error)
- type Evaluations
- func (es Evaluations) EventFlowSummary(perfCol *PerformanceCollection) (SummaryEventFlows, error)
- func (es Evaluations) GetSpansFromPerformanceCollection(perfCol *PerformanceCollection) (Spans, error)
- func (es Evaluations) GroupByBatchSize() map[int]Evaluations
- func (es Evaluations) PredictAccuracyInformationSummary(accCol *ModelAccuracyCollection) (SummaryModelAccuracyInformations, error)
- func (es Evaluations) SummaryGPUKernelLayerAggreInformations(perfCol *PerformanceCollection) (SummaryGPUKernelLayerAggreInformations, error)
- func (es Evaluations) SummaryGPUKernelLayerInformations(perfCol *PerformanceCollection) (SummaryGPUKernelLayerInformations, error)
- func (es Evaluations) SummaryGPUKernelModelAggreInformations(perfCol *PerformanceCollection) (SummaryGPUKernelModelAggreInformations, error)
- func (es Evaluations) SummaryGPUKernelNameAggreInformations(perfCol *PerformanceCollection) (SummaryGPUKernelNameAggreInformations, error)
- func (es Evaluations) SummaryLayerAggreInformations(perfCol *PerformanceCollection) (SummaryLayerAggreInformations, error)
- func (es Evaluations) SummaryLayerInformations(perfCol *PerformanceCollection) (SummaryLayerInformations, error)
- func (es Evaluations) SummaryModelInformations(perfCol *PerformanceCollection) (SummaryModelInformations, error)
- type GPUKernelLayerAggreInformationSelector
- type GPUMemInformation
- type InputPrediction
- type InputPredictionCollection
- type LayerAggregatedInformationSelector
- type LayerInformationSelector
- type MemoryInformation
- type Metadata
- type ModelAccuracies
- type ModelAccuracy
- type ModelAccuracyCollection
- type Performance
- func (p *Performance) CompressTrace() error
- func (p Performance) EventFlowSummary(e Evaluation) (*SummaryEventFlow, error)
- func (v Performance) MarshalEasyJSON(w *jwriter.Writer)
- func (v Performance) MarshalJSON() ([]byte, error)
- func (p Performance) MemoryInformationSummary(e Evaluation) (*SummaryMemoryInformation, error)
- func (p Performance) Spans() (Spans, error)
- func (Performance) TableName() string
- func (p *Performance) UncompressTrace() error
- func (v *Performance) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Performance) UnmarshalJSON(data []byte) error
- type PerformanceCollection
- type Performances
- type PiePlotter
- type PlotNamed
- type RuntimeMemoryInformation
- type Shape
- type Spans
- type SummaryBase
- func (s SummaryBase) FrameworkModel() string
- func (SummaryBase) Header(opts ...writer.Option) []string
- func (v SummaryBase) MarshalEasyJSON(w *jwriter.Writer)
- func (v SummaryBase) MarshalJSON() ([]byte, error)
- func (s SummaryBase) Row(opts ...writer.Option) []string
- func (v *SummaryBase) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SummaryBase) UnmarshalJSON(data []byte) error
- type SummaryEventFlow
- func (SummaryEventFlow) Header(opts ...writer.Option) []string
- func (v SummaryEventFlow) MarshalEasyJSON(w *jwriter.Writer)
- func (v SummaryEventFlow) MarshalJSON() ([]byte, error)
- func (s SummaryEventFlow) Row(opts ...writer.Option) []string
- func (v *SummaryEventFlow) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SummaryEventFlow) UnmarshalJSON(data []byte) error
- type SummaryEventFlows
- type SummaryGPUKernelInformation
- func (info SummaryGPUKernelInformation) Header(opts ...writer.Option) []string
- func (v SummaryGPUKernelInformation) MarshalEasyJSON(w *jwriter.Writer)
- func (v SummaryGPUKernelInformation) MarshalJSON() ([]byte, error)
- func (info SummaryGPUKernelInformation) Row(opts ...writer.Option) []string
- func (v *SummaryGPUKernelInformation) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SummaryGPUKernelInformation) UnmarshalJSON(data []byte) error
- type SummaryGPUKernelInformations
- type SummaryGPUKernelLayerAchievedOccupancyInformations
- func (o SummaryGPUKernelLayerAchievedOccupancyInformations) BarPlot() *charts.Bar
- func (o SummaryGPUKernelLayerAchievedOccupancyInformations) BarPlotAdd(bar0 *charts.Bar) *charts.Bar
- func (o SummaryGPUKernelLayerAchievedOccupancyInformations) OpenBarPlot() error
- func (o SummaryGPUKernelLayerAchievedOccupancyInformations) PlotName() string
- func (o SummaryGPUKernelLayerAchievedOccupancyInformations) WriteBarPlot(path string) error
- type SummaryGPUKernelLayerAggreInformation
- func (SummaryGPUKernelLayerAggreInformation) Header(iopts ...writer.Option) []string
- func (v SummaryGPUKernelLayerAggreInformation) MarshalEasyJSON(w *jwriter.Writer)
- func (v SummaryGPUKernelLayerAggreInformation) MarshalJSON() ([]byte, error)
- func (s SummaryGPUKernelLayerAggreInformation) Row(iopts ...writer.Option) []string
- func (v *SummaryGPUKernelLayerAggreInformation) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SummaryGPUKernelLayerAggreInformation) UnmarshalJSON(data []byte) error
- type SummaryGPUKernelLayerAggreInformations
- func (p SummaryGPUKernelLayerAggreInformations) Len() int
- func (p SummaryGPUKernelLayerAggreInformations) Less(i, j int) bool
- func (v SummaryGPUKernelLayerAggreInformations) MarshalEasyJSON(w *jwriter.Writer)
- func (v SummaryGPUKernelLayerAggreInformations) MarshalJSON() ([]byte, error)
- func (p SummaryGPUKernelLayerAggreInformations) Swap(i, j int)
- func (v *SummaryGPUKernelLayerAggreInformations) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SummaryGPUKernelLayerAggreInformations) UnmarshalJSON(data []byte) error
- type SummaryGPUKernelLayerDramReadInformations
- func (o SummaryGPUKernelLayerDramReadInformations) BarPlot() *charts.Bar
- func (o SummaryGPUKernelLayerDramReadInformations) BarPlotAdd(bar0 *charts.Bar) *charts.Bar
- func (o SummaryGPUKernelLayerDramReadInformations) OpenBarPlot() error
- func (o SummaryGPUKernelLayerDramReadInformations) PlotName() string
- func (o SummaryGPUKernelLayerDramReadInformations) WriteBarPlot(path string) error
- type SummaryGPUKernelLayerDramWriteInformations
- func (o SummaryGPUKernelLayerDramWriteInformations) BarPlot() *charts.Bar
- func (o SummaryGPUKernelLayerDramWriteInformations) BarPlotAdd(bar0 *charts.Bar) *charts.Bar
- func (o SummaryGPUKernelLayerDramWriteInformations) OpenBarPlot() error
- func (o SummaryGPUKernelLayerDramWriteInformations) PlotName() string
- func (o SummaryGPUKernelLayerDramWriteInformations) WriteBarPlot(path string) error
- type SummaryGPUKernelLayerFlopsInformations
- func (o SummaryGPUKernelLayerFlopsInformations) BarPlot() *charts.Bar
- func (o SummaryGPUKernelLayerFlopsInformations) BarPlotAdd(bar0 *charts.Bar) *charts.Bar
- func (o SummaryGPUKernelLayerFlopsInformations) OpenBarPlot() error
- func (o SummaryGPUKernelLayerFlopsInformations) PlotName() string
- func (o SummaryGPUKernelLayerFlopsInformations) WriteBarPlot(path string) error
- type SummaryGPUKernelLayerGPUCPUInformations
- func (o SummaryGPUKernelLayerGPUCPUInformations) BarPlot() *charts.Bar
- func (o SummaryGPUKernelLayerGPUCPUInformations) BarPlotAdd(bar *charts.Bar) *charts.Bar
- func (o SummaryGPUKernelLayerGPUCPUInformations) OpenBarPlot() error
- func (o SummaryGPUKernelLayerGPUCPUInformations) PlotName() string
- func (o SummaryGPUKernelLayerGPUCPUInformations) WriteBarPlot(path string) error
- type SummaryGPUKernelLayerInformation
- func (p SummaryGPUKernelLayerInformation) Len() int
- func (p SummaryGPUKernelLayerInformation) Less(i, j int) bool
- func (v SummaryGPUKernelLayerInformation) MarshalEasyJSON(w *jwriter.Writer)
- func (v SummaryGPUKernelLayerInformation) MarshalJSON() ([]byte, error)
- func (info SummaryGPUKernelLayerInformation) Rows(iopts ...writer.Option) [][]string
- func (p SummaryGPUKernelLayerInformation) Swap(i, j int)
- func (v *SummaryGPUKernelLayerInformation) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SummaryGPUKernelLayerInformation) UnmarshalJSON(data []byte) error
- type SummaryGPUKernelLayerInformations
- func (infos SummaryGPUKernelLayerInformations) GetKernelLogKeys() []string
- func (infos SummaryGPUKernelLayerInformations) Header(opts ...writer.Option) []string
- func (p SummaryGPUKernelLayerInformations) Len() int
- func (p SummaryGPUKernelLayerInformations) Less(i, j int) bool
- func (infos SummaryGPUKernelLayerInformations) Row(opts ...writer.Option) []string
- func (p SummaryGPUKernelLayerInformations) Swap(i, j int)
- type SummaryGPUKernelLayerLatencyInformations
- func (o SummaryGPUKernelLayerLatencyInformations) BarPlot() *charts.Bar
- func (o SummaryGPUKernelLayerLatencyInformations) BarPlotAdd(bar0 *charts.Bar) *charts.Bar
- func (o SummaryGPUKernelLayerLatencyInformations) OpenBarPlot() error
- func (o SummaryGPUKernelLayerLatencyInformations) PlotName() string
- func (o SummaryGPUKernelLayerLatencyInformations) WriteBarPlot(path string) error
- type SummaryGPUKernelModelAggreInformation
- func (info SummaryGPUKernelModelAggreInformation) Header(opts ...writer.Option) []string
- func (v SummaryGPUKernelModelAggreInformation) MarshalEasyJSON(w *jwriter.Writer)
- func (v SummaryGPUKernelModelAggreInformation) MarshalJSON() ([]byte, error)
- func (info SummaryGPUKernelModelAggreInformation) Row(opts ...writer.Option) []string
- func (v *SummaryGPUKernelModelAggreInformation) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SummaryGPUKernelModelAggreInformation) UnmarshalJSON(data []byte) error
- type SummaryGPUKernelModelAggreInformations
- type SummaryGPUKernelNameAggreInformation
- func (info SummaryGPUKernelNameAggreInformation) Header(opts ...writer.Option) []string
- func (v SummaryGPUKernelNameAggreInformation) MarshalEasyJSON(w *jwriter.Writer)
- func (v SummaryGPUKernelNameAggreInformation) MarshalJSON() ([]byte, error)
- func (info SummaryGPUKernelNameAggreInformation) Row(opts ...writer.Option) []string
- func (v *SummaryGPUKernelNameAggreInformation) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SummaryGPUKernelNameAggreInformation) UnmarshalJSON(data []byte) error
- type SummaryGPUKernelNameAggreInformations
- type SummaryLayerAggreAllocatedMemoryInformations
- func (v SummaryLayerAggreAllocatedMemoryInformations) MarshalEasyJSON(w *jwriter.Writer)
- func (v SummaryLayerAggreAllocatedMemoryInformations) MarshalJSON() ([]byte, error)
- func (o SummaryLayerAggreAllocatedMemoryInformations) OpenPiePlot() error
- func (o SummaryLayerAggreAllocatedMemoryInformations) PiePlot() *charts.Pie
- func (o SummaryLayerAggreAllocatedMemoryInformations) PiePlotAdd(pie *charts.Pie) *charts.Pie
- func (o SummaryLayerAggreAllocatedMemoryInformations) PlotName() string
- func (v *SummaryLayerAggreAllocatedMemoryInformations) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SummaryLayerAggreAllocatedMemoryInformations) UnmarshalJSON(data []byte) error
- func (o SummaryLayerAggreAllocatedMemoryInformations) WritePiePlot(path string) error
- type SummaryLayerAggreDurationInformations
- func (v SummaryLayerAggreDurationInformations) MarshalEasyJSON(w *jwriter.Writer)
- func (v SummaryLayerAggreDurationInformations) MarshalJSON() ([]byte, error)
- func (o SummaryLayerAggreDurationInformations) OpenPiePlot() error
- func (o SummaryLayerAggreDurationInformations) PiePlot() *charts.Pie
- func (o SummaryLayerAggreDurationInformations) PiePlotAdd(pie *charts.Pie) *charts.Pie
- func (o SummaryLayerAggreDurationInformations) PlotName() string
- func (v *SummaryLayerAggreDurationInformations) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SummaryLayerAggreDurationInformations) UnmarshalJSON(data []byte) error
- func (o SummaryLayerAggreDurationInformations) WritePiePlot(path string) error
- type SummaryLayerAggreInformation
- func (SummaryLayerAggreInformation) Header(iopts ...writer.Option) []string
- func (v SummaryLayerAggreInformation) MarshalEasyJSON(w *jwriter.Writer)
- func (v SummaryLayerAggreInformation) MarshalJSON() ([]byte, error)
- func (s SummaryLayerAggreInformation) Row(iopts ...writer.Option) []string
- func (v *SummaryLayerAggreInformation) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SummaryLayerAggreInformation) UnmarshalJSON(data []byte) error
- type SummaryLayerAggreInformations
- type SummaryLayerAggreOccurrenceInformations
- func (v SummaryLayerAggreOccurrenceInformations) MarshalEasyJSON(w *jwriter.Writer)
- func (v SummaryLayerAggreOccurrenceInformations) MarshalJSON() ([]byte, error)
- func (o SummaryLayerAggreOccurrenceInformations) OpenPiePlot() error
- func (o SummaryLayerAggreOccurrenceInformations) PiePlot() *charts.Pie
- func (o SummaryLayerAggreOccurrenceInformations) PiePlotAdd(pie *charts.Pie) *charts.Pie
- func (o SummaryLayerAggreOccurrenceInformations) PlotName() string
- func (v *SummaryLayerAggreOccurrenceInformations) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SummaryLayerAggreOccurrenceInformations) UnmarshalJSON(data []byte) error
- func (o SummaryLayerAggreOccurrenceInformations) WritePiePlot(path string) error
- type SummaryLayerAllocatedMemoryInformations
- func (o SummaryLayerAllocatedMemoryInformations) BarPlot() *charts.Bar
- func (o SummaryLayerAllocatedMemoryInformations) BarPlotAdd(bar0 *charts.Bar) *charts.Bar
- func (v SummaryLayerAllocatedMemoryInformations) MarshalEasyJSON(w *jwriter.Writer)
- func (v SummaryLayerAllocatedMemoryInformations) MarshalJSON() ([]byte, error)
- func (o SummaryLayerAllocatedMemoryInformations) OpenBarPlot() error
- func (o SummaryLayerAllocatedMemoryInformations) PlotName() string
- func (v *SummaryLayerAllocatedMemoryInformations) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SummaryLayerAllocatedMemoryInformations) UnmarshalJSON(data []byte) error
- func (o SummaryLayerAllocatedMemoryInformations) WriteBarPlot(path string) error
- type SummaryLayerInformation
- func (SummaryLayerInformation) Header(iopts ...writer.Option) []string
- func (v SummaryLayerInformation) MarshalEasyJSON(w *jwriter.Writer)
- func (v SummaryLayerInformation) MarshalJSON() ([]byte, error)
- func (s SummaryLayerInformation) Row(iopts ...writer.Option) []string
- func (v *SummaryLayerInformation) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SummaryLayerInformation) UnmarshalJSON(data []byte) error
- type SummaryLayerInformations
- func (s SummaryLayerInformations) GetLayerInfoByName(name string) SummaryLayerInformation
- func (v SummaryLayerInformations) MarshalEasyJSON(w *jwriter.Writer)
- func (v SummaryLayerInformations) MarshalJSON() ([]byte, error)
- func (v *SummaryLayerInformations) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SummaryLayerInformations) UnmarshalJSON(data []byte) error
- type SummaryLayerLatencyInformations
- func (o SummaryLayerLatencyInformations) BarPlot() *charts.Bar
- func (o SummaryLayerLatencyInformations) BarPlotAdd(bar0 *charts.Bar) *charts.Bar
- func (o SummaryLayerLatencyInformations) BoxPlot() *charts.BoxPlot
- func (o SummaryLayerLatencyInformations) BoxPlotAdd(box *charts.BoxPlot) *charts.BoxPlot
- func (v SummaryLayerLatencyInformations) MarshalEasyJSON(w *jwriter.Writer)
- func (v SummaryLayerLatencyInformations) MarshalJSON() ([]byte, error)
- func (o SummaryLayerLatencyInformations) OpenBarPlot() error
- func (o SummaryLayerLatencyInformations) OpenBoxPlot() error
- func (o SummaryLayerLatencyInformations) PlotName() string
- func (v *SummaryLayerLatencyInformations) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SummaryLayerLatencyInformations) UnmarshalJSON(data []byte) error
- func (o SummaryLayerLatencyInformations) WriteBarPlot(path string) error
- func (o SummaryLayerLatencyInformations) WriteBoxPlot(path string) error
- type SummaryMeanLayerInformation
- func (s SummaryMeanLayerInformation) Header(opts ...writer.Option) []string
- func (v SummaryMeanLayerInformation) MarshalEasyJSON(w *jwriter.Writer)
- func (v SummaryMeanLayerInformation) MarshalJSON() ([]byte, error)
- func (s SummaryMeanLayerInformation) Row(opts ...writer.Option) []string
- func (v *SummaryMeanLayerInformation) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SummaryMeanLayerInformation) UnmarshalJSON(data []byte) error
- type SummaryMemoryInformation
- type SummaryModelAccuracyInformation
- func (SummaryModelAccuracyInformation) Header(opts ...writer.Option) []string
- func (v SummaryModelAccuracyInformation) MarshalEasyJSON(w *jwriter.Writer)
- func (v SummaryModelAccuracyInformation) MarshalJSON() ([]byte, error)
- func (s SummaryModelAccuracyInformation) Row(opts ...writer.Option) []string
- func (v *SummaryModelAccuracyInformation) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SummaryModelAccuracyInformation) UnmarshalJSON(data []byte) error
- type SummaryModelAccuracyInformations
- type SummaryModelInformation
- func (SummaryModelInformation) Header(opts ...writer.Option) []string
- func (v SummaryModelInformation) MarshalEasyJSON(w *jwriter.Writer)
- func (v SummaryModelInformation) MarshalJSON() ([]byte, error)
- func (s SummaryModelInformation) Row(opts ...writer.Option) []string
- func (v *SummaryModelInformation) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SummaryModelInformation) UnmarshalJSON(data []byte) error
- type SummaryModelInformations
- type SummaryModelInformationsSelector
- type SummaryModelLatencyInformations
- func (o SummaryModelLatencyInformations) BarPlot() *charts.Bar
- func (o SummaryModelLatencyInformations) BarPlotAdd(bar0 *charts.Bar) *charts.Bar
- func (o SummaryModelLatencyInformations) OpenBarPlot() error
- func (o SummaryModelLatencyInformations) PlotName() string
- func (o SummaryModelLatencyInformations) WriteBarPlot(path string) error
- type SummaryModelThroughputInformations
- func (o SummaryModelThroughputInformations) BarPlot() *charts.Bar
- func (o SummaryModelThroughputInformations) BarPlotAdd(bar0 *charts.Bar) *charts.Bar
- func (o SummaryModelThroughputInformations) OpenBarPlot() error
- func (o SummaryModelThroughputInformations) PlotName() string
- func (o SummaryModelThroughputInformations) WriteBarPlot(path string) error
- type SystemMemoryInformation
- type TensorDescription
- type TensorFlowAllocatorMemoryUsed
- type TensorFlowTagOutput
- type TraceInformation
Constants ¶
const (
GoldRatio = 1.618033989
)
Variables ¶
var ( DefaultShowTitle = true DefaultAssetHost = `https://s3.amazonaws.com/store.carml.org/model_analysis_2019/assets/` DefaultTitleFontSize = 18 DefaultSeriesFontSize = 14 DefaultLegendFontSize = 14 DefaultBarPlotAspectRatio = 3.0 DefaultBarPlotWidth = 900 DefaultBarPlotHeight = int(float64(DefaultBarPlotWidth) / DefaultBarPlotAspectRatio) DefaultBoxPlotAspectRatio = 3.0 DefaultBoxPlotWidth = 900 DefaultBoxPlotHeight = int(float64(DefaultBoxPlotWidth) / DefaultBoxPlotAspectRatio) DefaultPiePlotWidth = 900 DefaultPiePlotHeight = 500 )
var ( DefaultTrimmedMeanFraction = 0.2 DefaultDimiter = ";" )
Functions ¶
func GetMeanLogValue ¶
func GetMeanLogValue(info SummaryGPUKernelInformation, name string, trimmedMeanFraction float64) float64
func TempFile ¶
TempFile creates a new temporary file in the directory dir, opens the file for reading and writing, and returns the resulting *os.File. The filename is generated by taking pattern and adding a random string to the end. If pattern includes a "*", the random string replaces the last "*". If dir is the empty string, TempFile uses the default directory for temporary files (see os.TempDir). Multiple programs calling TempFile simultaneously will not choose the same file. The caller can use f.Name() to find the pathname of the file. It is the caller's responsibility to remove the file when no longer needed.
func TrimmedMean ¶
func TrimmedMeanInt64Slice ¶
Types ¶
type AllocationDescription ¶
type AllocationRecords ¶
type BarPlotter ¶
type BoxPlotter ¶
type Divergence ¶
type Divergence struct { ID bson.ObjectId `bson:"id,omitempty" json:"id,omitempty"` CreatedAt time.Time `bson:"created_at,omitempty" bson:"created_at" json:"created_at,omitempty"` Method string `bson:"method,omitempty" json:"method,omitempty"` Value float64 `bson:"value,omitempty" json:"value,omitempty"` SourcePredictionID bson.ObjectId `bson:"source_prediction_id,omitempty" json:"source_prediction_id,omitempty"` TargetPredictionID bson.ObjectId `bson:"target_prediction_id,omitempty" json:"target_prediction_id,omitempty"` SourceInputPredictionInputID string `bson:"source_input_prediction_input_id,omitempty" json:"source_input_prediction_input_id,omitempty"` TargetInputPredictionInputID string `bson:"target_input_prediction_input_id,omitempty" json:"target_input_prediction_input_id,omitempty"` SourceFeatures dlframework.Features `bson:"source_features,omitempty" json:"source_features,omitempty"` TargetFeatures dlframework.Features `bson:"target_features,omitempty" json:"target_features,omitempty"` }
func (Divergence) TableName ¶
func (Divergence) TableName() string
type DivergenceCollection ¶
type DivergenceCollection struct {
*mongodb.MongoTable
}
func NewDivergenceCollection ¶
func NewDivergenceCollection(db database.Database) (*DivergenceCollection, error)
func (*DivergenceCollection) Close ¶
func (m *DivergenceCollection) Close() error
type Evaluation ¶
type Evaluation struct { ID bson.ObjectId `json:"id,omitempty" bson:"_id,omitempty"` UserID string `json:"user_id,omitempty" bson:"user_id,omitempty"` RunID string `json:"run_id,omitempty" bson:"run_id,omitempty"` CreatedAt time.Time `json:"created_at,omitempty" bson:"created_at,omitempty"` Framework dlframework.FrameworkManifest `json:"framework,omitempty" bson:"framework,omitempty"` Model dlframework.ModelManifest `json:"model,omitempty" bson:"model,omitempty"` DatasetCategory string `json:"dataset_category,omitempty" bson:"dataset_category"` DatasetName string `json:"dataset_name,omitempty" bson:"dataset_name,omitempty"` MachineArchitecture string `json:"machine_architecture,omitempty" bson:"machine_architecture,omitempty"` UsingGPU bool `json:"using_gpu,omitempty" bson:"using_gpu,omitempty"` BatchSize int `json:"batch_size,omitempty" bson:"batch_size,omitempty"` GPUMetrics string `json:"gpu_metrics,omitempty" bson:"gpu_metrics,omitempty"` Hostname string `json:"hostname,omitempty" bson:"hostname,omitempty"` HostIP string `json:"host_ip,omitempty" bson:"host_ip,omitempty"` TraceLevel string `json:"trace_level,omitempty" bson:"trace_level,omitempty"` ModelAccuracyID bson.ObjectId `json:"model_accuracy_id,omitempty" bson:"model_accuracy_id,omitempty"` InputPredictionIDs []bson.ObjectId `json:"input_prediction_ids,omitempty" bson:"input_prediction_ids,omitempty"` PerformanceID bson.ObjectId `json:"performance_id,omitempty" bson:"performance_id,omitempty"` Public bool `json:"public,omitempty" bson:"public,omitempty"` MachineInformation *machine.Machine `json:"machine_information,omitempty" bson:"machine_information,omitempty"` GPUDriverVersion *string `json:"gpu_driver,omitempty" bson:"gpu_driver,omitempty"` GPUDevice *int `json:"gpu_device,omitempty" bson:"gpu_device,omitempty"` GPUInformation *nvidiasmi.GPU `json:"gpu_information,omitempty" bson:"gpu_information,omitempty"` Metadata map[string]string `json:"metadata,omitempty" bson:"metadata,omitempty"` }
func (Evaluation) EventFlowSummary ¶
func (e Evaluation) EventFlowSummary(perfCol *PerformanceCollection) (*SummaryEventFlow, error)
func (Evaluation) MarshalEasyJSON ¶
func (v Evaluation) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Evaluation) MarshalJSON ¶
func (v Evaluation) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (Evaluation) PredictAccuracyInformationSummary ¶
func (e Evaluation) PredictAccuracyInformationSummary(accCol *ModelAccuracyCollection) (*SummaryModelAccuracyInformation, error)
func (Evaluation) TableName ¶
func (Evaluation) TableName() string
func (*Evaluation) UnmarshalEasyJSON ¶
func (v *Evaluation) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Evaluation) UnmarshalJSON ¶
func (v *Evaluation) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type EvaluationCollection ¶
type EvaluationCollection struct {
*mongodb.MongoTable
}
func NewEvaluationCollection ¶
func NewEvaluationCollection(db database.Database) (*EvaluationCollection, error)
func (*EvaluationCollection) Close ¶
func (m *EvaluationCollection) Close() error
func (*EvaluationCollection) Find ¶
func (c *EvaluationCollection) Find(as ...interface{}) ([]Evaluation, error)
func (*EvaluationCollection) FindByModel ¶
func (c *EvaluationCollection) FindByModel(model dlframework.ModelManifest) ([]Evaluation, error)
func (*EvaluationCollection) FindByUserID ¶
func (c *EvaluationCollection) FindByUserID(UserID string) ([]Evaluation, error)
type Evaluations ¶
type Evaluations []Evaluation
func (Evaluations) EventFlowSummary ¶
func (es Evaluations) EventFlowSummary(perfCol *PerformanceCollection) (SummaryEventFlows, error)
func (Evaluations) GetSpansFromPerformanceCollection ¶
func (es Evaluations) GetSpansFromPerformanceCollection(perfCol *PerformanceCollection) (Spans, error)
func (Evaluations) GroupByBatchSize ¶
func (es Evaluations) GroupByBatchSize() map[int]Evaluations
func (Evaluations) PredictAccuracyInformationSummary ¶
func (es Evaluations) PredictAccuracyInformationSummary(accCol *ModelAccuracyCollection) (SummaryModelAccuracyInformations, error)
func (Evaluations) SummaryGPUKernelLayerAggreInformations ¶
func (es Evaluations) SummaryGPUKernelLayerAggreInformations(perfCol *PerformanceCollection) (SummaryGPUKernelLayerAggreInformations, error)
func (Evaluations) SummaryGPUKernelLayerInformations ¶
func (es Evaluations) SummaryGPUKernelLayerInformations(perfCol *PerformanceCollection) (SummaryGPUKernelLayerInformations, error)
func (Evaluations) SummaryGPUKernelModelAggreInformations ¶
func (es Evaluations) SummaryGPUKernelModelAggreInformations(perfCol *PerformanceCollection) (SummaryGPUKernelModelAggreInformations, error)
func (Evaluations) SummaryGPUKernelNameAggreInformations ¶
func (es Evaluations) SummaryGPUKernelNameAggreInformations(perfCol *PerformanceCollection) (SummaryGPUKernelNameAggreInformations, error)
func (Evaluations) SummaryLayerAggreInformations ¶
func (es Evaluations) SummaryLayerAggreInformations(perfCol *PerformanceCollection) (SummaryLayerAggreInformations, error)
func (Evaluations) SummaryLayerInformations ¶
func (es Evaluations) SummaryLayerInformations(perfCol *PerformanceCollection) (SummaryLayerInformations, error)
func (Evaluations) SummaryModelInformations ¶
func (es Evaluations) SummaryModelInformations(perfCol *PerformanceCollection) (SummaryModelInformations, error)
type GPUKernelLayerAggreInformationSelector ¶
type GPUKernelLayerAggreInformationSelector func(elem SummaryGPUKernelLayerAggreInformation) float64
type GPUMemInformation ¶
type GPUMemInformation struct { GPUID int `json:"gpuid,omitempty"` StartUsed int64 `json:"start_used,omitempty"` StartFree int64 `json:"start_free,omitempty"` StartTotal int64 `json:"start_total,omitempty"` FinishUsed int64 `json:"finish_used,omitempty"` FinishFree int64 `json:"finish_free,omitempty"` FinishTotal int64 `json:"finish_total,omitempty"` }
func (GPUMemInformation) MarshalEasyJSON ¶
func (v GPUMemInformation) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (GPUMemInformation) MarshalJSON ¶
func (v GPUMemInformation) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*GPUMemInformation) UnmarshalEasyJSON ¶
func (v *GPUMemInformation) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*GPUMemInformation) UnmarshalJSON ¶
func (v *GPUMemInformation) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type InputPrediction ¶
type InputPrediction struct { ID bson.ObjectId `json:"id,omitempty" bson:"_id,omitempty"` CreatedAt time.Time `json:"created_at,omitempty"` InputID string `json:"input_id,omitempty"` InputIndex int `json:"input_index,omitempty"` ExpectedLabel string `json:"expected_label,omitempty"` Features dlframework.Features `json:"features,omitempty"` }
func (InputPrediction) TableName ¶
func (InputPrediction) TableName() string
type InputPredictionCollection ¶
type InputPredictionCollection struct {
*mongodb.MongoTable
}
func NewInputPredictionCollection ¶
func NewInputPredictionCollection(db database.Database) (*InputPredictionCollection, error)
func (*InputPredictionCollection) Close ¶
func (m *InputPredictionCollection) Close() error
func (*InputPredictionCollection) Find ¶
func (c *InputPredictionCollection) Find(as ...interface{}) ([]InputPrediction, error)
type LayerAggregatedInformationSelector ¶
type LayerAggregatedInformationSelector func(elem SummaryLayerAggreInformation) interface{}
type LayerInformationSelector ¶
type LayerInformationSelector func(elem SummaryLayerInformation) float64
type MemoryInformation ¶
type MemoryInformation struct { GPU []GPUMemInformation `json:"gpu,omitempty"` Runtime RuntimeMemoryInformation `json:"runtime,omitempty"` System SystemMemoryInformation `json:"system,omitempty"` }
func (MemoryInformation) MarshalEasyJSON ¶
func (v MemoryInformation) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (MemoryInformation) MarshalJSON ¶
func (v MemoryInformation) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*MemoryInformation) UnmarshalEasyJSON ¶
func (v *MemoryInformation) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*MemoryInformation) UnmarshalJSON ¶
func (v *MemoryInformation) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type ModelAccuracies ¶
type ModelAccuracies []ModelAccuracy
func (ModelAccuracies) PredictAccuracyInformationSummary ¶
func (as ModelAccuracies) PredictAccuracyInformationSummary(e Evaluation) ([]*SummaryModelAccuracyInformation, error)
type ModelAccuracy ¶
type ModelAccuracy struct { ID bson.ObjectId `bson:"_id,omitempty" json:"id,omitempty"` CreatedAt time.Time `bson:"created_at,omitempty" json:"created_at,omitempty"` Top1 float64 `bson:"top_1" json:"top_1"` Top5 float64 `bson:"top_5" json:"top_5"` }
func (ModelAccuracy) PredictAccuracyInformationSummary ¶
func (a ModelAccuracy) PredictAccuracyInformationSummary(e Evaluation) (*SummaryModelAccuracyInformation, error)
func (ModelAccuracy) TableName ¶
func (ModelAccuracy) TableName() string
type ModelAccuracyCollection ¶
type ModelAccuracyCollection struct {
*mongodb.MongoTable
}
func NewModelAccuracyCollection ¶
func NewModelAccuracyCollection(db database.Database) (*ModelAccuracyCollection, error)
func (*ModelAccuracyCollection) Close ¶
func (m *ModelAccuracyCollection) Close() error
func (*ModelAccuracyCollection) Find ¶
func (c *ModelAccuracyCollection) Find(as ...interface{}) ([]ModelAccuracy, error)
func (*ModelAccuracyCollection) FindByModel ¶
func (c *ModelAccuracyCollection) FindByModel(model dlframework.ModelManifest) ([]ModelAccuracy, error)
type Performance ¶
type Performance struct { ID bson.ObjectId `json:"id,omitempty" bson:"_id,omitempty"` CreatedAt time.Time `json:"created_at" bson:"created_at,omitempty"` TraceCompressed []byte `json:"trace_compressed" bson:"trace,omitempty"` Trace *TraceInformation `json:"trace" bson:"-"` TraceLevel tracer.Level `json:"trace_level" bson:"trace_level,omitempty"` TraceURL string `json:"trace_url" bson:"trace_url,omitempty"` }
func (*Performance) CompressTrace ¶
func (p *Performance) CompressTrace() error
func (Performance) EventFlowSummary ¶
func (p Performance) EventFlowSummary(e Evaluation) (*SummaryEventFlow, error)
func (Performance) MarshalEasyJSON ¶
func (v Performance) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Performance) MarshalJSON ¶
func (v Performance) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (Performance) MemoryInformationSummary ¶
func (p Performance) MemoryInformationSummary(e Evaluation) (*SummaryMemoryInformation, error)
func (Performance) Spans ¶
func (p Performance) Spans() (Spans, error)
func (Performance) TableName ¶
func (Performance) TableName() string
func (*Performance) UncompressTrace ¶
func (p *Performance) UncompressTrace() error
func (*Performance) UnmarshalEasyJSON ¶
func (v *Performance) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Performance) UnmarshalJSON ¶
func (v *Performance) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type PerformanceCollection ¶
type PerformanceCollection struct {
*mongodb.MongoTable
}
func NewPerformanceCollection ¶
func NewPerformanceCollection(db database.Database) (*PerformanceCollection, error)
func (*PerformanceCollection) Close ¶
func (m *PerformanceCollection) Close() error
func (*PerformanceCollection) Find ¶
func (c *PerformanceCollection) Find(as ...interface{}) ([]Performance, error)
type Performances ¶
type Performances []Performance
func (Performances) Spans ¶
func (ps Performances) Spans() Spans
type PiePlotter ¶
type RuntimeMemoryInformation ¶
type RuntimeMemoryInformation struct { StartAlloc int64 `json:"start_alloc,omitempty"` StartHeapAlloc int64 `json:"start_heap_alloc,omitempty"` StartHeapSys int64 `json:"start_heap_sys,omitempty"` StartTotalAlloc int64 `json:"start_total_alloc,omitempty"` FinishAlloc int64 `json:"finish_alloc,omitempty"` FinishHeapAlloc int64 `json:"finish_heap_alloc,omitempty"` FinishHeapSys int64 `json:"finish_heap_sys,omitempty"` FinishTotalAlloc int64 `json:"finish_total_alloc,omitempty"` }
func (RuntimeMemoryInformation) MarshalEasyJSON ¶
func (v RuntimeMemoryInformation) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (RuntimeMemoryInformation) MarshalJSON ¶
func (v RuntimeMemoryInformation) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*RuntimeMemoryInformation) UnmarshalEasyJSON ¶
func (v *RuntimeMemoryInformation) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*RuntimeMemoryInformation) UnmarshalJSON ¶
func (v *RuntimeMemoryInformation) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Spans ¶
func (Spans) FilterByOperationName ¶
func (Spans) FilterByOperationNameAndEvalTraceLevel ¶
func (Spans) MemoryInformation ¶
func (spns Spans) MemoryInformation() []MemoryInformation
type SummaryBase ¶
type SummaryBase struct { ID bson.ObjectId `json:"id" bson:"_id"` CreatedAt time.Time `json:"created_at" bson:"created_at"` UpdatedAt time.Time `json:"updated_at" bson:"updated_at"` ModelName string `json:"model_name,omitempty"` ModelVersion string `json:"model_version,omitempty"` FrameworkName string `json:"framework_name,omitempty"` FrameworkVersion string `json:"framework_version,omitempty"` MachineArchitecture string `json:"machine_architecture,omitempty"` UsingGPU bool `json:"using_gpu,omitempty"` BatchSize int `json:"batch_size,omitempty"` HostName string `json:"host_name,omitempty"` HostIP string `json:"host_ip,omitempty"` TraceLevel string `json:"trace_level,omitempty"` MachineInformation *machine.Machine `json:"machine_information,omitempty"` GPUDriverVersion *string `json:"gpu_driver,omitempty"` GPUDevice *int `json:"gpu_device,omitempty"` GPUInformation *nvidiasmi.GPU `json:"gpu_information,omitempty"` InterconnectName string `json:"interconnect_name,omitempty"` TheoreticalGFlops int64 `json:"theoretical_glops,omitempty"` MemoryBandwidth float64 `json:"memory_bandwidth,omitempty"` IdealArithmeticIntensity float64 `json:"ideal_arithmetic_intensity,omitempty"` InterconnectBandwidth float64 `json:"interconnect_bandwidth,omitempty"` }
func (SummaryBase) FrameworkModel ¶
func (s SummaryBase) FrameworkModel() string
func (SummaryBase) MarshalEasyJSON ¶
func (v SummaryBase) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SummaryBase) MarshalJSON ¶
func (v SummaryBase) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SummaryBase) UnmarshalEasyJSON ¶
func (v *SummaryBase) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SummaryBase) UnmarshalJSON ¶
func (v *SummaryBase) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SummaryEventFlow ¶
type SummaryEventFlow struct { SummaryBase `json:",inline"` EventFlow eventflow.Events `json:"event_flow,omitempty"` }
func (SummaryEventFlow) MarshalEasyJSON ¶
func (v SummaryEventFlow) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SummaryEventFlow) MarshalJSON ¶
func (v SummaryEventFlow) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SummaryEventFlow) UnmarshalEasyJSON ¶
func (v *SummaryEventFlow) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SummaryEventFlow) UnmarshalJSON ¶
func (v *SummaryEventFlow) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SummaryEventFlows ¶
type SummaryEventFlows []SummaryEventFlow
type SummaryGPUKernelInformation ¶
type SummaryGPUKernelInformation struct { Name string `json:"name,omitempty"` MangledName string `json:"mangled_name,omitempty"` Durations []int64 `json:"durations,omitempty"` Tags []Metadata `json:"tags,omitempty"` Logs []Metadata `json:"logs,omitempty"` CorrelationId int64 `json:"correlation_id,omitempty"` MeanDuration float64 `json:"mean_duration,omitempty"` MeanFlops float64 `json:"mean_flops,omitempty"` MeanDramReadBytes float64 `json:"mean_dram_read_bytes,omitempty"` MeanDramWriteBytes float64 `json:"mean_dram_write_bytes,omitempty"` MeanAchievedOccupancy float64 `json:"mean_achieved_occupancy,omitempty"` ArithmeticIntensity float64 `json:"arithmetic_intensity,omitempty"` ArithmeticThroughput float64 `json:"arithmetic_throughput,omitempty"` MemoryBound bool `json:"memory_bound,omitempty"` }
func CUDALaunchSpantoGPUInformation ¶
func CUDALaunchSpantoGPUInformation(span model.Span) SummaryGPUKernelInformation
func GPUKernelSpantoGPUInformation ¶
func GPUKernelSpantoGPUInformation(span model.Span) SummaryGPUKernelInformation
func (SummaryGPUKernelInformation) Header ¶
func (info SummaryGPUKernelInformation) Header(opts ...writer.Option) []string
func (SummaryGPUKernelInformation) MarshalEasyJSON ¶
func (v SummaryGPUKernelInformation) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SummaryGPUKernelInformation) MarshalJSON ¶
func (v SummaryGPUKernelInformation) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (SummaryGPUKernelInformation) Row ¶
func (info SummaryGPUKernelInformation) Row(opts ...writer.Option) []string
func (*SummaryGPUKernelInformation) UnmarshalEasyJSON ¶
func (v *SummaryGPUKernelInformation) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SummaryGPUKernelInformation) UnmarshalJSON ¶
func (v *SummaryGPUKernelInformation) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SummaryGPUKernelInformations ¶
type SummaryGPUKernelInformations []SummaryGPUKernelInformation
func (SummaryGPUKernelInformations) GetKernelLogKeys ¶
func (infos SummaryGPUKernelInformations) GetKernelLogKeys() []string
func (SummaryGPUKernelInformations) Len ¶
func (p SummaryGPUKernelInformations) Len() int
func (SummaryGPUKernelInformations) Less ¶
func (p SummaryGPUKernelInformations) Less(i, j int) bool
func (SummaryGPUKernelInformations) Swap ¶
func (p SummaryGPUKernelInformations) Swap(i, j int)
type SummaryGPUKernelLayerAchievedOccupancyInformations ¶
type SummaryGPUKernelLayerAchievedOccupancyInformations SummaryGPUKernelLayerAggreInformations
func (SummaryGPUKernelLayerAchievedOccupancyInformations) BarPlot ¶
func (o SummaryGPUKernelLayerAchievedOccupancyInformations) BarPlot() *charts.Bar
func (SummaryGPUKernelLayerAchievedOccupancyInformations) BarPlotAdd ¶
func (o SummaryGPUKernelLayerAchievedOccupancyInformations) BarPlotAdd(bar0 *charts.Bar) *charts.Bar
func (SummaryGPUKernelLayerAchievedOccupancyInformations) OpenBarPlot ¶
func (o SummaryGPUKernelLayerAchievedOccupancyInformations) OpenBarPlot() error
func (SummaryGPUKernelLayerAchievedOccupancyInformations) PlotName ¶
func (o SummaryGPUKernelLayerAchievedOccupancyInformations) PlotName() string
func (SummaryGPUKernelLayerAchievedOccupancyInformations) WriteBarPlot ¶
func (o SummaryGPUKernelLayerAchievedOccupancyInformations) WriteBarPlot(path string) error
type SummaryGPUKernelLayerAggreInformation ¶
type SummaryGPUKernelLayerAggreInformation struct { SummaryLayerInformation `json:",inline"` GPUDuration float64 `json:"gpu_duration,omitempty"` CPUDuration float64 `json:"cpu_duration,omitempty"` Flops float64 `json:"flops,omitempty"` DramReadBytes float64 `json:"dram_read_bytes,omitempty"` DramWriteBytes float64 `json:"dram_write_bytes,omitempty"` AchievedOccupancy float64 `json:"achieved_occupancy,omitempty"` ArithmeticIntensity float64 `json:"arithmetic_intensity,omitempty"` ArithmeticThroughput float64 `json:"arithmetic_throughput,omitempty"` MemoryBound bool `json:"memory_bound,omitempty"` }
func (SummaryGPUKernelLayerAggreInformation) Header ¶
func (SummaryGPUKernelLayerAggreInformation) Header(iopts ...writer.Option) []string
func (SummaryGPUKernelLayerAggreInformation) MarshalEasyJSON ¶
func (v SummaryGPUKernelLayerAggreInformation) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SummaryGPUKernelLayerAggreInformation) MarshalJSON ¶
func (v SummaryGPUKernelLayerAggreInformation) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (SummaryGPUKernelLayerAggreInformation) Row ¶
func (s SummaryGPUKernelLayerAggreInformation) Row(iopts ...writer.Option) []string
func (*SummaryGPUKernelLayerAggreInformation) UnmarshalEasyJSON ¶
func (v *SummaryGPUKernelLayerAggreInformation) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SummaryGPUKernelLayerAggreInformation) UnmarshalJSON ¶
func (v *SummaryGPUKernelLayerAggreInformation) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SummaryGPUKernelLayerAggreInformations ¶
type SummaryGPUKernelLayerAggreInformations []SummaryGPUKernelLayerAggreInformation
func (SummaryGPUKernelLayerAggreInformations) Len ¶
func (p SummaryGPUKernelLayerAggreInformations) Len() int
func (SummaryGPUKernelLayerAggreInformations) Less ¶
func (p SummaryGPUKernelLayerAggreInformations) Less(i, j int) bool
func (SummaryGPUKernelLayerAggreInformations) MarshalEasyJSON ¶
func (v SummaryGPUKernelLayerAggreInformations) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SummaryGPUKernelLayerAggreInformations) MarshalJSON ¶
func (v SummaryGPUKernelLayerAggreInformations) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (SummaryGPUKernelLayerAggreInformations) Swap ¶
func (p SummaryGPUKernelLayerAggreInformations) Swap(i, j int)
func (*SummaryGPUKernelLayerAggreInformations) UnmarshalEasyJSON ¶
func (v *SummaryGPUKernelLayerAggreInformations) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SummaryGPUKernelLayerAggreInformations) UnmarshalJSON ¶
func (v *SummaryGPUKernelLayerAggreInformations) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SummaryGPUKernelLayerDramReadInformations ¶
type SummaryGPUKernelLayerDramReadInformations SummaryGPUKernelLayerAggreInformations
func (SummaryGPUKernelLayerDramReadInformations) BarPlot ¶
func (o SummaryGPUKernelLayerDramReadInformations) BarPlot() *charts.Bar
func (SummaryGPUKernelLayerDramReadInformations) BarPlotAdd ¶
func (o SummaryGPUKernelLayerDramReadInformations) BarPlotAdd(bar0 *charts.Bar) *charts.Bar
func (SummaryGPUKernelLayerDramReadInformations) OpenBarPlot ¶
func (o SummaryGPUKernelLayerDramReadInformations) OpenBarPlot() error
func (SummaryGPUKernelLayerDramReadInformations) PlotName ¶
func (o SummaryGPUKernelLayerDramReadInformations) PlotName() string
func (SummaryGPUKernelLayerDramReadInformations) WriteBarPlot ¶
func (o SummaryGPUKernelLayerDramReadInformations) WriteBarPlot(path string) error
type SummaryGPUKernelLayerDramWriteInformations ¶
type SummaryGPUKernelLayerDramWriteInformations SummaryGPUKernelLayerAggreInformations
func (SummaryGPUKernelLayerDramWriteInformations) BarPlot ¶
func (o SummaryGPUKernelLayerDramWriteInformations) BarPlot() *charts.Bar
func (SummaryGPUKernelLayerDramWriteInformations) BarPlotAdd ¶
func (o SummaryGPUKernelLayerDramWriteInformations) BarPlotAdd(bar0 *charts.Bar) *charts.Bar
func (SummaryGPUKernelLayerDramWriteInformations) OpenBarPlot ¶
func (o SummaryGPUKernelLayerDramWriteInformations) OpenBarPlot() error
func (SummaryGPUKernelLayerDramWriteInformations) PlotName ¶
func (o SummaryGPUKernelLayerDramWriteInformations) PlotName() string
func (SummaryGPUKernelLayerDramWriteInformations) WriteBarPlot ¶
func (o SummaryGPUKernelLayerDramWriteInformations) WriteBarPlot(path string) error
type SummaryGPUKernelLayerFlopsInformations ¶
type SummaryGPUKernelLayerFlopsInformations SummaryGPUKernelLayerAggreInformations
func (SummaryGPUKernelLayerFlopsInformations) BarPlot ¶
func (o SummaryGPUKernelLayerFlopsInformations) BarPlot() *charts.Bar
func (SummaryGPUKernelLayerFlopsInformations) BarPlotAdd ¶
func (o SummaryGPUKernelLayerFlopsInformations) BarPlotAdd(bar0 *charts.Bar) *charts.Bar
func (SummaryGPUKernelLayerFlopsInformations) OpenBarPlot ¶
func (o SummaryGPUKernelLayerFlopsInformations) OpenBarPlot() error
func (SummaryGPUKernelLayerFlopsInformations) PlotName ¶
func (o SummaryGPUKernelLayerFlopsInformations) PlotName() string
func (SummaryGPUKernelLayerFlopsInformations) WriteBarPlot ¶
func (o SummaryGPUKernelLayerFlopsInformations) WriteBarPlot(path string) error
type SummaryGPUKernelLayerGPUCPUInformations ¶
type SummaryGPUKernelLayerGPUCPUInformations SummaryGPUKernelLayerAggreInformations
func (SummaryGPUKernelLayerGPUCPUInformations) BarPlot ¶
func (o SummaryGPUKernelLayerGPUCPUInformations) BarPlot() *charts.Bar
func (SummaryGPUKernelLayerGPUCPUInformations) BarPlotAdd ¶
func (o SummaryGPUKernelLayerGPUCPUInformations) BarPlotAdd(bar *charts.Bar) *charts.Bar
func (SummaryGPUKernelLayerGPUCPUInformations) OpenBarPlot ¶
func (o SummaryGPUKernelLayerGPUCPUInformations) OpenBarPlot() error
func (SummaryGPUKernelLayerGPUCPUInformations) PlotName ¶
func (o SummaryGPUKernelLayerGPUCPUInformations) PlotName() string
func (SummaryGPUKernelLayerGPUCPUInformations) WriteBarPlot ¶
func (o SummaryGPUKernelLayerGPUCPUInformations) WriteBarPlot(path string) error
type SummaryGPUKernelLayerInformation ¶
type SummaryGPUKernelLayerInformation struct { SummaryLayerInformation `json:",inline"` SummaryGPUKernelInformations SummaryGPUKernelInformations `json:"kernel_launch_information,omitempty"` }
func (SummaryGPUKernelLayerInformation) Len ¶
func (p SummaryGPUKernelLayerInformation) Len() int
func (SummaryGPUKernelLayerInformation) Less ¶
func (p SummaryGPUKernelLayerInformation) Less(i, j int) bool
func (SummaryGPUKernelLayerInformation) MarshalEasyJSON ¶
func (v SummaryGPUKernelLayerInformation) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SummaryGPUKernelLayerInformation) MarshalJSON ¶
func (v SummaryGPUKernelLayerInformation) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (SummaryGPUKernelLayerInformation) Rows ¶
func (info SummaryGPUKernelLayerInformation) Rows(iopts ...writer.Option) [][]string
Rows ...
func (SummaryGPUKernelLayerInformation) Swap ¶
func (p SummaryGPUKernelLayerInformation) Swap(i, j int)
func (*SummaryGPUKernelLayerInformation) UnmarshalEasyJSON ¶
func (v *SummaryGPUKernelLayerInformation) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SummaryGPUKernelLayerInformation) UnmarshalJSON ¶
func (v *SummaryGPUKernelLayerInformation) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SummaryGPUKernelLayerInformations ¶
type SummaryGPUKernelLayerInformations []SummaryGPUKernelLayerInformation
func (SummaryGPUKernelLayerInformations) GetKernelLogKeys ¶
func (infos SummaryGPUKernelLayerInformations) GetKernelLogKeys() []string
func (SummaryGPUKernelLayerInformations) Header ¶
func (infos SummaryGPUKernelLayerInformations) Header(opts ...writer.Option) []string
func (SummaryGPUKernelLayerInformations) Len ¶
func (p SummaryGPUKernelLayerInformations) Len() int
func (SummaryGPUKernelLayerInformations) Less ¶
func (p SummaryGPUKernelLayerInformations) Less(i, j int) bool
func (SummaryGPUKernelLayerInformations) Row ¶
func (infos SummaryGPUKernelLayerInformations) Row(opts ...writer.Option) []string
func (SummaryGPUKernelLayerInformations) Swap ¶
func (p SummaryGPUKernelLayerInformations) Swap(i, j int)
type SummaryGPUKernelLayerLatencyInformations ¶
type SummaryGPUKernelLayerLatencyInformations SummaryGPUKernelLayerAggreInformations
func (SummaryGPUKernelLayerLatencyInformations) BarPlot ¶
func (o SummaryGPUKernelLayerLatencyInformations) BarPlot() *charts.Bar
func (SummaryGPUKernelLayerLatencyInformations) BarPlotAdd ¶
func (o SummaryGPUKernelLayerLatencyInformations) BarPlotAdd(bar0 *charts.Bar) *charts.Bar
func (SummaryGPUKernelLayerLatencyInformations) OpenBarPlot ¶
func (o SummaryGPUKernelLayerLatencyInformations) OpenBarPlot() error
func (SummaryGPUKernelLayerLatencyInformations) PlotName ¶
func (o SummaryGPUKernelLayerLatencyInformations) PlotName() string
func (SummaryGPUKernelLayerLatencyInformations) WriteBarPlot ¶
func (o SummaryGPUKernelLayerLatencyInformations) WriteBarPlot(path string) error
type SummaryGPUKernelModelAggreInformation ¶
type SummaryGPUKernelModelAggreInformation struct { SummaryModelInformation `json:",inline"` Duration float64 `json:"gpu_duration,omitempty"` Flops float64 `json:"flops,omitempty"` DramReadBytes float64 `json:"dram_read_bytes,omitempty"` DramWriteBytes float64 `json:"dram_write_bytes,omitempty"` AchievedOccupancy float64 `json:"achieved_occupancy,omitempty"` ArithmeticIntensity float64 `json:"arithmetic_intensity,omitempty"` ArithmeticThroughput float64 `json:"arithmetic_throughput,omitempty"` MemoryBound bool `json:"memory_bound,omitempty"` }
func (SummaryGPUKernelModelAggreInformation) Header ¶
func (info SummaryGPUKernelModelAggreInformation) Header(opts ...writer.Option) []string
func (SummaryGPUKernelModelAggreInformation) MarshalEasyJSON ¶
func (v SummaryGPUKernelModelAggreInformation) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SummaryGPUKernelModelAggreInformation) MarshalJSON ¶
func (v SummaryGPUKernelModelAggreInformation) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (SummaryGPUKernelModelAggreInformation) Row ¶
func (info SummaryGPUKernelModelAggreInformation) Row(opts ...writer.Option) []string
func (*SummaryGPUKernelModelAggreInformation) UnmarshalEasyJSON ¶
func (v *SummaryGPUKernelModelAggreInformation) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SummaryGPUKernelModelAggreInformation) UnmarshalJSON ¶
func (v *SummaryGPUKernelModelAggreInformation) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SummaryGPUKernelModelAggreInformations ¶
type SummaryGPUKernelModelAggreInformations []SummaryGPUKernelModelAggreInformation
func (SummaryGPUKernelModelAggreInformations) Len ¶
func (p SummaryGPUKernelModelAggreInformations) Len() int
func (SummaryGPUKernelModelAggreInformations) Less ¶
func (p SummaryGPUKernelModelAggreInformations) Less(i, j int) bool
func (SummaryGPUKernelModelAggreInformations) Swap ¶
func (p SummaryGPUKernelModelAggreInformations) Swap(i, j int)
type SummaryGPUKernelNameAggreInformation ¶
type SummaryGPUKernelNameAggreInformation struct { SummaryModelInformation `json:",inline"` Name string `json:"name,omitempty"` Count int `json:"count,omitempty"` Duration float64 `json:"gpu_duration,omitempty"` Flops float64 `json:"flops,omitempty"` DramReadBytes float64 `json:"dram_read_bytes,omitempty"` DramWriteBytes float64 `json:"dram_write_bytes,omitempty"` AchievedOccupancy float64 `json:"achieved_occupancy,omitempty"` ArithmeticIntensity float64 `json:"arithmetic_intensity,omitempty"` ArithmeticThroughput float64 `json:"arithmetic_throughput,omitempty"` MemoryBound bool `json:"memory_bound,omitempty"` }
func (SummaryGPUKernelNameAggreInformation) Header ¶
func (info SummaryGPUKernelNameAggreInformation) Header(opts ...writer.Option) []string
func (SummaryGPUKernelNameAggreInformation) MarshalEasyJSON ¶
func (v SummaryGPUKernelNameAggreInformation) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SummaryGPUKernelNameAggreInformation) MarshalJSON ¶
func (v SummaryGPUKernelNameAggreInformation) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (SummaryGPUKernelNameAggreInformation) Row ¶
func (info SummaryGPUKernelNameAggreInformation) Row(opts ...writer.Option) []string
func (*SummaryGPUKernelNameAggreInformation) UnmarshalEasyJSON ¶
func (v *SummaryGPUKernelNameAggreInformation) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SummaryGPUKernelNameAggreInformation) UnmarshalJSON ¶
func (v *SummaryGPUKernelNameAggreInformation) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SummaryGPUKernelNameAggreInformations ¶
type SummaryGPUKernelNameAggreInformations []SummaryGPUKernelNameAggreInformation
func (SummaryGPUKernelNameAggreInformations) Len ¶
func (p SummaryGPUKernelNameAggreInformations) Len() int
func (SummaryGPUKernelNameAggreInformations) Less ¶
func (p SummaryGPUKernelNameAggreInformations) Less(i, j int) bool
func (SummaryGPUKernelNameAggreInformations) Swap ¶
func (p SummaryGPUKernelNameAggreInformations) Swap(i, j int)
type SummaryLayerAggreAllocatedMemoryInformations ¶
type SummaryLayerAggreAllocatedMemoryInformations SummaryLayerAggreInformations
func (SummaryLayerAggreAllocatedMemoryInformations) MarshalEasyJSON ¶
func (v SummaryLayerAggreAllocatedMemoryInformations) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SummaryLayerAggreAllocatedMemoryInformations) MarshalJSON ¶
func (v SummaryLayerAggreAllocatedMemoryInformations) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (SummaryLayerAggreAllocatedMemoryInformations) OpenPiePlot ¶
func (o SummaryLayerAggreAllocatedMemoryInformations) OpenPiePlot() error
func (SummaryLayerAggreAllocatedMemoryInformations) PiePlot ¶
func (o SummaryLayerAggreAllocatedMemoryInformations) PiePlot() *charts.Pie
func (SummaryLayerAggreAllocatedMemoryInformations) PiePlotAdd ¶
func (o SummaryLayerAggreAllocatedMemoryInformations) PiePlotAdd(pie *charts.Pie) *charts.Pie
func (SummaryLayerAggreAllocatedMemoryInformations) PlotName ¶
func (o SummaryLayerAggreAllocatedMemoryInformations) PlotName() string
func (*SummaryLayerAggreAllocatedMemoryInformations) UnmarshalEasyJSON ¶
func (v *SummaryLayerAggreAllocatedMemoryInformations) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SummaryLayerAggreAllocatedMemoryInformations) UnmarshalJSON ¶
func (v *SummaryLayerAggreAllocatedMemoryInformations) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
func (SummaryLayerAggreAllocatedMemoryInformations) WritePiePlot ¶
func (o SummaryLayerAggreAllocatedMemoryInformations) WritePiePlot(path string) error
type SummaryLayerAggreDurationInformations ¶
type SummaryLayerAggreDurationInformations SummaryLayerAggreInformations
func (SummaryLayerAggreDurationInformations) MarshalEasyJSON ¶
func (v SummaryLayerAggreDurationInformations) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SummaryLayerAggreDurationInformations) MarshalJSON ¶
func (v SummaryLayerAggreDurationInformations) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (SummaryLayerAggreDurationInformations) OpenPiePlot ¶
func (o SummaryLayerAggreDurationInformations) OpenPiePlot() error
func (SummaryLayerAggreDurationInformations) PiePlot ¶
func (o SummaryLayerAggreDurationInformations) PiePlot() *charts.Pie
func (SummaryLayerAggreDurationInformations) PiePlotAdd ¶
func (o SummaryLayerAggreDurationInformations) PiePlotAdd(pie *charts.Pie) *charts.Pie
func (SummaryLayerAggreDurationInformations) PlotName ¶
func (o SummaryLayerAggreDurationInformations) PlotName() string
func (*SummaryLayerAggreDurationInformations) UnmarshalEasyJSON ¶
func (v *SummaryLayerAggreDurationInformations) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SummaryLayerAggreDurationInformations) UnmarshalJSON ¶
func (v *SummaryLayerAggreDurationInformations) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
func (SummaryLayerAggreDurationInformations) WritePiePlot ¶
func (o SummaryLayerAggreDurationInformations) WritePiePlot(path string) error
type SummaryLayerAggreInformation ¶
type SummaryLayerAggreInformation struct { SummaryModelInformation `json:",inline"` Type string `json:"type,omitempty"` Occurence int `json:"occurrence,omitempty"` OccurencePercentage float64 `json:"occurrence_percentage,omitempty"` Duration float64 `json:"duration,omitempty"` DurationPercentage float64 `json:"duration_percentage,omitempty"` AllocatedMemory float64 `json:"allocated_memory,omitempty"` AllocatedMemoryPercentage float64 `json:"allocated_memory_percentage,omitempty"` }
func (SummaryLayerAggreInformation) Header ¶
func (SummaryLayerAggreInformation) Header(iopts ...writer.Option) []string
func (SummaryLayerAggreInformation) MarshalEasyJSON ¶
func (v SummaryLayerAggreInformation) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SummaryLayerAggreInformation) MarshalJSON ¶
func (v SummaryLayerAggreInformation) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (SummaryLayerAggreInformation) Row ¶
func (s SummaryLayerAggreInformation) Row(iopts ...writer.Option) []string
func (*SummaryLayerAggreInformation) UnmarshalEasyJSON ¶
func (v *SummaryLayerAggreInformation) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SummaryLayerAggreInformation) UnmarshalJSON ¶
func (v *SummaryLayerAggreInformation) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SummaryLayerAggreInformations ¶
type SummaryLayerAggreInformations []SummaryLayerAggreInformation
func (SummaryLayerAggreInformations) MarshalEasyJSON ¶
func (v SummaryLayerAggreInformations) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SummaryLayerAggreInformations) MarshalJSON ¶
func (v SummaryLayerAggreInformations) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SummaryLayerAggreInformations) UnmarshalEasyJSON ¶
func (v *SummaryLayerAggreInformations) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SummaryLayerAggreInformations) UnmarshalJSON ¶
func (v *SummaryLayerAggreInformations) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SummaryLayerAggreOccurrenceInformations ¶
type SummaryLayerAggreOccurrenceInformations SummaryLayerAggreInformations
func (SummaryLayerAggreOccurrenceInformations) MarshalEasyJSON ¶
func (v SummaryLayerAggreOccurrenceInformations) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SummaryLayerAggreOccurrenceInformations) MarshalJSON ¶
func (v SummaryLayerAggreOccurrenceInformations) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (SummaryLayerAggreOccurrenceInformations) OpenPiePlot ¶
func (o SummaryLayerAggreOccurrenceInformations) OpenPiePlot() error
func (SummaryLayerAggreOccurrenceInformations) PiePlot ¶
func (o SummaryLayerAggreOccurrenceInformations) PiePlot() *charts.Pie
func (SummaryLayerAggreOccurrenceInformations) PiePlotAdd ¶
func (o SummaryLayerAggreOccurrenceInformations) PiePlotAdd(pie *charts.Pie) *charts.Pie
func (SummaryLayerAggreOccurrenceInformations) PlotName ¶
func (o SummaryLayerAggreOccurrenceInformations) PlotName() string
func (*SummaryLayerAggreOccurrenceInformations) UnmarshalEasyJSON ¶
func (v *SummaryLayerAggreOccurrenceInformations) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SummaryLayerAggreOccurrenceInformations) UnmarshalJSON ¶
func (v *SummaryLayerAggreOccurrenceInformations) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
func (SummaryLayerAggreOccurrenceInformations) WritePiePlot ¶
func (o SummaryLayerAggreOccurrenceInformations) WritePiePlot(path string) error
type SummaryLayerAllocatedMemoryInformations ¶
type SummaryLayerAllocatedMemoryInformations SummaryLayerInformations
func (SummaryLayerAllocatedMemoryInformations) BarPlot ¶
func (o SummaryLayerAllocatedMemoryInformations) BarPlot() *charts.Bar
func (SummaryLayerAllocatedMemoryInformations) BarPlotAdd ¶
func (o SummaryLayerAllocatedMemoryInformations) BarPlotAdd(bar0 *charts.Bar) *charts.Bar
func (SummaryLayerAllocatedMemoryInformations) MarshalEasyJSON ¶
func (v SummaryLayerAllocatedMemoryInformations) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SummaryLayerAllocatedMemoryInformations) MarshalJSON ¶
func (v SummaryLayerAllocatedMemoryInformations) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (SummaryLayerAllocatedMemoryInformations) OpenBarPlot ¶
func (o SummaryLayerAllocatedMemoryInformations) OpenBarPlot() error
func (SummaryLayerAllocatedMemoryInformations) PlotName ¶
func (o SummaryLayerAllocatedMemoryInformations) PlotName() string
func (*SummaryLayerAllocatedMemoryInformations) UnmarshalEasyJSON ¶
func (v *SummaryLayerAllocatedMemoryInformations) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SummaryLayerAllocatedMemoryInformations) UnmarshalJSON ¶
func (v *SummaryLayerAllocatedMemoryInformations) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
func (SummaryLayerAllocatedMemoryInformations) WriteBarPlot ¶
func (o SummaryLayerAllocatedMemoryInformations) WriteBarPlot(path string) error
type SummaryLayerInformation ¶
type SummaryLayerInformation struct { SummaryModelInformation `json:",inline"` Index int `json:"index,omitempty"` Name string `json:"layer_name,omitempty"` Type string `json:"type,omitempty"` StaticType string `json:"static_type,omitempty"` Shape string `json:"shap,omitempty"` Duration float64 `json:"mean_duration,omitempty"` Durations []int64 `json:"durations,omitempty"` AllocatedBytes []int64 `json:"allocated_bytes,omitempty"` // Total number of bytes allocated if known PeakAllocatedBytes []int64 `json:"peak_allocated_bytes,omitempty"` // Total number of ebytes allocated if known AllocatorBytesInUse []int64 `json:"allocator_bytes_in_use,omitempty"` AllocatorName string `json:"allocator_name,omitempty"` // Name of the allocator used HostTempMemSizes []int64 `json:"host_temp_mem_bytess,omitempty"` DeviceTempMemSizes []int64 `json:"device_temp_mem_bytess,omitempty"` HostPersistentMemSizes []int64 `json:"host_persistent_mem_bytess,omitempty"` DevicePersistentMemSizes []int64 `json:"device_persistent_mem_bytess,omitempty"` }
func (SummaryLayerInformation) Header ¶
func (SummaryLayerInformation) Header(iopts ...writer.Option) []string
func (SummaryLayerInformation) MarshalEasyJSON ¶
func (v SummaryLayerInformation) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SummaryLayerInformation) MarshalJSON ¶
func (v SummaryLayerInformation) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (SummaryLayerInformation) Row ¶
func (s SummaryLayerInformation) Row(iopts ...writer.Option) []string
func (*SummaryLayerInformation) UnmarshalEasyJSON ¶
func (v *SummaryLayerInformation) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SummaryLayerInformation) UnmarshalJSON ¶
func (v *SummaryLayerInformation) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SummaryLayerInformations ¶
type SummaryLayerInformations []SummaryLayerInformation
func (SummaryLayerInformations) GetLayerInfoByName ¶
func (s SummaryLayerInformations) GetLayerInfoByName(name string) SummaryLayerInformation
func (SummaryLayerInformations) MarshalEasyJSON ¶
func (v SummaryLayerInformations) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SummaryLayerInformations) MarshalJSON ¶
func (v SummaryLayerInformations) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SummaryLayerInformations) UnmarshalEasyJSON ¶
func (v *SummaryLayerInformations) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SummaryLayerInformations) UnmarshalJSON ¶
func (v *SummaryLayerInformations) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SummaryLayerLatencyInformations ¶
type SummaryLayerLatencyInformations SummaryLayerInformations
func (SummaryLayerLatencyInformations) BarPlot ¶
func (o SummaryLayerLatencyInformations) BarPlot() *charts.Bar
func (SummaryLayerLatencyInformations) BarPlotAdd ¶
func (o SummaryLayerLatencyInformations) BarPlotAdd(bar0 *charts.Bar) *charts.Bar
func (SummaryLayerLatencyInformations) BoxPlot ¶
func (o SummaryLayerLatencyInformations) BoxPlot() *charts.BoxPlot
func (SummaryLayerLatencyInformations) BoxPlotAdd ¶
func (o SummaryLayerLatencyInformations) BoxPlotAdd(box *charts.BoxPlot) *charts.BoxPlot
func (SummaryLayerLatencyInformations) MarshalEasyJSON ¶
func (v SummaryLayerLatencyInformations) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SummaryLayerLatencyInformations) MarshalJSON ¶
func (v SummaryLayerLatencyInformations) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (SummaryLayerLatencyInformations) OpenBarPlot ¶
func (o SummaryLayerLatencyInformations) OpenBarPlot() error
func (SummaryLayerLatencyInformations) OpenBoxPlot ¶
func (o SummaryLayerLatencyInformations) OpenBoxPlot() error
func (SummaryLayerLatencyInformations) PlotName ¶
func (o SummaryLayerLatencyInformations) PlotName() string
func (*SummaryLayerLatencyInformations) UnmarshalEasyJSON ¶
func (v *SummaryLayerLatencyInformations) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SummaryLayerLatencyInformations) UnmarshalJSON ¶
func (v *SummaryLayerLatencyInformations) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
func (SummaryLayerLatencyInformations) WriteBarPlot ¶
func (o SummaryLayerLatencyInformations) WriteBarPlot(path string) error
func (SummaryLayerLatencyInformations) WriteBoxPlot ¶
func (o SummaryLayerLatencyInformations) WriteBoxPlot(path string) error
type SummaryMeanLayerInformation ¶
type SummaryMeanLayerInformation SummaryLayerInformation
func (SummaryMeanLayerInformation) Header ¶
func (s SummaryMeanLayerInformation) Header(opts ...writer.Option) []string
func (SummaryMeanLayerInformation) MarshalEasyJSON ¶
func (v SummaryMeanLayerInformation) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SummaryMeanLayerInformation) MarshalJSON ¶
func (v SummaryMeanLayerInformation) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (SummaryMeanLayerInformation) Row ¶
func (s SummaryMeanLayerInformation) Row(opts ...writer.Option) []string
func (*SummaryMeanLayerInformation) UnmarshalEasyJSON ¶
func (v *SummaryMeanLayerInformation) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SummaryMeanLayerInformation) UnmarshalJSON ¶
func (v *SummaryMeanLayerInformation) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SummaryMemoryInformation ¶
type SummaryMemoryInformation struct { SummaryBase `json:",inline"` MemoryInformations []MemoryInformation `json:"memory_informations,omitempty"` }
func (SummaryMemoryInformation) MarshalEasyJSON ¶
func (v SummaryMemoryInformation) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SummaryMemoryInformation) MarshalJSON ¶
func (v SummaryMemoryInformation) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SummaryMemoryInformation) UnmarshalEasyJSON ¶
func (v *SummaryMemoryInformation) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SummaryMemoryInformation) UnmarshalJSON ¶
func (v *SummaryMemoryInformation) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SummaryModelAccuracyInformation ¶
type SummaryModelAccuracyInformation struct { SummaryBase `json:",inline"` Top1Accuracy float64 `json:"top1_accuracy,omitempty"` Top5Accuracy float64 `json:"top5_accuracy,omitempty"` }
func (SummaryModelAccuracyInformation) Header ¶
func (SummaryModelAccuracyInformation) Header(opts ...writer.Option) []string
func (SummaryModelAccuracyInformation) MarshalEasyJSON ¶
func (v SummaryModelAccuracyInformation) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SummaryModelAccuracyInformation) MarshalJSON ¶
func (v SummaryModelAccuracyInformation) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (SummaryModelAccuracyInformation) Row ¶
func (s SummaryModelAccuracyInformation) Row(opts ...writer.Option) []string
func (*SummaryModelAccuracyInformation) UnmarshalEasyJSON ¶
func (v *SummaryModelAccuracyInformation) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SummaryModelAccuracyInformation) UnmarshalJSON ¶
func (v *SummaryModelAccuracyInformation) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SummaryModelAccuracyInformations ¶
type SummaryModelAccuracyInformations []SummaryModelAccuracyInformation
func (SummaryModelAccuracyInformations) Group ¶
func (s SummaryModelAccuracyInformations) Group() (SummaryModelAccuracyInformations, error)
type SummaryModelInformation ¶
type SummaryModelInformation struct { SummaryBase `json:",inline,omitempty"` Durations []int64 `json:"durations,omitempty"` Duration float64 `json:"duration,omitempty"` Latency float64 `json:"latency,omitempty"` Throughput float64 `json:"throughput,omitempty"` }
func (SummaryModelInformation) Header ¶
func (SummaryModelInformation) Header(opts ...writer.Option) []string
func (SummaryModelInformation) MarshalEasyJSON ¶
func (v SummaryModelInformation) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SummaryModelInformation) MarshalJSON ¶
func (v SummaryModelInformation) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (SummaryModelInformation) Row ¶
func (s SummaryModelInformation) Row(opts ...writer.Option) []string
func (*SummaryModelInformation) UnmarshalEasyJSON ¶
func (v *SummaryModelInformation) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SummaryModelInformation) UnmarshalJSON ¶
func (v *SummaryModelInformation) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SummaryModelInformations ¶
type SummaryModelInformations []SummaryModelInformation
func (SummaryModelInformations) Len ¶
func (p SummaryModelInformations) Len() int
func (SummaryModelInformations) Less ¶
func (p SummaryModelInformations) Less(i, j int) bool
func (SummaryModelInformations) Swap ¶
func (p SummaryModelInformations) Swap(i, j int)
type SummaryModelInformationsSelector ¶
type SummaryModelInformationsSelector func(elem SummaryModelInformation) float64
type SummaryModelLatencyInformations ¶
type SummaryModelLatencyInformations SummaryModelInformations
func (SummaryModelLatencyInformations) BarPlot ¶
func (o SummaryModelLatencyInformations) BarPlot() *charts.Bar
func (SummaryModelLatencyInformations) BarPlotAdd ¶
func (o SummaryModelLatencyInformations) BarPlotAdd(bar0 *charts.Bar) *charts.Bar
func (SummaryModelLatencyInformations) OpenBarPlot ¶
func (o SummaryModelLatencyInformations) OpenBarPlot() error
func (SummaryModelLatencyInformations) PlotName ¶
func (o SummaryModelLatencyInformations) PlotName() string
func (SummaryModelLatencyInformations) WriteBarPlot ¶
func (o SummaryModelLatencyInformations) WriteBarPlot(path string) error
type SummaryModelThroughputInformations ¶
type SummaryModelThroughputInformations SummaryModelInformations
func (SummaryModelThroughputInformations) BarPlot ¶
func (o SummaryModelThroughputInformations) BarPlot() *charts.Bar
func (SummaryModelThroughputInformations) BarPlotAdd ¶
func (o SummaryModelThroughputInformations) BarPlotAdd(bar0 *charts.Bar) *charts.Bar
func (SummaryModelThroughputInformations) OpenBarPlot ¶
func (o SummaryModelThroughputInformations) OpenBarPlot() error
func (SummaryModelThroughputInformations) PlotName ¶
func (o SummaryModelThroughputInformations) PlotName() string
func (SummaryModelThroughputInformations) WriteBarPlot ¶
func (o SummaryModelThroughputInformations) WriteBarPlot(path string) error
type SystemMemoryInformation ¶
type SystemMemoryInformation struct { StartAvailable int64 `json:"start_available,omitempty"` StartFree int64 `json:"start_free,omitempty"` StartTotal int64 `json:"start_total,omitempty"` FinishAvailable int64 `json:"finish_available,omitempty"` FinishFree int64 `json:"finish_free,omitempty"` FinishTotal int64 `json:"finish_total,omitempty"` }
func (SystemMemoryInformation) MarshalEasyJSON ¶
func (v SystemMemoryInformation) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SystemMemoryInformation) MarshalJSON ¶
func (v SystemMemoryInformation) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SystemMemoryInformation) UnmarshalEasyJSON ¶
func (v *SystemMemoryInformation) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SystemMemoryInformation) UnmarshalJSON ¶
func (v *SystemMemoryInformation) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type TensorDescription ¶
type TensorDescription struct { Dtype int `json:"dtype"` Shape Shape `json:"shape"` AllocationDescription AllocationDescription `json:"allocation_description"` }
type TensorFlowAllocatorMemoryUsed ¶
type TensorFlowAllocatorMemoryUsed struct { AllocatorName string `json:"allocator_name"` TotalBytes int `json:"total_bytes"` PeakBytes int `json:"peak_bytes"` LiveBytes int `json:"live_bytes"` AllocationRecords []AllocationRecords `json:"allocation_records"` AllocatorBytesInUse int `json:"allocator_bytes_in_use"` }
type TensorFlowTagOutput ¶
type TensorFlowTagOutput struct {
TensorDescription TensorDescription `json:"tensor_description"`
}
type TraceInformation ¶
type TraceInformation struct { Traces []model.Trace `bson:"data,omitempty" json:"data,omitempty"` Total int `bson:"total,omitempty" json:"total,omitempty"` Limit int `bson:"limit,omitempty" json:"limit,omitempty"` Offset int `bson:"offset,omitempty" json:"offset,omitempty"` Errors []structuredError `bson:"errors,omitempty" json:"errors,omitempty"` }
func (TraceInformation) MarshalEasyJSON ¶
func (v TraceInformation) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (TraceInformation) MarshalJSON ¶
func (v TraceInformation) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (TraceInformation) Spans ¶
func (info TraceInformation) Spans() Spans
func (*TraceInformation) UnmarshalEasyJSON ¶
func (v *TraceInformation) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*TraceInformation) UnmarshalJSON ¶
func (v *TraceInformation) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
Source Files ¶
- accuracies.go
- accuracy.go
- defaults.go
- divergence.go
- duration_numerics.go
- evaluation.go
- evaluation_easyjson.go
- evaluations.go
- gen-tag_info.go
- generate.go
- init.go
- num.go
- performance.go
- performances.go
- plotter.go
- prediction.go
- selectors.go
- spans.go
- summary.go
- summary_event_flow.go
- summary_gpu_kernel.go
- summary_gpu_kernel_layer_aggre.go
- summary_gpu_kernel_model_aggre.go
- summary_gpu_kernel_name_aggre.go
- summary_gpu_memory.go
- summary_layer.go
- summary_layer_aggre.go
- summary_model.go
- summary_model_accuracy.go
- summary_model_memory.go
- utils.go
- utils_span.go
- utils_tf.go
- zero.go