Documentation
¶
Index ¶
- Variables
- type BenchmarkResult
- func (*BenchmarkResult) Descriptor() ([]byte, []int)deprecated
- func (x *BenchmarkResult) GetArgs() []string
- func (x *BenchmarkResult) GetDurationSeconds() float64
- func (x *BenchmarkResult) GetGames() int32
- func (x *BenchmarkResult) GetP1Result() *BenchmarkResult_PlayerResult
- func (x *BenchmarkResult) GetP2Result() *BenchmarkResult_PlayerResult
- func (x *BenchmarkResult) GetStarted() *timestamppb.Timestamp
- func (*BenchmarkResult) ProtoMessage()
- func (x *BenchmarkResult) ProtoReflect() protoreflect.Message
- func (x *BenchmarkResult) Reset()
- func (x *BenchmarkResult) String() string
- type BenchmarkResult_PlayerResult
- func (*BenchmarkResult_PlayerResult) Descriptor() ([]byte, []int)deprecated
- func (x *BenchmarkResult_PlayerResult) GetIterations() int32
- func (x *BenchmarkResult_PlayerResult) GetModelKey() *hexzpb.ModelKey
- func (x *BenchmarkResult_PlayerResult) GetWins() int32
- func (*BenchmarkResult_PlayerResult) ProtoMessage()
- func (x *BenchmarkResult_PlayerResult) ProtoReflect() protoreflect.Message
- func (x *BenchmarkResult_PlayerResult) Reset()
- func (x *BenchmarkResult_PlayerResult) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_proto_nbench_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BenchmarkResult ¶
type BenchmarkResult struct {
Started *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=started,proto3" json:"started,omitempty"`
DurationSeconds float64 `protobuf:"fixed64,2,opt,name=duration_seconds,json=durationSeconds,proto3" json:"duration_seconds,omitempty"`
Games int32 `protobuf:"varint,3,opt,name=games,proto3" json:"games,omitempty"`
P1Result *BenchmarkResult_PlayerResult `protobuf:"bytes,4,opt,name=p1_result,json=p1Result,proto3" json:"p1_result,omitempty"`
P2Result *BenchmarkResult_PlayerResult `protobuf:"bytes,5,opt,name=p2_result,json=p2Result,proto3" json:"p2_result,omitempty"`
// Arguments that nbench was called with.
Args []string `protobuf:"bytes,6,rep,name=args,proto3" json:"args,omitempty"`
// contains filtered or unexported fields
}
Results of an nbench comparison between two model-based hexz CPU players. These entries can be stored in a JSONlines file to evaluate how a model-based player evolves over time (i.e. across training checkpoints).
func (*BenchmarkResult) Descriptor
deprecated
func (*BenchmarkResult) Descriptor() ([]byte, []int)
Deprecated: Use BenchmarkResult.ProtoReflect.Descriptor instead.
func (*BenchmarkResult) GetArgs ¶
func (x *BenchmarkResult) GetArgs() []string
func (*BenchmarkResult) GetDurationSeconds ¶
func (x *BenchmarkResult) GetDurationSeconds() float64
func (*BenchmarkResult) GetGames ¶
func (x *BenchmarkResult) GetGames() int32
func (*BenchmarkResult) GetP1Result ¶
func (x *BenchmarkResult) GetP1Result() *BenchmarkResult_PlayerResult
func (*BenchmarkResult) GetP2Result ¶
func (x *BenchmarkResult) GetP2Result() *BenchmarkResult_PlayerResult
func (*BenchmarkResult) GetStarted ¶
func (x *BenchmarkResult) GetStarted() *timestamppb.Timestamp
func (*BenchmarkResult) ProtoMessage ¶
func (*BenchmarkResult) ProtoMessage()
func (*BenchmarkResult) ProtoReflect ¶
func (x *BenchmarkResult) ProtoReflect() protoreflect.Message
func (*BenchmarkResult) Reset ¶
func (x *BenchmarkResult) Reset()
func (*BenchmarkResult) String ¶
func (x *BenchmarkResult) String() string
type BenchmarkResult_PlayerResult ¶
type BenchmarkResult_PlayerResult struct {
ModelKey *hexzpb.ModelKey `protobuf:"bytes,1,opt,name=model_key,json=modelKey,proto3" json:"model_key,omitempty"`
Iterations int32 `protobuf:"varint,3,opt,name=iterations,proto3" json:"iterations,omitempty"`
Wins int32 `protobuf:"varint,2,opt,name=wins,proto3" json:"wins,omitempty"`
// contains filtered or unexported fields
}
func (*BenchmarkResult_PlayerResult) Descriptor
deprecated
func (*BenchmarkResult_PlayerResult) Descriptor() ([]byte, []int)
Deprecated: Use BenchmarkResult_PlayerResult.ProtoReflect.Descriptor instead.
func (*BenchmarkResult_PlayerResult) GetIterations ¶
func (x *BenchmarkResult_PlayerResult) GetIterations() int32
func (*BenchmarkResult_PlayerResult) GetModelKey ¶
func (x *BenchmarkResult_PlayerResult) GetModelKey() *hexzpb.ModelKey
func (*BenchmarkResult_PlayerResult) GetWins ¶
func (x *BenchmarkResult_PlayerResult) GetWins() int32
func (*BenchmarkResult_PlayerResult) ProtoMessage ¶
func (*BenchmarkResult_PlayerResult) ProtoMessage()
func (*BenchmarkResult_PlayerResult) ProtoReflect ¶
func (x *BenchmarkResult_PlayerResult) ProtoReflect() protoreflect.Message
func (*BenchmarkResult_PlayerResult) Reset ¶
func (x *BenchmarkResult_PlayerResult) Reset()
func (*BenchmarkResult_PlayerResult) String ¶
func (x *BenchmarkResult_PlayerResult) String() string
Click to show internal directories.
Click to hide internal directories.