Documentation ¶
Overview ¶
Package spherev1alpha is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package spherev1alpha is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterEnvironmentAPIHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterEnvironmentAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client EnvironmentAPIClient) error
- func RegisterEnvironmentAPIHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterEnvironmentAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server EnvironmentAPIServer) error
- func RegisterEnvironmentAPIServer(s *grpc.Server, srv EnvironmentAPIServer)
- func RegisterSphereAPIHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterSphereAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SphereAPIClient) error
- func RegisterSphereAPIHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterSphereAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SphereAPIServer) error
- func RegisterSphereAPIServer(s *grpc.Server, srv SphereAPIServer)
- type BoxSpace
- func (*BoxSpace) Descriptor() ([]byte, []int)
- func (m *BoxSpace) GetHigh() []float32
- func (m *BoxSpace) GetLow() []float32
- func (m *BoxSpace) GetShape() []int32
- func (*BoxSpace) ProtoMessage()
- func (m *BoxSpace) Reset()
- func (m *BoxSpace) String() string
- func (m *BoxSpace) XXX_DiscardUnknown()
- func (m *BoxSpace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BoxSpace) XXX_Merge(src proto.Message)
- func (m *BoxSpace) XXX_Size() int
- func (m *BoxSpace) XXX_Unmarshal(b []byte) error
- type CreateEnvRequest
- func (*CreateEnvRequest) Descriptor() ([]byte, []int)
- func (m *CreateEnvRequest) GetModelName() string
- func (m *CreateEnvRequest) GetWrappers() []*EnvWrapper
- func (*CreateEnvRequest) ProtoMessage()
- func (m *CreateEnvRequest) Reset()
- func (m *CreateEnvRequest) String() string
- func (m *CreateEnvRequest) XXX_DiscardUnknown()
- func (m *CreateEnvRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateEnvRequest) XXX_Merge(src proto.Message)
- func (m *CreateEnvRequest) XXX_Size() int
- func (m *CreateEnvRequest) XXX_Unmarshal(b []byte) error
- type CreateEnvResponse
- func (*CreateEnvResponse) Descriptor() ([]byte, []int)
- func (m *CreateEnvResponse) GetEnvironment() *Environment
- func (*CreateEnvResponse) ProtoMessage()
- func (m *CreateEnvResponse) Reset()
- func (m *CreateEnvResponse) String() string
- func (m *CreateEnvResponse) XXX_DiscardUnknown()
- func (m *CreateEnvResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateEnvResponse) XXX_Merge(src proto.Message)
- func (m *CreateEnvResponse) XXX_Size() int
- func (m *CreateEnvResponse) XXX_Unmarshal(b []byte) error
- type DeepmindAtariWrapper
- func (*DeepmindAtariWrapper) Descriptor() ([]byte, []int)
- func (m *DeepmindAtariWrapper) GetClipRewards() bool
- func (m *DeepmindAtariWrapper) GetEpisodeLife() bool
- func (m *DeepmindAtariWrapper) GetFrameStack() bool
- func (m *DeepmindAtariWrapper) GetScaleFloat() bool
- func (*DeepmindAtariWrapper) ProtoMessage()
- func (m *DeepmindAtariWrapper) Reset()
- func (m *DeepmindAtariWrapper) String() string
- func (m *DeepmindAtariWrapper) XXX_DiscardUnknown()
- func (m *DeepmindAtariWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeepmindAtariWrapper) XXX_Merge(src proto.Message)
- func (m *DeepmindAtariWrapper) XXX_Size() int
- func (m *DeepmindAtariWrapper) XXX_Unmarshal(b []byte) error
- type DeleteEnvRequest
- func (*DeleteEnvRequest) Descriptor() ([]byte, []int)
- func (m *DeleteEnvRequest) GetId() string
- func (*DeleteEnvRequest) ProtoMessage()
- func (m *DeleteEnvRequest) Reset()
- func (m *DeleteEnvRequest) String() string
- func (m *DeleteEnvRequest) XXX_DiscardUnknown()
- func (m *DeleteEnvRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteEnvRequest) XXX_Merge(src proto.Message)
- func (m *DeleteEnvRequest) XXX_Size() int
- func (m *DeleteEnvRequest) XXX_Unmarshal(b []byte) error
- type DeleteEnvResponse
- func (*DeleteEnvResponse) Descriptor() ([]byte, []int)
- func (m *DeleteEnvResponse) GetMessage() string
- func (*DeleteEnvResponse) ProtoMessage()
- func (m *DeleteEnvResponse) Reset()
- func (m *DeleteEnvResponse) String() string
- func (m *DeleteEnvResponse) XXX_DiscardUnknown()
- func (m *DeleteEnvResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteEnvResponse) XXX_Merge(src proto.Message)
- func (m *DeleteEnvResponse) XXX_Size() int
- func (m *DeleteEnvResponse) XXX_Unmarshal(b []byte) error
- type DeleteVideoRequest
- func (*DeleteVideoRequest) Descriptor() ([]byte, []int)
- func (m *DeleteVideoRequest) GetEpisodeId() string
- func (m *DeleteVideoRequest) GetId() string
- func (*DeleteVideoRequest) ProtoMessage()
- func (m *DeleteVideoRequest) Reset()
- func (m *DeleteVideoRequest) String() string
- func (m *DeleteVideoRequest) XXX_DiscardUnknown()
- func (m *DeleteVideoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteVideoRequest) XXX_Merge(src proto.Message)
- func (m *DeleteVideoRequest) XXX_Size() int
- func (m *DeleteVideoRequest) XXX_Unmarshal(b []byte) error
- type DeleteVideoResponse
- func (*DeleteVideoResponse) Descriptor() ([]byte, []int)
- func (m *DeleteVideoResponse) GetMessage() string
- func (*DeleteVideoResponse) ProtoMessage()
- func (m *DeleteVideoResponse) Reset()
- func (m *DeleteVideoResponse) String() string
- func (m *DeleteVideoResponse) XXX_DiscardUnknown()
- func (m *DeleteVideoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteVideoResponse) XXX_Merge(src proto.Message)
- func (m *DeleteVideoResponse) XXX_Size() int
- func (m *DeleteVideoResponse) XXX_Unmarshal(b []byte) error
- type DiscreteSpace
- func (*DiscreteSpace) Descriptor() ([]byte, []int)
- func (m *DiscreteSpace) GetN() int32
- func (*DiscreteSpace) ProtoMessage()
- func (m *DiscreteSpace) Reset()
- func (m *DiscreteSpace) String() string
- func (m *DiscreteSpace) XXX_DiscardUnknown()
- func (m *DiscreteSpace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DiscreteSpace) XXX_Merge(src proto.Message)
- func (m *DiscreteSpace) XXX_Size() int
- func (m *DiscreteSpace) XXX_Unmarshal(b []byte) error
- type Empty
- func (*Empty) Descriptor() ([]byte, []int)
- func (*Empty) ProtoMessage()
- func (m *Empty) Reset()
- func (m *Empty) String() string
- func (m *Empty) XXX_DiscardUnknown()
- func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Empty) XXX_Merge(src proto.Message)
- func (m *Empty) XXX_Size() int
- func (m *Empty) XXX_Unmarshal(b []byte) error
- type EnvWrapper
- func (*EnvWrapper) Descriptor() ([]byte, []int)
- func (m *EnvWrapper) GetDeepmindAtariWrapper() *DeepmindAtariWrapper
- func (m *EnvWrapper) GetWrapper() isEnvWrapper_Wrapper
- func (*EnvWrapper) ProtoMessage()
- func (m *EnvWrapper) Reset()
- func (m *EnvWrapper) String() string
- func (m *EnvWrapper) XXX_DiscardUnknown()
- func (m *EnvWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EnvWrapper) XXX_Merge(src proto.Message)
- func (*EnvWrapper) XXX_OneofWrappers() []interface{}
- func (m *EnvWrapper) XXX_Size() int
- func (m *EnvWrapper) XXX_Unmarshal(b []byte) error
- type EnvWrapper_DeepmindAtariWrapper
- type Environment
- func (*Environment) Descriptor() ([]byte, []int)
- func (m *Environment) GetActionSpace() *Space
- func (m *Environment) GetId() string
- func (m *Environment) GetMaxEpisodeSteps() int32
- func (m *Environment) GetModelName() string
- func (m *Environment) GetNumActions() int32
- func (m *Environment) GetObservationSpace() *Space
- func (*Environment) ProtoMessage()
- func (m *Environment) Reset()
- func (m *Environment) String() string
- func (m *Environment) XXX_DiscardUnknown()
- func (m *Environment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Environment) XXX_Merge(src proto.Message)
- func (m *Environment) XXX_Size() int
- func (m *Environment) XXX_Unmarshal(b []byte) error
- type EnvironmentAPIClient
- type EnvironmentAPIServer
- type EnvironmentAPI_GetVideoClient
- type EnvironmentAPI_GetVideoServer
- type EpisodeResult
- func (*EpisodeResult) Descriptor() ([]byte, []int)
- func (m *EpisodeResult) GetEpisodeId() int32
- func (m *EpisodeResult) GetEpisodeLength() int32
- func (m *EpisodeResult) GetReward() float32
- func (m *EpisodeResult) GetTimestamp() *timestamp.Timestamp
- func (*EpisodeResult) ProtoMessage()
- func (m *EpisodeResult) Reset()
- func (m *EpisodeResult) String() string
- func (m *EpisodeResult) XXX_DiscardUnknown()
- func (m *EpisodeResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EpisodeResult) XXX_Merge(src proto.Message)
- func (m *EpisodeResult) XXX_Size() int
- func (m *EpisodeResult) XXX_Unmarshal(b []byte) error
- type GetEnvRequest
- func (*GetEnvRequest) Descriptor() ([]byte, []int)
- func (m *GetEnvRequest) GetId() string
- func (*GetEnvRequest) ProtoMessage()
- func (m *GetEnvRequest) Reset()
- func (m *GetEnvRequest) String() string
- func (m *GetEnvRequest) XXX_DiscardUnknown()
- func (m *GetEnvRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetEnvRequest) XXX_Merge(src proto.Message)
- func (m *GetEnvRequest) XXX_Size() int
- func (m *GetEnvRequest) XXX_Unmarshal(b []byte) error
- type GetEnvResponse
- func (*GetEnvResponse) Descriptor() ([]byte, []int)
- func (m *GetEnvResponse) GetEnv() *Environment
- func (*GetEnvResponse) ProtoMessage()
- func (m *GetEnvResponse) Reset()
- func (m *GetEnvResponse) String() string
- func (m *GetEnvResponse) XXX_DiscardUnknown()
- func (m *GetEnvResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetEnvResponse) XXX_Merge(src proto.Message)
- func (m *GetEnvResponse) XXX_Size() int
- func (m *GetEnvResponse) XXX_Unmarshal(b []byte) error
- type GetServerRequest
- func (*GetServerRequest) Descriptor() ([]byte, []int)
- func (m *GetServerRequest) GetId() string
- func (*GetServerRequest) ProtoMessage()
- func (m *GetServerRequest) Reset()
- func (m *GetServerRequest) String() string
- func (m *GetServerRequest) XXX_DiscardUnknown()
- func (m *GetServerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetServerRequest) XXX_Merge(src proto.Message)
- func (m *GetServerRequest) XXX_Size() int
- func (m *GetServerRequest) XXX_Unmarshal(b []byte) error
- type GetServerResponse
- func (*GetServerResponse) Descriptor() ([]byte, []int)
- func (m *GetServerResponse) GetServer() *Server
- func (*GetServerResponse) ProtoMessage()
- func (m *GetServerResponse) Reset()
- func (m *GetServerResponse) String() string
- func (m *GetServerResponse) XXX_DiscardUnknown()
- func (m *GetServerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetServerResponse) XXX_Merge(src proto.Message)
- func (m *GetServerResponse) XXX_Size() int
- func (m *GetServerResponse) XXX_Unmarshal(b []byte) error
- type GetVideoRequest
- func (*GetVideoRequest) Descriptor() ([]byte, []int)
- func (m *GetVideoRequest) GetEpisodeId() int32
- func (m *GetVideoRequest) GetId() string
- func (*GetVideoRequest) ProtoMessage()
- func (m *GetVideoRequest) Reset()
- func (m *GetVideoRequest) String() string
- func (m *GetVideoRequest) XXX_DiscardUnknown()
- func (m *GetVideoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetVideoRequest) XXX_Merge(src proto.Message)
- func (m *GetVideoRequest) XXX_Size() int
- func (m *GetVideoRequest) XXX_Unmarshal(b []byte) error
- type GetVideoResponse
- func (*GetVideoResponse) Descriptor() ([]byte, []int)
- func (m *GetVideoResponse) GetChunk() []byte
- func (*GetVideoResponse) ProtoMessage()
- func (m *GetVideoResponse) Reset()
- func (m *GetVideoResponse) String() string
- func (m *GetVideoResponse) XXX_DiscardUnknown()
- func (m *GetVideoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetVideoResponse) XXX_Merge(src proto.Message)
- func (m *GetVideoResponse) XXX_Size() int
- func (m *GetVideoResponse) XXX_Unmarshal(b []byte) error
- type Image
- func (*Image) Descriptor() ([]byte, []int)
- func (m *Image) GetData() []byte
- func (m *Image) GetShape() []int32
- func (*Image) ProtoMessage()
- func (m *Image) Reset()
- func (m *Image) String() string
- func (m *Image) XXX_DiscardUnknown()
- func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Image) XXX_Merge(src proto.Message)
- func (m *Image) XXX_Size() int
- func (m *Image) XXX_Unmarshal(b []byte) error
- type InfoResponse
- func (*InfoResponse) Descriptor() ([]byte, []int)
- func (m *InfoResponse) GetServerName() string
- func (*InfoResponse) ProtoMessage()
- func (m *InfoResponse) Reset()
- func (m *InfoResponse) String() string
- func (m *InfoResponse) XXX_DiscardUnknown()
- func (m *InfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InfoResponse) XXX_Merge(src proto.Message)
- func (m *InfoResponse) XXX_Size() int
- func (m *InfoResponse) XXX_Unmarshal(b []byte) error
- type IsEnvWrapper
- type ListEnvRequest
- func (*ListEnvRequest) Descriptor() ([]byte, []int)
- func (m *ListEnvRequest) GetLimit() int32
- func (m *ListEnvRequest) GetOffset() int32
- func (*ListEnvRequest) ProtoMessage()
- func (m *ListEnvRequest) Reset()
- func (m *ListEnvRequest) String() string
- func (m *ListEnvRequest) XXX_DiscardUnknown()
- func (m *ListEnvRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListEnvRequest) XXX_Merge(src proto.Message)
- func (m *ListEnvRequest) XXX_Size() int
- func (m *ListEnvRequest) XXX_Unmarshal(b []byte) error
- type ListEnvResponse
- func (*ListEnvResponse) Descriptor() ([]byte, []int)
- func (m *ListEnvResponse) GetEnvs() []*Environment
- func (*ListEnvResponse) ProtoMessage()
- func (m *ListEnvResponse) Reset()
- func (m *ListEnvResponse) String() string
- func (m *ListEnvResponse) XXX_DiscardUnknown()
- func (m *ListEnvResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListEnvResponse) XXX_Merge(src proto.Message)
- func (m *ListEnvResponse) XXX_Size() int
- func (m *ListEnvResponse) XXX_Unmarshal(b []byte) error
- type ListModelsRequest
- func (*ListModelsRequest) Descriptor() ([]byte, []int)
- func (m *ListModelsRequest) GetLimit() int32
- func (m *ListModelsRequest) GetOffset() int32
- func (*ListModelsRequest) ProtoMessage()
- func (m *ListModelsRequest) Reset()
- func (m *ListModelsRequest) String() string
- func (m *ListModelsRequest) XXX_DiscardUnknown()
- func (m *ListModelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListModelsRequest) XXX_Merge(src proto.Message)
- func (m *ListModelsRequest) XXX_Size() int
- func (m *ListModelsRequest) XXX_Unmarshal(b []byte) error
- type ListModelsResponse
- func (*ListModelsResponse) Descriptor() ([]byte, []int)
- func (m *ListModelsResponse) GetModels() []*Model
- func (*ListModelsResponse) ProtoMessage()
- func (m *ListModelsResponse) Reset()
- func (m *ListModelsResponse) String() string
- func (m *ListModelsResponse) XXX_DiscardUnknown()
- func (m *ListModelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListModelsResponse) XXX_Merge(src proto.Message)
- func (m *ListModelsResponse) XXX_Size() int
- func (m *ListModelsResponse) XXX_Unmarshal(b []byte) error
- type ListServerRequest
- func (*ListServerRequest) Descriptor() ([]byte, []int)
- func (*ListServerRequest) ProtoMessage()
- func (m *ListServerRequest) Reset()
- func (m *ListServerRequest) String() string
- func (m *ListServerRequest) XXX_DiscardUnknown()
- func (m *ListServerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListServerRequest) XXX_Merge(src proto.Message)
- func (m *ListServerRequest) XXX_Size() int
- func (m *ListServerRequest) XXX_Unmarshal(b []byte) error
- type ListServerResponse
- func (*ListServerResponse) Descriptor() ([]byte, []int)
- func (m *ListServerResponse) GetServers() []*Server
- func (*ListServerResponse) ProtoMessage()
- func (m *ListServerResponse) Reset()
- func (m *ListServerResponse) String() string
- func (m *ListServerResponse) XXX_DiscardUnknown()
- func (m *ListServerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListServerResponse) XXX_Merge(src proto.Message)
- func (m *ListServerResponse) XXX_Size() int
- func (m *ListServerResponse) XXX_Unmarshal(b []byte) error
- type Model
- func (*Model) Descriptor() ([]byte, []int)
- func (m *Model) GetDescription() string
- func (m *Model) GetName() string
- func (*Model) ProtoMessage()
- func (m *Model) Reset()
- func (m *Model) String() string
- func (m *Model) XXX_DiscardUnknown()
- func (m *Model) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Model) XXX_Merge(src proto.Message)
- func (m *Model) XXX_Size() int
- func (m *Model) XXX_Unmarshal(b []byte) error
- type MultiBinarySpace
- func (*MultiBinarySpace) Descriptor() ([]byte, []int)
- func (m *MultiBinarySpace) GetN() int32
- func (*MultiBinarySpace) ProtoMessage()
- func (m *MultiBinarySpace) Reset()
- func (m *MultiBinarySpace) String() string
- func (m *MultiBinarySpace) XXX_DiscardUnknown()
- func (m *MultiBinarySpace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MultiBinarySpace) XXX_Merge(src proto.Message)
- func (m *MultiBinarySpace) XXX_Size() int
- func (m *MultiBinarySpace) XXX_Unmarshal(b []byte) error
- type MultiDiscreteSpace
- func (*MultiDiscreteSpace) Descriptor() ([]byte, []int)
- func (m *MultiDiscreteSpace) GetDiscreteSpaces() []int32
- func (*MultiDiscreteSpace) ProtoMessage()
- func (m *MultiDiscreteSpace) Reset()
- func (m *MultiDiscreteSpace) String() string
- func (m *MultiDiscreteSpace) XXX_DiscardUnknown()
- func (m *MultiDiscreteSpace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MultiDiscreteSpace) XXX_Merge(src proto.Message)
- func (m *MultiDiscreteSpace) XXX_Size() int
- func (m *MultiDiscreteSpace) XXX_Unmarshal(b []byte) error
- type RegisterServerRequest
- func (*RegisterServerRequest) Descriptor() ([]byte, []int)
- func (m *RegisterServerRequest) GetServer() *Server
- func (*RegisterServerRequest) ProtoMessage()
- func (m *RegisterServerRequest) Reset()
- func (m *RegisterServerRequest) String() string
- func (m *RegisterServerRequest) XXX_DiscardUnknown()
- func (m *RegisterServerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisterServerRequest) XXX_Merge(src proto.Message)
- func (m *RegisterServerRequest) XXX_Size() int
- func (m *RegisterServerRequest) XXX_Unmarshal(b []byte) error
- type RegisterServerResponse
- func (*RegisterServerResponse) Descriptor() ([]byte, []int)
- func (m *RegisterServerResponse) GetServer() *Server
- func (*RegisterServerResponse) ProtoMessage()
- func (m *RegisterServerResponse) Reset()
- func (m *RegisterServerResponse) String() string
- func (m *RegisterServerResponse) XXX_DiscardUnknown()
- func (m *RegisterServerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisterServerResponse) XXX_Merge(src proto.Message)
- func (m *RegisterServerResponse) XXX_Size() int
- func (m *RegisterServerResponse) XXX_Unmarshal(b []byte) error
- type RenderEnvRequest
- func (*RenderEnvRequest) Descriptor() ([]byte, []int)
- func (m *RenderEnvRequest) GetId() string
- func (*RenderEnvRequest) ProtoMessage()
- func (m *RenderEnvRequest) Reset()
- func (m *RenderEnvRequest) String() string
- func (m *RenderEnvRequest) XXX_DiscardUnknown()
- func (m *RenderEnvRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RenderEnvRequest) XXX_Merge(src proto.Message)
- func (m *RenderEnvRequest) XXX_Size() int
- func (m *RenderEnvRequest) XXX_Unmarshal(b []byte) error
- type RenderEnvResponse
- func (*RenderEnvResponse) Descriptor() ([]byte, []int)
- func (m *RenderEnvResponse) GetFrame() *Image
- func (*RenderEnvResponse) ProtoMessage()
- func (m *RenderEnvResponse) Reset()
- func (m *RenderEnvResponse) String() string
- func (m *RenderEnvResponse) XXX_DiscardUnknown()
- func (m *RenderEnvResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RenderEnvResponse) XXX_Merge(src proto.Message)
- func (m *RenderEnvResponse) XXX_Size() int
- func (m *RenderEnvResponse) XXX_Unmarshal(b []byte) error
- type ResetEnvRequest
- func (*ResetEnvRequest) Descriptor() ([]byte, []int)
- func (m *ResetEnvRequest) GetId() string
- func (*ResetEnvRequest) ProtoMessage()
- func (m *ResetEnvRequest) Reset()
- func (m *ResetEnvRequest) String() string
- func (m *ResetEnvRequest) XXX_DiscardUnknown()
- func (m *ResetEnvRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResetEnvRequest) XXX_Merge(src proto.Message)
- func (m *ResetEnvRequest) XXX_Size() int
- func (m *ResetEnvRequest) XXX_Unmarshal(b []byte) error
- type ResetEnvResponse
- func (*ResetEnvResponse) Descriptor() ([]byte, []int)
- func (m *ResetEnvResponse) GetGoal() *Tensor
- func (m *ResetEnvResponse) GetObservation() *Tensor
- func (*ResetEnvResponse) ProtoMessage()
- func (m *ResetEnvResponse) Reset()
- func (m *ResetEnvResponse) String() string
- func (m *ResetEnvResponse) XXX_DiscardUnknown()
- func (m *ResetEnvResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResetEnvResponse) XXX_Merge(src proto.Message)
- func (m *ResetEnvResponse) XXX_Size() int
- func (m *ResetEnvResponse) XXX_Unmarshal(b []byte) error
- type ResultsRequest
- func (*ResultsRequest) Descriptor() ([]byte, []int)
- func (m *ResultsRequest) GetId() string
- func (*ResultsRequest) ProtoMessage()
- func (m *ResultsRequest) Reset()
- func (m *ResultsRequest) String() string
- func (m *ResultsRequest) XXX_DiscardUnknown()
- func (m *ResultsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResultsRequest) XXX_Merge(src proto.Message)
- func (m *ResultsRequest) XXX_Size() int
- func (m *ResultsRequest) XXX_Unmarshal(b []byte) error
- type ResultsResponse
- func (*ResultsResponse) Descriptor() ([]byte, []int)
- func (m *ResultsResponse) GetEpisodeResults() map[int32]*EpisodeResult
- func (m *ResultsResponse) GetVideos() map[int32]*Video
- func (*ResultsResponse) ProtoMessage()
- func (m *ResultsResponse) Reset()
- func (m *ResultsResponse) String() string
- func (m *ResultsResponse) XXX_DiscardUnknown()
- func (m *ResultsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResultsResponse) XXX_Merge(src proto.Message)
- func (m *ResultsResponse) XXX_Size() int
- func (m *ResultsResponse) XXX_Unmarshal(b []byte) error
- type SampleActionRequest
- func (*SampleActionRequest) Descriptor() ([]byte, []int)
- func (m *SampleActionRequest) GetId() string
- func (*SampleActionRequest) ProtoMessage()
- func (m *SampleActionRequest) Reset()
- func (m *SampleActionRequest) String() string
- func (m *SampleActionRequest) XXX_DiscardUnknown()
- func (m *SampleActionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SampleActionRequest) XXX_Merge(src proto.Message)
- func (m *SampleActionRequest) XXX_Size() int
- func (m *SampleActionRequest) XXX_Unmarshal(b []byte) error
- type SampleActionResponse
- func (*SampleActionResponse) Descriptor() ([]byte, []int)
- func (m *SampleActionResponse) GetValue() int32
- func (*SampleActionResponse) ProtoMessage()
- func (m *SampleActionResponse) Reset()
- func (m *SampleActionResponse) String() string
- func (m *SampleActionResponse) XXX_DiscardUnknown()
- func (m *SampleActionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SampleActionResponse) XXX_Merge(src proto.Message)
- func (m *SampleActionResponse) XXX_Size() int
- func (m *SampleActionResponse) XXX_Unmarshal(b []byte) error
- type Server
- func (*Server) Descriptor() ([]byte, []int)
- func (m *Server) GetAddress() string
- func (m *Server) GetCreatedTime() *timestamp.Timestamp
- func (m *Server) GetDescription() string
- func (m *Server) GetId() string
- func (m *Server) GetName() string
- func (*Server) ProtoMessage()
- func (m *Server) Reset()
- func (m *Server) String() string
- func (m *Server) XXX_DiscardUnknown()
- func (m *Server) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Server) XXX_Merge(src proto.Message)
- func (m *Server) XXX_Size() int
- func (m *Server) XXX_Unmarshal(b []byte) error
- type Space
- func (*Space) Descriptor() ([]byte, []int)
- func (m *Space) GetBox() *BoxSpace
- func (m *Space) GetDiscrete() *DiscreteSpace
- func (m *Space) GetInfo() isSpace_Info
- func (m *Space) GetMultiBinary() *MultiBinarySpace
- func (m *Space) GetMultiDiscrete() *MultiDiscreteSpace
- func (m *Space) GetName() string
- func (m *Space) GetStructSpace() *StructSpace
- func (*Space) ProtoMessage()
- func (m *Space) Reset()
- func (m *Space) String() string
- func (m *Space) XXX_DiscardUnknown()
- func (m *Space) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Space) XXX_Merge(src proto.Message)
- func (*Space) XXX_OneofWrappers() []interface{}
- func (m *Space) XXX_Size() int
- func (m *Space) XXX_Unmarshal(b []byte) error
- type Space_Box
- type Space_Discrete
- type Space_MultiBinary
- type Space_MultiDiscrete
- type Space_StructSpace
- type SphereAPIClient
- type SphereAPIServer
- type StartRecordEnvRequest
- func (*StartRecordEnvRequest) Descriptor() ([]byte, []int)
- func (m *StartRecordEnvRequest) GetForce() bool
- func (m *StartRecordEnvRequest) GetId() string
- func (m *StartRecordEnvRequest) GetResume() bool
- func (m *StartRecordEnvRequest) GetVideoSamplingRate() StartRecordEnvRequest_VideoSamplingRate
- func (*StartRecordEnvRequest) ProtoMessage()
- func (m *StartRecordEnvRequest) Reset()
- func (m *StartRecordEnvRequest) String() string
- func (m *StartRecordEnvRequest) XXX_DiscardUnknown()
- func (m *StartRecordEnvRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StartRecordEnvRequest) XXX_Merge(src proto.Message)
- func (m *StartRecordEnvRequest) XXX_Size() int
- func (m *StartRecordEnvRequest) XXX_Unmarshal(b []byte) error
- type StartRecordEnvRequest_VideoSamplingRate
- type StartRecordEnvResponse
- func (*StartRecordEnvResponse) Descriptor() ([]byte, []int)
- func (m *StartRecordEnvResponse) GetMessage() string
- func (*StartRecordEnvResponse) ProtoMessage()
- func (m *StartRecordEnvResponse) Reset()
- func (m *StartRecordEnvResponse) String() string
- func (m *StartRecordEnvResponse) XXX_DiscardUnknown()
- func (m *StartRecordEnvResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StartRecordEnvResponse) XXX_Merge(src proto.Message)
- func (m *StartRecordEnvResponse) XXX_Size() int
- func (m *StartRecordEnvResponse) XXX_Unmarshal(b []byte) error
- type StepEnvRequest
- func (*StepEnvRequest) Descriptor() ([]byte, []int)
- func (m *StepEnvRequest) GetAction() int32
- func (m *StepEnvRequest) GetId() string
- func (*StepEnvRequest) ProtoMessage()
- func (m *StepEnvRequest) Reset()
- func (m *StepEnvRequest) String() string
- func (m *StepEnvRequest) XXX_DiscardUnknown()
- func (m *StepEnvRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StepEnvRequest) XXX_Merge(src proto.Message)
- func (m *StepEnvRequest) XXX_Size() int
- func (m *StepEnvRequest) XXX_Unmarshal(b []byte) error
- type StepEnvResponse
- func (*StepEnvResponse) Descriptor() ([]byte, []int)
- func (m *StepEnvResponse) GetDone() bool
- func (m *StepEnvResponse) GetGoal() *Tensor
- func (m *StepEnvResponse) GetInfo() *_struct.Struct
- func (m *StepEnvResponse) GetObservation() *Tensor
- func (m *StepEnvResponse) GetReward() float32
- func (*StepEnvResponse) ProtoMessage()
- func (m *StepEnvResponse) Reset()
- func (m *StepEnvResponse) String() string
- func (m *StepEnvResponse) XXX_DiscardUnknown()
- func (m *StepEnvResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StepEnvResponse) XXX_Merge(src proto.Message)
- func (m *StepEnvResponse) XXX_Size() int
- func (m *StepEnvResponse) XXX_Unmarshal(b []byte) error
- type StopRecordEnvRequest
- func (*StopRecordEnvRequest) Descriptor() ([]byte, []int)
- func (m *StopRecordEnvRequest) GetId() string
- func (*StopRecordEnvRequest) ProtoMessage()
- func (m *StopRecordEnvRequest) Reset()
- func (m *StopRecordEnvRequest) String() string
- func (m *StopRecordEnvRequest) XXX_DiscardUnknown()
- func (m *StopRecordEnvRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StopRecordEnvRequest) XXX_Merge(src proto.Message)
- func (m *StopRecordEnvRequest) XXX_Size() int
- func (m *StopRecordEnvRequest) XXX_Unmarshal(b []byte) error
- type StopRecordEnvResponse
- func (*StopRecordEnvResponse) Descriptor() ([]byte, []int)
- func (m *StopRecordEnvResponse) GetMessage() string
- func (*StopRecordEnvResponse) ProtoMessage()
- func (m *StopRecordEnvResponse) Reset()
- func (m *StopRecordEnvResponse) String() string
- func (m *StopRecordEnvResponse) XXX_DiscardUnknown()
- func (m *StopRecordEnvResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StopRecordEnvResponse) XXX_Merge(src proto.Message)
- func (m *StopRecordEnvResponse) XXX_Size() int
- func (m *StopRecordEnvResponse) XXX_Unmarshal(b []byte) error
- type StructSpace
- func (*StructSpace) Descriptor() ([]byte, []int)
- func (m *StructSpace) GetStruct() map[string]*Space
- func (*StructSpace) ProtoMessage()
- func (m *StructSpace) Reset()
- func (m *StructSpace) String() string
- func (m *StructSpace) XXX_DiscardUnknown()
- func (m *StructSpace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StructSpace) XXX_Merge(src proto.Message)
- func (m *StructSpace) XXX_Size() int
- func (m *StructSpace) XXX_Unmarshal(b []byte) error
- type Tensor
- func (t *Tensor) Dense() *tensor.Dense
- func (*Tensor) Descriptor() ([]byte, []int)
- func (m *Tensor) GetData() []float32
- func (m *Tensor) GetShape() []int32
- func (*Tensor) ProtoMessage()
- func (m *Tensor) Reset()
- func (m *Tensor) String() string
- func (m *Tensor) XXX_DiscardUnknown()
- func (m *Tensor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Tensor) XXX_Merge(src proto.Message)
- func (m *Tensor) XXX_Size() int
- func (m *Tensor) XXX_Unmarshal(b []byte) error
- type UnimplementedEnvironmentAPIServer
- func (*UnimplementedEnvironmentAPIServer) CreateEnv(ctx context.Context, req *CreateEnvRequest) (*CreateEnvResponse, error)
- func (*UnimplementedEnvironmentAPIServer) DeleteEnv(ctx context.Context, req *DeleteEnvRequest) (*DeleteEnvResponse, error)
- func (*UnimplementedEnvironmentAPIServer) DeleteVideo(ctx context.Context, req *DeleteVideoRequest) (*DeleteVideoResponse, error)
- func (*UnimplementedEnvironmentAPIServer) GetEnv(ctx context.Context, req *GetEnvRequest) (*GetEnvResponse, error)
- func (*UnimplementedEnvironmentAPIServer) GetVideo(req *GetVideoRequest, srv EnvironmentAPI_GetVideoServer) error
- func (*UnimplementedEnvironmentAPIServer) Info(ctx context.Context, req *Empty) (*InfoResponse, error)
- func (*UnimplementedEnvironmentAPIServer) ListEnvs(ctx context.Context, req *ListEnvRequest) (*ListEnvResponse, error)
- func (*UnimplementedEnvironmentAPIServer) ListModels(ctx context.Context, req *ListModelsRequest) (*ListModelsResponse, error)
- func (*UnimplementedEnvironmentAPIServer) RenderEnv(ctx context.Context, req *RenderEnvRequest) (*RenderEnvResponse, error)
- func (*UnimplementedEnvironmentAPIServer) ResetEnv(ctx context.Context, req *ResetEnvRequest) (*ResetEnvResponse, error)
- func (*UnimplementedEnvironmentAPIServer) Results(ctx context.Context, req *ResultsRequest) (*ResultsResponse, error)
- func (*UnimplementedEnvironmentAPIServer) SampleAction(ctx context.Context, req *SampleActionRequest) (*SampleActionResponse, error)
- func (*UnimplementedEnvironmentAPIServer) StartRecordEnv(ctx context.Context, req *StartRecordEnvRequest) (*StartRecordEnvResponse, error)
- func (*UnimplementedEnvironmentAPIServer) StepEnv(ctx context.Context, req *StepEnvRequest) (*StepEnvResponse, error)
- func (*UnimplementedEnvironmentAPIServer) StopRecordEnv(ctx context.Context, req *StopRecordEnvRequest) (*StopRecordEnvResponse, error)
- type UnimplementedSphereAPIServer
- func (*UnimplementedSphereAPIServer) GetServer(ctx context.Context, req *GetServerRequest) (*GetServerResponse, error)
- func (*UnimplementedSphereAPIServer) ListServers(ctx context.Context, req *ListServerRequest) (*ListServerResponse, error)
- func (*UnimplementedSphereAPIServer) RegisterServer(ctx context.Context, req *RegisterServerRequest) (*RegisterServerResponse, error)
- func (*UnimplementedSphereAPIServer) UnregisterServer(ctx context.Context, req *UnregisterServerRequest) (*UnregisterServerResponse, error)
- type UnregisterServerRequest
- func (*UnregisterServerRequest) Descriptor() ([]byte, []int)
- func (m *UnregisterServerRequest) GetId() string
- func (*UnregisterServerRequest) ProtoMessage()
- func (m *UnregisterServerRequest) Reset()
- func (m *UnregisterServerRequest) String() string
- func (m *UnregisterServerRequest) XXX_DiscardUnknown()
- func (m *UnregisterServerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnregisterServerRequest) XXX_Merge(src proto.Message)
- func (m *UnregisterServerRequest) XXX_Size() int
- func (m *UnregisterServerRequest) XXX_Unmarshal(b []byte) error
- type UnregisterServerResponse
- func (*UnregisterServerResponse) Descriptor() ([]byte, []int)
- func (m *UnregisterServerResponse) GetMessage() string
- func (*UnregisterServerResponse) ProtoMessage()
- func (m *UnregisterServerResponse) Reset()
- func (m *UnregisterServerResponse) String() string
- func (m *UnregisterServerResponse) XXX_DiscardUnknown()
- func (m *UnregisterServerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnregisterServerResponse) XXX_Merge(src proto.Message)
- func (m *UnregisterServerResponse) XXX_Size() int
- func (m *UnregisterServerResponse) XXX_Unmarshal(b []byte) error
- type Video
- func (*Video) Descriptor() ([]byte, []int)
- func (m *Video) GetContentType() string
- func (m *Video) GetEpisodeId() int32
- func (*Video) ProtoMessage()
- func (m *Video) Reset()
- func (m *Video) String() string
- func (m *Video) XXX_DiscardUnknown()
- func (m *Video) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Video) XXX_Merge(src proto.Message)
- func (m *Video) XXX_Size() int
- func (m *Video) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var StartRecordEnvRequest_VideoSamplingRate_name = map[int32]string{
0: "CUBIC",
1: "NONE",
2: "ALL",
3: "TENTH",
4: "HUNDRETH",
}
var StartRecordEnvRequest_VideoSamplingRate_value = map[string]int32{
"CUBIC": 0,
"NONE": 1,
"ALL": 2,
"TENTH": 3,
"HUNDRETH": 4,
}
Functions ¶
func RegisterEnvironmentAPIHandler ¶
func RegisterEnvironmentAPIHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterEnvironmentAPIHandler registers the http handlers for service EnvironmentAPI to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterEnvironmentAPIHandlerClient ¶
func RegisterEnvironmentAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client EnvironmentAPIClient) error
RegisterEnvironmentAPIHandlerClient registers the http handlers for service EnvironmentAPI to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "EnvironmentAPIClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "EnvironmentAPIClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "EnvironmentAPIClient" to call the correct interceptors.
func RegisterEnvironmentAPIHandlerFromEndpoint ¶
func RegisterEnvironmentAPIHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterEnvironmentAPIHandlerFromEndpoint is same as RegisterEnvironmentAPIHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterEnvironmentAPIHandlerServer ¶
func RegisterEnvironmentAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server EnvironmentAPIServer) error
RegisterEnvironmentAPIHandlerServer registers the http handlers for service EnvironmentAPI to "mux". UnaryRPC :call EnvironmentAPIServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
func RegisterEnvironmentAPIServer ¶
func RegisterEnvironmentAPIServer(s *grpc.Server, srv EnvironmentAPIServer)
func RegisterSphereAPIHandler ¶
func RegisterSphereAPIHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterSphereAPIHandler registers the http handlers for service SphereAPI to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterSphereAPIHandlerClient ¶
func RegisterSphereAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SphereAPIClient) error
RegisterSphereAPIHandlerClient registers the http handlers for service SphereAPI to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SphereAPIClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SphereAPIClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "SphereAPIClient" to call the correct interceptors.
func RegisterSphereAPIHandlerFromEndpoint ¶
func RegisterSphereAPIHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterSphereAPIHandlerFromEndpoint is same as RegisterSphereAPIHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterSphereAPIHandlerServer ¶
func RegisterSphereAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SphereAPIServer) error
RegisterSphereAPIHandlerServer registers the http handlers for service SphereAPI to "mux". UnaryRPC :call SphereAPIServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
func RegisterSphereAPIServer ¶
func RegisterSphereAPIServer(s *grpc.Server, srv SphereAPIServer)
Types ¶
type BoxSpace ¶
type BoxSpace struct { // Shape of box. Shape []int32 `protobuf:"varint,1,rep,packed,name=shape,proto3" json:"shape,omitempty"` // From low. Low []float32 `protobuf:"fixed32,2,rep,packed,name=low,proto3" json:"low,omitempty"` // To high. High []float32 `protobuf:"fixed32,3,rep,packed,name=high,proto3" json:"high,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A (possibly unbounded) box in R^n. Specifically, a Box represents the Cartesian product of n closed intervals. Each interval has the form of one of [a, b], (-oo, b], [a, oo), or (-oo, oo).
func (*BoxSpace) Descriptor ¶
func (*BoxSpace) ProtoMessage ¶
func (*BoxSpace) ProtoMessage()
func (*BoxSpace) XXX_DiscardUnknown ¶
func (m *BoxSpace) XXX_DiscardUnknown()
func (*BoxSpace) XXX_Marshal ¶
func (*BoxSpace) XXX_Unmarshal ¶
type CreateEnvRequest ¶
type CreateEnvRequest struct { // Name of the environment model. ModelName string `protobuf:"bytes,1,opt,name=model_name,json=modelName,proto3" json:"model_name,omitempty"` // Wrappers for the environment. Wrappers []*EnvWrapper `protobuf:"bytes,2,rep,name=wrappers,proto3" json:"wrappers,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request to create an environment
func (*CreateEnvRequest) Descriptor ¶
func (*CreateEnvRequest) Descriptor() ([]byte, []int)
func (*CreateEnvRequest) GetModelName ¶
func (m *CreateEnvRequest) GetModelName() string
func (*CreateEnvRequest) GetWrappers ¶
func (m *CreateEnvRequest) GetWrappers() []*EnvWrapper
func (*CreateEnvRequest) ProtoMessage ¶
func (*CreateEnvRequest) ProtoMessage()
func (*CreateEnvRequest) Reset ¶
func (m *CreateEnvRequest) Reset()
func (*CreateEnvRequest) String ¶
func (m *CreateEnvRequest) String() string
func (*CreateEnvRequest) XXX_DiscardUnknown ¶
func (m *CreateEnvRequest) XXX_DiscardUnknown()
func (*CreateEnvRequest) XXX_Marshal ¶
func (m *CreateEnvRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateEnvRequest) XXX_Merge ¶
func (m *CreateEnvRequest) XXX_Merge(src proto.Message)
func (*CreateEnvRequest) XXX_Size ¶
func (m *CreateEnvRequest) XXX_Size() int
func (*CreateEnvRequest) XXX_Unmarshal ¶
func (m *CreateEnvRequest) XXX_Unmarshal(b []byte) error
type CreateEnvResponse ¶
type CreateEnvResponse struct { // Environment created. Environment *Environment `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response from creating an environment.
func (*CreateEnvResponse) Descriptor ¶
func (*CreateEnvResponse) Descriptor() ([]byte, []int)
func (*CreateEnvResponse) GetEnvironment ¶
func (m *CreateEnvResponse) GetEnvironment() *Environment
func (*CreateEnvResponse) ProtoMessage ¶
func (*CreateEnvResponse) ProtoMessage()
func (*CreateEnvResponse) Reset ¶
func (m *CreateEnvResponse) Reset()
func (*CreateEnvResponse) String ¶
func (m *CreateEnvResponse) String() string
func (*CreateEnvResponse) XXX_DiscardUnknown ¶
func (m *CreateEnvResponse) XXX_DiscardUnknown()
func (*CreateEnvResponse) XXX_Marshal ¶
func (m *CreateEnvResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateEnvResponse) XXX_Merge ¶
func (m *CreateEnvResponse) XXX_Merge(src proto.Message)
func (*CreateEnvResponse) XXX_Size ¶
func (m *CreateEnvResponse) XXX_Size() int
func (*CreateEnvResponse) XXX_Unmarshal ¶
func (m *CreateEnvResponse) XXX_Unmarshal(b []byte) error
type DeepmindAtariWrapper ¶
type DeepmindAtariWrapper struct { // Make end-of-life == end-of-episode, but only reset on true game over. // Defaults to true. EpisodeLife bool `protobuf:"varint,1,opt,name=episode_life,json=episodeLife,proto3" json:"episode_life,omitempty"` // Bin reward to {+1, 0, -1} by its sign // Defaults to true. ClipRewards bool `protobuf:"varint,2,opt,name=clip_rewards,json=clipRewards,proto3" json:"clip_rewards,omitempty"` // Returns lazy array, which is much more memory efficient. FrameStack bool `protobuf:"varint,3,opt,name=frame_stack,json=frameStack,proto3" json:"frame_stack,omitempty"` // Convert to a scaled float. ScaleFloat bool `protobuf:"varint,4,opt,name=scale_float,json=scaleFloat,proto3" json:"scale_float,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DeepmindAtariWrapper is the deepmind wrapper for the atari environment.
func (*DeepmindAtariWrapper) Descriptor ¶
func (*DeepmindAtariWrapper) Descriptor() ([]byte, []int)
func (*DeepmindAtariWrapper) GetClipRewards ¶
func (m *DeepmindAtariWrapper) GetClipRewards() bool
func (*DeepmindAtariWrapper) GetEpisodeLife ¶
func (m *DeepmindAtariWrapper) GetEpisodeLife() bool
func (*DeepmindAtariWrapper) GetFrameStack ¶
func (m *DeepmindAtariWrapper) GetFrameStack() bool
func (*DeepmindAtariWrapper) GetScaleFloat ¶
func (m *DeepmindAtariWrapper) GetScaleFloat() bool
func (*DeepmindAtariWrapper) ProtoMessage ¶
func (*DeepmindAtariWrapper) ProtoMessage()
func (*DeepmindAtariWrapper) Reset ¶
func (m *DeepmindAtariWrapper) Reset()
func (*DeepmindAtariWrapper) String ¶
func (m *DeepmindAtariWrapper) String() string
func (*DeepmindAtariWrapper) XXX_DiscardUnknown ¶
func (m *DeepmindAtariWrapper) XXX_DiscardUnknown()
func (*DeepmindAtariWrapper) XXX_Marshal ¶
func (m *DeepmindAtariWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeepmindAtariWrapper) XXX_Merge ¶
func (m *DeepmindAtariWrapper) XXX_Merge(src proto.Message)
func (*DeepmindAtariWrapper) XXX_Size ¶
func (m *DeepmindAtariWrapper) XXX_Size() int
func (*DeepmindAtariWrapper) XXX_Unmarshal ¶
func (m *DeepmindAtariWrapper) XXX_Unmarshal(b []byte) error
type DeleteEnvRequest ¶
type DeleteEnvRequest struct { // ID of the environment. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request to delete an environment.
func (*DeleteEnvRequest) Descriptor ¶
func (*DeleteEnvRequest) Descriptor() ([]byte, []int)
func (*DeleteEnvRequest) GetId ¶
func (m *DeleteEnvRequest) GetId() string
func (*DeleteEnvRequest) ProtoMessage ¶
func (*DeleteEnvRequest) ProtoMessage()
func (*DeleteEnvRequest) Reset ¶
func (m *DeleteEnvRequest) Reset()
func (*DeleteEnvRequest) String ¶
func (m *DeleteEnvRequest) String() string
func (*DeleteEnvRequest) XXX_DiscardUnknown ¶
func (m *DeleteEnvRequest) XXX_DiscardUnknown()
func (*DeleteEnvRequest) XXX_Marshal ¶
func (m *DeleteEnvRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteEnvRequest) XXX_Merge ¶
func (m *DeleteEnvRequest) XXX_Merge(src proto.Message)
func (*DeleteEnvRequest) XXX_Size ¶
func (m *DeleteEnvRequest) XXX_Size() int
func (*DeleteEnvRequest) XXX_Unmarshal ¶
func (m *DeleteEnvRequest) XXX_Unmarshal(b []byte) error
type DeleteEnvResponse ¶
type DeleteEnvResponse struct { // Message from deleting environment. Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response from deleting an environment.
func (*DeleteEnvResponse) Descriptor ¶
func (*DeleteEnvResponse) Descriptor() ([]byte, []int)
func (*DeleteEnvResponse) GetMessage ¶
func (m *DeleteEnvResponse) GetMessage() string
func (*DeleteEnvResponse) ProtoMessage ¶
func (*DeleteEnvResponse) ProtoMessage()
func (*DeleteEnvResponse) Reset ¶
func (m *DeleteEnvResponse) Reset()
func (*DeleteEnvResponse) String ¶
func (m *DeleteEnvResponse) String() string
func (*DeleteEnvResponse) XXX_DiscardUnknown ¶
func (m *DeleteEnvResponse) XXX_DiscardUnknown()
func (*DeleteEnvResponse) XXX_Marshal ¶
func (m *DeleteEnvResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteEnvResponse) XXX_Merge ¶
func (m *DeleteEnvResponse) XXX_Merge(src proto.Message)
func (*DeleteEnvResponse) XXX_Size ¶
func (m *DeleteEnvResponse) XXX_Size() int
func (*DeleteEnvResponse) XXX_Unmarshal ¶
func (m *DeleteEnvResponse) XXX_Unmarshal(b []byte) error
type DeleteVideoRequest ¶
type DeleteVideoRequest struct { // ID of the environment. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the episode. EpisodeId string `protobuf:"bytes,2,opt,name=episode_id,json=episodeId,proto3" json:"episode_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request to delete a result video.
func (*DeleteVideoRequest) Descriptor ¶
func (*DeleteVideoRequest) Descriptor() ([]byte, []int)
func (*DeleteVideoRequest) GetEpisodeId ¶
func (m *DeleteVideoRequest) GetEpisodeId() string
func (*DeleteVideoRequest) GetId ¶
func (m *DeleteVideoRequest) GetId() string
func (*DeleteVideoRequest) ProtoMessage ¶
func (*DeleteVideoRequest) ProtoMessage()
func (*DeleteVideoRequest) Reset ¶
func (m *DeleteVideoRequest) Reset()
func (*DeleteVideoRequest) String ¶
func (m *DeleteVideoRequest) String() string
func (*DeleteVideoRequest) XXX_DiscardUnknown ¶
func (m *DeleteVideoRequest) XXX_DiscardUnknown()
func (*DeleteVideoRequest) XXX_Marshal ¶
func (m *DeleteVideoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteVideoRequest) XXX_Merge ¶
func (m *DeleteVideoRequest) XXX_Merge(src proto.Message)
func (*DeleteVideoRequest) XXX_Size ¶
func (m *DeleteVideoRequest) XXX_Size() int
func (*DeleteVideoRequest) XXX_Unmarshal ¶
func (m *DeleteVideoRequest) XXX_Unmarshal(b []byte) error
type DeleteVideoResponse ¶
type DeleteVideoResponse struct { // Message from deletion. Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response from deleting a video.
func (*DeleteVideoResponse) Descriptor ¶
func (*DeleteVideoResponse) Descriptor() ([]byte, []int)
func (*DeleteVideoResponse) GetMessage ¶
func (m *DeleteVideoResponse) GetMessage() string
func (*DeleteVideoResponse) ProtoMessage ¶
func (*DeleteVideoResponse) ProtoMessage()
func (*DeleteVideoResponse) Reset ¶
func (m *DeleteVideoResponse) Reset()
func (*DeleteVideoResponse) String ¶
func (m *DeleteVideoResponse) String() string
func (*DeleteVideoResponse) XXX_DiscardUnknown ¶
func (m *DeleteVideoResponse) XXX_DiscardUnknown()
func (*DeleteVideoResponse) XXX_Marshal ¶
func (m *DeleteVideoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteVideoResponse) XXX_Merge ¶
func (m *DeleteVideoResponse) XXX_Merge(src proto.Message)
func (*DeleteVideoResponse) XXX_Size ¶
func (m *DeleteVideoResponse) XXX_Size() int
func (*DeleteVideoResponse) XXX_Unmarshal ¶
func (m *DeleteVideoResponse) XXX_Unmarshal(b []byte) error
type DiscreteSpace ¶
type DiscreteSpace struct { // Upper bound of discrete space n-1. N int32 `protobuf:"varint,1,opt,name=n,proto3" json:"n,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A discrete space in math:`{ 0, 1, ..., n-1 \}`.
func (*DiscreteSpace) Descriptor ¶
func (*DiscreteSpace) Descriptor() ([]byte, []int)
func (*DiscreteSpace) GetN ¶
func (m *DiscreteSpace) GetN() int32
func (*DiscreteSpace) ProtoMessage ¶
func (*DiscreteSpace) ProtoMessage()
func (*DiscreteSpace) Reset ¶
func (m *DiscreteSpace) Reset()
func (*DiscreteSpace) String ¶
func (m *DiscreteSpace) String() string
func (*DiscreteSpace) XXX_DiscardUnknown ¶
func (m *DiscreteSpace) XXX_DiscardUnknown()
func (*DiscreteSpace) XXX_Marshal ¶
func (m *DiscreteSpace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DiscreteSpace) XXX_Merge ¶
func (m *DiscreteSpace) XXX_Merge(src proto.Message)
func (*DiscreteSpace) XXX_Size ¶
func (m *DiscreteSpace) XXX_Size() int
func (*DiscreteSpace) XXX_Unmarshal ¶
func (m *DiscreteSpace) XXX_Unmarshal(b []byte) error
type Empty ¶
type Empty struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Empty message.
func (*Empty) Descriptor ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) XXX_DiscardUnknown ¶
func (m *Empty) XXX_DiscardUnknown()
func (*Empty) XXX_Marshal ¶
func (*Empty) XXX_Unmarshal ¶
type EnvWrapper ¶
type EnvWrapper struct { // Types that are valid to be assigned to Wrapper: // *EnvWrapper_DeepmindAtariWrapper Wrapper isEnvWrapper_Wrapper `protobuf_oneof:"wrapper"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
EnvWrapper is an environment wrapper.
func (*EnvWrapper) Descriptor ¶
func (*EnvWrapper) Descriptor() ([]byte, []int)
func (*EnvWrapper) GetDeepmindAtariWrapper ¶
func (m *EnvWrapper) GetDeepmindAtariWrapper() *DeepmindAtariWrapper
func (*EnvWrapper) GetWrapper ¶
func (m *EnvWrapper) GetWrapper() isEnvWrapper_Wrapper
func (*EnvWrapper) ProtoMessage ¶
func (*EnvWrapper) ProtoMessage()
func (*EnvWrapper) Reset ¶
func (m *EnvWrapper) Reset()
func (*EnvWrapper) String ¶
func (m *EnvWrapper) String() string
func (*EnvWrapper) XXX_DiscardUnknown ¶
func (m *EnvWrapper) XXX_DiscardUnknown()
func (*EnvWrapper) XXX_Marshal ¶
func (m *EnvWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EnvWrapper) XXX_Merge ¶
func (m *EnvWrapper) XXX_Merge(src proto.Message)
func (*EnvWrapper) XXX_OneofWrappers ¶
func (*EnvWrapper) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*EnvWrapper) XXX_Size ¶
func (m *EnvWrapper) XXX_Size() int
func (*EnvWrapper) XXX_Unmarshal ¶
func (m *EnvWrapper) XXX_Unmarshal(b []byte) error
type EnvWrapper_DeepmindAtariWrapper ¶
type EnvWrapper_DeepmindAtariWrapper struct {
DeepmindAtariWrapper *DeepmindAtariWrapper `protobuf:"bytes,1,opt,name=deepmind_atari_wrapper,json=deepmindAtariWrapper,proto3,oneof"`
}
type Environment ¶
type Environment struct { // Name of the model used to build the environment. ModelName string `protobuf:"bytes,1,opt,name=model_name,json=modelName,proto3" json:"model_name,omitempty"` // ID of the environment. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // Action space info ActionSpace *Space `protobuf:"bytes,3,opt,name=action_space,json=actionSpace,proto3" json:"action_space,omitempty"` // Observation space info ObservationSpace *Space `protobuf:"bytes,4,opt,name=observation_space,json=observationSpace,proto3" json:"observation_space,omitempty"` // Number of potential actions. NumActions int32 `protobuf:"varint,5,opt,name=num_actions,json=numActions,proto3" json:"num_actions,omitempty"` // Maximum number of episode steps. MaxEpisodeSteps int32 `protobuf:"varint,6,opt,name=max_episode_steps,json=maxEpisodeSteps,proto3" json:"max_episode_steps,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Environment agents can interact with.
func (*Environment) Descriptor ¶
func (*Environment) Descriptor() ([]byte, []int)
func (*Environment) GetActionSpace ¶
func (m *Environment) GetActionSpace() *Space
func (*Environment) GetId ¶
func (m *Environment) GetId() string
func (*Environment) GetMaxEpisodeSteps ¶
func (m *Environment) GetMaxEpisodeSteps() int32
func (*Environment) GetModelName ¶
func (m *Environment) GetModelName() string
func (*Environment) GetNumActions ¶
func (m *Environment) GetNumActions() int32
func (*Environment) GetObservationSpace ¶
func (m *Environment) GetObservationSpace() *Space
func (*Environment) ProtoMessage ¶
func (*Environment) ProtoMessage()
func (*Environment) Reset ¶
func (m *Environment) Reset()
func (*Environment) String ¶
func (m *Environment) String() string
func (*Environment) XXX_DiscardUnknown ¶
func (m *Environment) XXX_DiscardUnknown()
func (*Environment) XXX_Marshal ¶
func (m *Environment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Environment) XXX_Merge ¶
func (m *Environment) XXX_Merge(src proto.Message)
func (*Environment) XXX_Size ¶
func (m *Environment) XXX_Size() int
func (*Environment) XXX_Unmarshal ¶
func (m *Environment) XXX_Unmarshal(b []byte) error
type EnvironmentAPIClient ¶
type EnvironmentAPIClient interface { // Info about the environment. Info(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*InfoResponse, error) // Create an environment. CreateEnv(ctx context.Context, in *CreateEnvRequest, opts ...grpc.CallOption) (*CreateEnvResponse, error) // List all environments. ListEnvs(ctx context.Context, in *ListEnvRequest, opts ...grpc.CallOption) (*ListEnvResponse, error) // List all environment models that can be created. ListModels(ctx context.Context, in *ListModelsRequest, opts ...grpc.CallOption) (*ListModelsResponse, error) // Gen an environment. GetEnv(ctx context.Context, in *GetEnvRequest, opts ...grpc.CallOption) (*GetEnvResponse, error) // Reset an environment. ResetEnv(ctx context.Context, in *ResetEnvRequest, opts ...grpc.CallOption) (*ResetEnvResponse, error) // Step through an environment. StepEnv(ctx context.Context, in *StepEnvRequest, opts ...grpc.CallOption) (*StepEnvResponse, error) // Get a sample action for the environment. SampleAction(ctx context.Context, in *SampleActionRequest, opts ...grpc.CallOption) (*SampleActionResponse, error) // RenderEnv the current environment state. RenderEnv(ctx context.Context, in *RenderEnvRequest, opts ...grpc.CallOption) (*RenderEnvResponse, error) // Start recording an environment. StartRecordEnv(ctx context.Context, in *StartRecordEnvRequest, opts ...grpc.CallOption) (*StartRecordEnvResponse, error) // Stop recording an environment. StopRecordEnv(ctx context.Context, in *StopRecordEnvRequest, opts ...grpc.CallOption) (*StopRecordEnvResponse, error) // Results from the environment. Results(ctx context.Context, in *ResultsRequest, opts ...grpc.CallOption) (*ResultsResponse, error) // Stream result video. GetVideo(ctx context.Context, in *GetVideoRequest, opts ...grpc.CallOption) (EnvironmentAPI_GetVideoClient, error) // Delete a result video. DeleteVideo(ctx context.Context, in *DeleteVideoRequest, opts ...grpc.CallOption) (*DeleteVideoResponse, error) // Delete an environment. DeleteEnv(ctx context.Context, in *DeleteEnvRequest, opts ...grpc.CallOption) (*DeleteEnvResponse, error) }
EnvironmentAPIClient is the client API for EnvironmentAPI service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewEnvironmentAPIClient ¶
func NewEnvironmentAPIClient(cc *grpc.ClientConn) EnvironmentAPIClient
type EnvironmentAPIServer ¶
type EnvironmentAPIServer interface { // Info about the environment. Info(context.Context, *Empty) (*InfoResponse, error) // Create an environment. CreateEnv(context.Context, *CreateEnvRequest) (*CreateEnvResponse, error) // List all environments. ListEnvs(context.Context, *ListEnvRequest) (*ListEnvResponse, error) // List all environment models that can be created. ListModels(context.Context, *ListModelsRequest) (*ListModelsResponse, error) // Gen an environment. GetEnv(context.Context, *GetEnvRequest) (*GetEnvResponse, error) // Reset an environment. ResetEnv(context.Context, *ResetEnvRequest) (*ResetEnvResponse, error) // Step through an environment. StepEnv(context.Context, *StepEnvRequest) (*StepEnvResponse, error) // Get a sample action for the environment. SampleAction(context.Context, *SampleActionRequest) (*SampleActionResponse, error) // RenderEnv the current environment state. RenderEnv(context.Context, *RenderEnvRequest) (*RenderEnvResponse, error) // Start recording an environment. StartRecordEnv(context.Context, *StartRecordEnvRequest) (*StartRecordEnvResponse, error) // Stop recording an environment. StopRecordEnv(context.Context, *StopRecordEnvRequest) (*StopRecordEnvResponse, error) // Results from the environment. Results(context.Context, *ResultsRequest) (*ResultsResponse, error) // Stream result video. GetVideo(*GetVideoRequest, EnvironmentAPI_GetVideoServer) error // Delete a result video. DeleteVideo(context.Context, *DeleteVideoRequest) (*DeleteVideoResponse, error) // Delete an environment. DeleteEnv(context.Context, *DeleteEnvRequest) (*DeleteEnvResponse, error) }
EnvironmentAPIServer is the server API for EnvironmentAPI service.
type EnvironmentAPI_GetVideoClient ¶
type EnvironmentAPI_GetVideoClient interface { Recv() (*GetVideoResponse, error) grpc.ClientStream }
type EnvironmentAPI_GetVideoServer ¶
type EnvironmentAPI_GetVideoServer interface { Send(*GetVideoResponse) error grpc.ServerStream }
type EpisodeResult ¶
type EpisodeResult struct { // The episode ID. EpisodeId int32 `protobuf:"varint,1,opt,name=episode_id,json=episodeId,proto3" json:"episode_id,omitempty"` // Time this episode ran. Timestamp *timestamp.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Length of the episode. EpisodeLength int32 `protobuf:"varint,3,opt,name=episode_length,json=episodeLength,proto3" json:"episode_length,omitempty"` // Reward of the episode. Reward float32 `protobuf:"fixed32,4,opt,name=reward,proto3" json:"reward,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Results from a single episode.
func (*EpisodeResult) Descriptor ¶
func (*EpisodeResult) Descriptor() ([]byte, []int)
func (*EpisodeResult) GetEpisodeId ¶
func (m *EpisodeResult) GetEpisodeId() int32
func (*EpisodeResult) GetEpisodeLength ¶
func (m *EpisodeResult) GetEpisodeLength() int32
func (*EpisodeResult) GetReward ¶
func (m *EpisodeResult) GetReward() float32
func (*EpisodeResult) GetTimestamp ¶
func (m *EpisodeResult) GetTimestamp() *timestamp.Timestamp
func (*EpisodeResult) ProtoMessage ¶
func (*EpisodeResult) ProtoMessage()
func (*EpisodeResult) Reset ¶
func (m *EpisodeResult) Reset()
func (*EpisodeResult) String ¶
func (m *EpisodeResult) String() string
func (*EpisodeResult) XXX_DiscardUnknown ¶
func (m *EpisodeResult) XXX_DiscardUnknown()
func (*EpisodeResult) XXX_Marshal ¶
func (m *EpisodeResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EpisodeResult) XXX_Merge ¶
func (m *EpisodeResult) XXX_Merge(src proto.Message)
func (*EpisodeResult) XXX_Size ¶
func (m *EpisodeResult) XXX_Size() int
func (*EpisodeResult) XXX_Unmarshal ¶
func (m *EpisodeResult) XXX_Unmarshal(b []byte) error
type GetEnvRequest ¶
type GetEnvRequest struct { // ID of the environment. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request to get an environment.
func (*GetEnvRequest) Descriptor ¶
func (*GetEnvRequest) Descriptor() ([]byte, []int)
func (*GetEnvRequest) GetId ¶
func (m *GetEnvRequest) GetId() string
func (*GetEnvRequest) ProtoMessage ¶
func (*GetEnvRequest) ProtoMessage()
func (*GetEnvRequest) Reset ¶
func (m *GetEnvRequest) Reset()
func (*GetEnvRequest) String ¶
func (m *GetEnvRequest) String() string
func (*GetEnvRequest) XXX_DiscardUnknown ¶
func (m *GetEnvRequest) XXX_DiscardUnknown()
func (*GetEnvRequest) XXX_Marshal ¶
func (m *GetEnvRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetEnvRequest) XXX_Merge ¶
func (m *GetEnvRequest) XXX_Merge(src proto.Message)
func (*GetEnvRequest) XXX_Size ¶
func (m *GetEnvRequest) XXX_Size() int
func (*GetEnvRequest) XXX_Unmarshal ¶
func (m *GetEnvRequest) XXX_Unmarshal(b []byte) error
type GetEnvResponse ¶
type GetEnvResponse struct { // Environment returned. Env *Environment `protobuf:"bytes,1,opt,name=env,proto3" json:"env,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response from getting an environment.
func (*GetEnvResponse) Descriptor ¶
func (*GetEnvResponse) Descriptor() ([]byte, []int)
func (*GetEnvResponse) GetEnv ¶
func (m *GetEnvResponse) GetEnv() *Environment
func (*GetEnvResponse) ProtoMessage ¶
func (*GetEnvResponse) ProtoMessage()
func (*GetEnvResponse) Reset ¶
func (m *GetEnvResponse) Reset()
func (*GetEnvResponse) String ¶
func (m *GetEnvResponse) String() string
func (*GetEnvResponse) XXX_DiscardUnknown ¶
func (m *GetEnvResponse) XXX_DiscardUnknown()
func (*GetEnvResponse) XXX_Marshal ¶
func (m *GetEnvResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetEnvResponse) XXX_Merge ¶
func (m *GetEnvResponse) XXX_Merge(src proto.Message)
func (*GetEnvResponse) XXX_Size ¶
func (m *GetEnvResponse) XXX_Size() int
func (*GetEnvResponse) XXX_Unmarshal ¶
func (m *GetEnvResponse) XXX_Unmarshal(b []byte) error
type GetServerRequest ¶
type GetServerRequest struct { // ID of the server. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request to get a server.
func (*GetServerRequest) Descriptor ¶
func (*GetServerRequest) Descriptor() ([]byte, []int)
func (*GetServerRequest) GetId ¶
func (m *GetServerRequest) GetId() string
func (*GetServerRequest) ProtoMessage ¶
func (*GetServerRequest) ProtoMessage()
func (*GetServerRequest) Reset ¶
func (m *GetServerRequest) Reset()
func (*GetServerRequest) String ¶
func (m *GetServerRequest) String() string
func (*GetServerRequest) XXX_DiscardUnknown ¶
func (m *GetServerRequest) XXX_DiscardUnknown()
func (*GetServerRequest) XXX_Marshal ¶
func (m *GetServerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetServerRequest) XXX_Merge ¶
func (m *GetServerRequest) XXX_Merge(src proto.Message)
func (*GetServerRequest) XXX_Size ¶
func (m *GetServerRequest) XXX_Size() int
func (*GetServerRequest) XXX_Unmarshal ¶
func (m *GetServerRequest) XXX_Unmarshal(b []byte) error
type GetServerResponse ¶
type GetServerResponse struct { // Server retrieved. Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response from getting a server.
func (*GetServerResponse) Descriptor ¶
func (*GetServerResponse) Descriptor() ([]byte, []int)
func (*GetServerResponse) GetServer ¶
func (m *GetServerResponse) GetServer() *Server
func (*GetServerResponse) ProtoMessage ¶
func (*GetServerResponse) ProtoMessage()
func (*GetServerResponse) Reset ¶
func (m *GetServerResponse) Reset()
func (*GetServerResponse) String ¶
func (m *GetServerResponse) String() string
func (*GetServerResponse) XXX_DiscardUnknown ¶
func (m *GetServerResponse) XXX_DiscardUnknown()
func (*GetServerResponse) XXX_Marshal ¶
func (m *GetServerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetServerResponse) XXX_Merge ¶
func (m *GetServerResponse) XXX_Merge(src proto.Message)
func (*GetServerResponse) XXX_Size ¶
func (m *GetServerResponse) XXX_Size() int
func (*GetServerResponse) XXX_Unmarshal ¶
func (m *GetServerResponse) XXX_Unmarshal(b []byte) error
type GetVideoRequest ¶
type GetVideoRequest struct { // ID of the environment. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the episode. EpisodeId int32 `protobuf:"varint,2,opt,name=episode_id,json=episodeId,proto3" json:"episode_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request to get a result video.
func (*GetVideoRequest) Descriptor ¶
func (*GetVideoRequest) Descriptor() ([]byte, []int)
func (*GetVideoRequest) GetEpisodeId ¶
func (m *GetVideoRequest) GetEpisodeId() int32
func (*GetVideoRequest) GetId ¶
func (m *GetVideoRequest) GetId() string
func (*GetVideoRequest) ProtoMessage ¶
func (*GetVideoRequest) ProtoMessage()
func (*GetVideoRequest) Reset ¶
func (m *GetVideoRequest) Reset()
func (*GetVideoRequest) String ¶
func (m *GetVideoRequest) String() string
func (*GetVideoRequest) XXX_DiscardUnknown ¶
func (m *GetVideoRequest) XXX_DiscardUnknown()
func (*GetVideoRequest) XXX_Marshal ¶
func (m *GetVideoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetVideoRequest) XXX_Merge ¶
func (m *GetVideoRequest) XXX_Merge(src proto.Message)
func (*GetVideoRequest) XXX_Size ¶
func (m *GetVideoRequest) XXX_Size() int
func (*GetVideoRequest) XXX_Unmarshal ¶
func (m *GetVideoRequest) XXX_Unmarshal(b []byte) error
type GetVideoResponse ¶
type GetVideoResponse struct { // Chunk of mp4 video. Chunk []byte `protobuf:"bytes,1,opt,name=chunk,proto3" json:"chunk,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response with chunked result video.
func (*GetVideoResponse) Descriptor ¶
func (*GetVideoResponse) Descriptor() ([]byte, []int)
func (*GetVideoResponse) GetChunk ¶
func (m *GetVideoResponse) GetChunk() []byte
func (*GetVideoResponse) ProtoMessage ¶
func (*GetVideoResponse) ProtoMessage()
func (*GetVideoResponse) Reset ¶
func (m *GetVideoResponse) Reset()
func (*GetVideoResponse) String ¶
func (m *GetVideoResponse) String() string
func (*GetVideoResponse) XXX_DiscardUnknown ¶
func (m *GetVideoResponse) XXX_DiscardUnknown()
func (*GetVideoResponse) XXX_Marshal ¶
func (m *GetVideoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetVideoResponse) XXX_Merge ¶
func (m *GetVideoResponse) XXX_Merge(src proto.Message)
func (*GetVideoResponse) XXX_Size ¶
func (m *GetVideoResponse) XXX_Size() int
func (*GetVideoResponse) XXX_Unmarshal ¶
func (m *GetVideoResponse) XXX_Unmarshal(b []byte) error
type Image ¶
type Image struct { // Data is image data in jpeg format. Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // Shape is image shape. Shape []int32 `protobuf:"varint,2,rep,packed,name=shape,proto3" json:"shape,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Image is an image frame.
func (*Image) Descriptor ¶
func (*Image) ProtoMessage ¶
func (*Image) ProtoMessage()
func (*Image) XXX_DiscardUnknown ¶
func (m *Image) XXX_DiscardUnknown()
func (*Image) XXX_Marshal ¶
func (*Image) XXX_Unmarshal ¶
type InfoResponse ¶
type InfoResponse struct { // Name of this environment server. ServerName string `protobuf:"bytes,1,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response containing info about the environment.
func (*InfoResponse) Descriptor ¶
func (*InfoResponse) Descriptor() ([]byte, []int)
func (*InfoResponse) GetServerName ¶
func (m *InfoResponse) GetServerName() string
func (*InfoResponse) ProtoMessage ¶
func (*InfoResponse) ProtoMessage()
func (*InfoResponse) Reset ¶
func (m *InfoResponse) Reset()
func (*InfoResponse) String ¶
func (m *InfoResponse) String() string
func (*InfoResponse) XXX_DiscardUnknown ¶
func (m *InfoResponse) XXX_DiscardUnknown()
func (*InfoResponse) XXX_Marshal ¶
func (m *InfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InfoResponse) XXX_Merge ¶
func (m *InfoResponse) XXX_Merge(src proto.Message)
func (*InfoResponse) XXX_Size ¶
func (m *InfoResponse) XXX_Size() int
func (*InfoResponse) XXX_Unmarshal ¶
func (m *InfoResponse) XXX_Unmarshal(b []byte) error
type IsEnvWrapper ¶
type IsEnvWrapper = isEnvWrapper_Wrapper
IsEnvWrapper exports the interface for env wrappers.
type ListEnvRequest ¶
type ListEnvRequest struct { // Limit the number of environments returned. Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` // Where to start returning list from. Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request to list environments.
func (*ListEnvRequest) Descriptor ¶
func (*ListEnvRequest) Descriptor() ([]byte, []int)
func (*ListEnvRequest) GetLimit ¶
func (m *ListEnvRequest) GetLimit() int32
func (*ListEnvRequest) GetOffset ¶
func (m *ListEnvRequest) GetOffset() int32
func (*ListEnvRequest) ProtoMessage ¶
func (*ListEnvRequest) ProtoMessage()
func (*ListEnvRequest) Reset ¶
func (m *ListEnvRequest) Reset()
func (*ListEnvRequest) String ¶
func (m *ListEnvRequest) String() string
func (*ListEnvRequest) XXX_DiscardUnknown ¶
func (m *ListEnvRequest) XXX_DiscardUnknown()
func (*ListEnvRequest) XXX_Marshal ¶
func (m *ListEnvRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListEnvRequest) XXX_Merge ¶
func (m *ListEnvRequest) XXX_Merge(src proto.Message)
func (*ListEnvRequest) XXX_Size ¶
func (m *ListEnvRequest) XXX_Size() int
func (*ListEnvRequest) XXX_Unmarshal ¶
func (m *ListEnvRequest) XXX_Unmarshal(b []byte) error
type ListEnvResponse ¶
type ListEnvResponse struct { // List of environments. Envs []*Environment `protobuf:"bytes,1,rep,name=envs,proto3" json:"envs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response from listing environments.
func (*ListEnvResponse) Descriptor ¶
func (*ListEnvResponse) Descriptor() ([]byte, []int)
func (*ListEnvResponse) GetEnvs ¶
func (m *ListEnvResponse) GetEnvs() []*Environment
func (*ListEnvResponse) ProtoMessage ¶
func (*ListEnvResponse) ProtoMessage()
func (*ListEnvResponse) Reset ¶
func (m *ListEnvResponse) Reset()
func (*ListEnvResponse) String ¶
func (m *ListEnvResponse) String() string
func (*ListEnvResponse) XXX_DiscardUnknown ¶
func (m *ListEnvResponse) XXX_DiscardUnknown()
func (*ListEnvResponse) XXX_Marshal ¶
func (m *ListEnvResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListEnvResponse) XXX_Merge ¶
func (m *ListEnvResponse) XXX_Merge(src proto.Message)
func (*ListEnvResponse) XXX_Size ¶
func (m *ListEnvResponse) XXX_Size() int
func (*ListEnvResponse) XXX_Unmarshal ¶
func (m *ListEnvResponse) XXX_Unmarshal(b []byte) error
type ListModelsRequest ¶
type ListModelsRequest struct { // Limit the number of models returned. Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` // Where to start returning list from. Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request to list models.
func (*ListModelsRequest) Descriptor ¶
func (*ListModelsRequest) Descriptor() ([]byte, []int)
func (*ListModelsRequest) GetLimit ¶
func (m *ListModelsRequest) GetLimit() int32
func (*ListModelsRequest) GetOffset ¶
func (m *ListModelsRequest) GetOffset() int32
func (*ListModelsRequest) ProtoMessage ¶
func (*ListModelsRequest) ProtoMessage()
func (*ListModelsRequest) Reset ¶
func (m *ListModelsRequest) Reset()
func (*ListModelsRequest) String ¶
func (m *ListModelsRequest) String() string
func (*ListModelsRequest) XXX_DiscardUnknown ¶
func (m *ListModelsRequest) XXX_DiscardUnknown()
func (*ListModelsRequest) XXX_Marshal ¶
func (m *ListModelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListModelsRequest) XXX_Merge ¶
func (m *ListModelsRequest) XXX_Merge(src proto.Message)
func (*ListModelsRequest) XXX_Size ¶
func (m *ListModelsRequest) XXX_Size() int
func (*ListModelsRequest) XXX_Unmarshal ¶
func (m *ListModelsRequest) XXX_Unmarshal(b []byte) error
type ListModelsResponse ¶
type ListModelsResponse struct { // List of models. Models []*Model `protobuf:"bytes,1,rep,name=models,proto3" json:"models,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response from listing models.
func (*ListModelsResponse) Descriptor ¶
func (*ListModelsResponse) Descriptor() ([]byte, []int)
func (*ListModelsResponse) GetModels ¶
func (m *ListModelsResponse) GetModels() []*Model
func (*ListModelsResponse) ProtoMessage ¶
func (*ListModelsResponse) ProtoMessage()
func (*ListModelsResponse) Reset ¶
func (m *ListModelsResponse) Reset()
func (*ListModelsResponse) String ¶
func (m *ListModelsResponse) String() string
func (*ListModelsResponse) XXX_DiscardUnknown ¶
func (m *ListModelsResponse) XXX_DiscardUnknown()
func (*ListModelsResponse) XXX_Marshal ¶
func (m *ListModelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListModelsResponse) XXX_Merge ¶
func (m *ListModelsResponse) XXX_Merge(src proto.Message)
func (*ListModelsResponse) XXX_Size ¶
func (m *ListModelsResponse) XXX_Size() int
func (*ListModelsResponse) XXX_Unmarshal ¶
func (m *ListModelsResponse) XXX_Unmarshal(b []byte) error
type ListServerRequest ¶
type ListServerRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request to list servers.
func (*ListServerRequest) Descriptor ¶
func (*ListServerRequest) Descriptor() ([]byte, []int)
func (*ListServerRequest) ProtoMessage ¶
func (*ListServerRequest) ProtoMessage()
func (*ListServerRequest) Reset ¶
func (m *ListServerRequest) Reset()
func (*ListServerRequest) String ¶
func (m *ListServerRequest) String() string
func (*ListServerRequest) XXX_DiscardUnknown ¶
func (m *ListServerRequest) XXX_DiscardUnknown()
func (*ListServerRequest) XXX_Marshal ¶
func (m *ListServerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListServerRequest) XXX_Merge ¶
func (m *ListServerRequest) XXX_Merge(src proto.Message)
func (*ListServerRequest) XXX_Size ¶
func (m *ListServerRequest) XXX_Size() int
func (*ListServerRequest) XXX_Unmarshal ¶
func (m *ListServerRequest) XXX_Unmarshal(b []byte) error
type ListServerResponse ¶
type ListServerResponse struct { // Servers from listing. Servers []*Server `protobuf:"bytes,1,rep,name=servers,proto3" json:"servers,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response from listing servers.
func (*ListServerResponse) Descriptor ¶
func (*ListServerResponse) Descriptor() ([]byte, []int)
func (*ListServerResponse) GetServers ¶
func (m *ListServerResponse) GetServers() []*Server
func (*ListServerResponse) ProtoMessage ¶
func (*ListServerResponse) ProtoMessage()
func (*ListServerResponse) Reset ¶
func (m *ListServerResponse) Reset()
func (*ListServerResponse) String ¶
func (m *ListServerResponse) String() string
func (*ListServerResponse) XXX_DiscardUnknown ¶
func (m *ListServerResponse) XXX_DiscardUnknown()
func (*ListServerResponse) XXX_Marshal ¶
func (m *ListServerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListServerResponse) XXX_Merge ¶
func (m *ListServerResponse) XXX_Merge(src proto.Message)
func (*ListServerResponse) XXX_Size ¶
func (m *ListServerResponse) XXX_Size() int
func (*ListServerResponse) XXX_Unmarshal ¶
func (m *ListServerResponse) XXX_Unmarshal(b []byte) error
type Model ¶
type Model struct { // Name of the model. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Description of the model. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Model which environments can be created from.
func (*Model) Descriptor ¶
func (*Model) GetDescription ¶
func (*Model) ProtoMessage ¶
func (*Model) ProtoMessage()
func (*Model) XXX_DiscardUnknown ¶
func (m *Model) XXX_DiscardUnknown()
func (*Model) XXX_Marshal ¶
func (*Model) XXX_Unmarshal ¶
type MultiBinarySpace ¶
type MultiBinarySpace struct { // Number of binary spaces. N int32 `protobuf:"varint,1,opt,name=n,proto3" json:"n,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An n-dimensional binary space e.g. [0, 1, 0, 0, 1]
func (*MultiBinarySpace) Descriptor ¶
func (*MultiBinarySpace) Descriptor() ([]byte, []int)
func (*MultiBinarySpace) GetN ¶
func (m *MultiBinarySpace) GetN() int32
func (*MultiBinarySpace) ProtoMessage ¶
func (*MultiBinarySpace) ProtoMessage()
func (*MultiBinarySpace) Reset ¶
func (m *MultiBinarySpace) Reset()
func (*MultiBinarySpace) String ¶
func (m *MultiBinarySpace) String() string
func (*MultiBinarySpace) XXX_DiscardUnknown ¶
func (m *MultiBinarySpace) XXX_DiscardUnknown()
func (*MultiBinarySpace) XXX_Marshal ¶
func (m *MultiBinarySpace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MultiBinarySpace) XXX_Merge ¶
func (m *MultiBinarySpace) XXX_Merge(src proto.Message)
func (*MultiBinarySpace) XXX_Size ¶
func (m *MultiBinarySpace) XXX_Size() int
func (*MultiBinarySpace) XXX_Unmarshal ¶
func (m *MultiBinarySpace) XXX_Unmarshal(b []byte) error
type MultiDiscreteSpace ¶
type MultiDiscreteSpace struct { // An array of discrete spaces. DiscreteSpaces []int32 `protobuf:"varint,1,rep,packed,name=discrete_spaces,json=discreteSpaces,proto3" json:"discrete_spaces,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The multi-discrete action space consists of a series of discrete action spaces with different number of actions in eachs. - It is useful to represent game controllers or keyboards where each key can be represented as a discrete action space - It is parametrized by passing an array of positive integers specifying number of actions for each discrete action space Note: Some environment wrappers assume a value of 0 always represents the NOOP action. e.g. Nintendo Game Controller - Can be conceptualized as 3 discrete action spaces:
- Arrow Keys: Discrete 5 - NOOP[0], UP[1], RIGHT[2], DOWN[3], LEFT[4] - params: min: 0, max: 4
- Button A: Discrete 2 - NOOP[0], Pressed[1] - params: min: 0, max: 1
- Button B: Discrete 2 - NOOP[0], Pressed[1] - params: min: 0, max: 1
func (*MultiDiscreteSpace) Descriptor ¶
func (*MultiDiscreteSpace) Descriptor() ([]byte, []int)
func (*MultiDiscreteSpace) GetDiscreteSpaces ¶
func (m *MultiDiscreteSpace) GetDiscreteSpaces() []int32
func (*MultiDiscreteSpace) ProtoMessage ¶
func (*MultiDiscreteSpace) ProtoMessage()
func (*MultiDiscreteSpace) Reset ¶
func (m *MultiDiscreteSpace) Reset()
func (*MultiDiscreteSpace) String ¶
func (m *MultiDiscreteSpace) String() string
func (*MultiDiscreteSpace) XXX_DiscardUnknown ¶
func (m *MultiDiscreteSpace) XXX_DiscardUnknown()
func (*MultiDiscreteSpace) XXX_Marshal ¶
func (m *MultiDiscreteSpace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MultiDiscreteSpace) XXX_Merge ¶
func (m *MultiDiscreteSpace) XXX_Merge(src proto.Message)
func (*MultiDiscreteSpace) XXX_Size ¶
func (m *MultiDiscreteSpace) XXX_Size() int
func (*MultiDiscreteSpace) XXX_Unmarshal ¶
func (m *MultiDiscreteSpace) XXX_Unmarshal(b []byte) error
type RegisterServerRequest ¶
type RegisterServerRequest struct { // Server to register. Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request to register a server.
func (*RegisterServerRequest) Descriptor ¶
func (*RegisterServerRequest) Descriptor() ([]byte, []int)
func (*RegisterServerRequest) GetServer ¶
func (m *RegisterServerRequest) GetServer() *Server
func (*RegisterServerRequest) ProtoMessage ¶
func (*RegisterServerRequest) ProtoMessage()
func (*RegisterServerRequest) Reset ¶
func (m *RegisterServerRequest) Reset()
func (*RegisterServerRequest) String ¶
func (m *RegisterServerRequest) String() string
func (*RegisterServerRequest) XXX_DiscardUnknown ¶
func (m *RegisterServerRequest) XXX_DiscardUnknown()
func (*RegisterServerRequest) XXX_Marshal ¶
func (m *RegisterServerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterServerRequest) XXX_Merge ¶
func (m *RegisterServerRequest) XXX_Merge(src proto.Message)
func (*RegisterServerRequest) XXX_Size ¶
func (m *RegisterServerRequest) XXX_Size() int
func (*RegisterServerRequest) XXX_Unmarshal ¶
func (m *RegisterServerRequest) XXX_Unmarshal(b []byte) error
type RegisterServerResponse ¶
type RegisterServerResponse struct { // Server registered. Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response from registering a server.
func (*RegisterServerResponse) Descriptor ¶
func (*RegisterServerResponse) Descriptor() ([]byte, []int)
func (*RegisterServerResponse) GetServer ¶
func (m *RegisterServerResponse) GetServer() *Server
func (*RegisterServerResponse) ProtoMessage ¶
func (*RegisterServerResponse) ProtoMessage()
func (*RegisterServerResponse) Reset ¶
func (m *RegisterServerResponse) Reset()
func (*RegisterServerResponse) String ¶
func (m *RegisterServerResponse) String() string
func (*RegisterServerResponse) XXX_DiscardUnknown ¶
func (m *RegisterServerResponse) XXX_DiscardUnknown()
func (*RegisterServerResponse) XXX_Marshal ¶
func (m *RegisterServerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterServerResponse) XXX_Merge ¶
func (m *RegisterServerResponse) XXX_Merge(src proto.Message)
func (*RegisterServerResponse) XXX_Size ¶
func (m *RegisterServerResponse) XXX_Size() int
func (*RegisterServerResponse) XXX_Unmarshal ¶
func (m *RegisterServerResponse) XXX_Unmarshal(b []byte) error
type RenderEnvRequest ¶
type RenderEnvRequest struct { // ID of the environment. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request to render an environment.
func (*RenderEnvRequest) Descriptor ¶
func (*RenderEnvRequest) Descriptor() ([]byte, []int)
func (*RenderEnvRequest) GetId ¶
func (m *RenderEnvRequest) GetId() string
func (*RenderEnvRequest) ProtoMessage ¶
func (*RenderEnvRequest) ProtoMessage()
func (*RenderEnvRequest) Reset ¶
func (m *RenderEnvRequest) Reset()
func (*RenderEnvRequest) String ¶
func (m *RenderEnvRequest) String() string
func (*RenderEnvRequest) XXX_DiscardUnknown ¶
func (m *RenderEnvRequest) XXX_DiscardUnknown()
func (*RenderEnvRequest) XXX_Marshal ¶
func (m *RenderEnvRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RenderEnvRequest) XXX_Merge ¶
func (m *RenderEnvRequest) XXX_Merge(src proto.Message)
func (*RenderEnvRequest) XXX_Size ¶
func (m *RenderEnvRequest) XXX_Size() int
func (*RenderEnvRequest) XXX_Unmarshal ¶
func (m *RenderEnvRequest) XXX_Unmarshal(b []byte) error
type RenderEnvResponse ¶
type RenderEnvResponse struct { // Frame is the image of the environment. Frame *Image `protobuf:"bytes,1,opt,name=frame,proto3" json:"frame,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response with rgb array of environment state.
func (*RenderEnvResponse) Descriptor ¶
func (*RenderEnvResponse) Descriptor() ([]byte, []int)
func (*RenderEnvResponse) GetFrame ¶
func (m *RenderEnvResponse) GetFrame() *Image
func (*RenderEnvResponse) ProtoMessage ¶
func (*RenderEnvResponse) ProtoMessage()
func (*RenderEnvResponse) Reset ¶
func (m *RenderEnvResponse) Reset()
func (*RenderEnvResponse) String ¶
func (m *RenderEnvResponse) String() string
func (*RenderEnvResponse) XXX_DiscardUnknown ¶
func (m *RenderEnvResponse) XXX_DiscardUnknown()
func (*RenderEnvResponse) XXX_Marshal ¶
func (m *RenderEnvResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RenderEnvResponse) XXX_Merge ¶
func (m *RenderEnvResponse) XXX_Merge(src proto.Message)
func (*RenderEnvResponse) XXX_Size ¶
func (m *RenderEnvResponse) XXX_Size() int
func (*RenderEnvResponse) XXX_Unmarshal ¶
func (m *RenderEnvResponse) XXX_Unmarshal(b []byte) error
type ResetEnvRequest ¶
type ResetEnvRequest struct { // ID of the environment. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response from resetting an environment.
func (*ResetEnvRequest) Descriptor ¶
func (*ResetEnvRequest) Descriptor() ([]byte, []int)
func (*ResetEnvRequest) GetId ¶
func (m *ResetEnvRequest) GetId() string
func (*ResetEnvRequest) ProtoMessage ¶
func (*ResetEnvRequest) ProtoMessage()
func (*ResetEnvRequest) Reset ¶
func (m *ResetEnvRequest) Reset()
func (*ResetEnvRequest) String ¶
func (m *ResetEnvRequest) String() string
func (*ResetEnvRequest) XXX_DiscardUnknown ¶
func (m *ResetEnvRequest) XXX_DiscardUnknown()
func (*ResetEnvRequest) XXX_Marshal ¶
func (m *ResetEnvRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResetEnvRequest) XXX_Merge ¶
func (m *ResetEnvRequest) XXX_Merge(src proto.Message)
func (*ResetEnvRequest) XXX_Size ¶
func (m *ResetEnvRequest) XXX_Size() int
func (*ResetEnvRequest) XXX_Unmarshal ¶
func (m *ResetEnvRequest) XXX_Unmarshal(b []byte) error
type ResetEnvResponse ¶
type ResetEnvResponse struct { // Observation of environment after resetting. Observation *Tensor `protobuf:"bytes,1,opt,name=observation,proto3" json:"observation,omitempty"` // Goal if exists. Goal *Tensor `protobuf:"bytes,2,opt,name=goal,proto3" json:"goal,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response from resetting an environment.
func (*ResetEnvResponse) Descriptor ¶
func (*ResetEnvResponse) Descriptor() ([]byte, []int)
func (*ResetEnvResponse) GetGoal ¶
func (m *ResetEnvResponse) GetGoal() *Tensor
func (*ResetEnvResponse) GetObservation ¶
func (m *ResetEnvResponse) GetObservation() *Tensor
func (*ResetEnvResponse) ProtoMessage ¶
func (*ResetEnvResponse) ProtoMessage()
func (*ResetEnvResponse) Reset ¶
func (m *ResetEnvResponse) Reset()
func (*ResetEnvResponse) String ¶
func (m *ResetEnvResponse) String() string
func (*ResetEnvResponse) XXX_DiscardUnknown ¶
func (m *ResetEnvResponse) XXX_DiscardUnknown()
func (*ResetEnvResponse) XXX_Marshal ¶
func (m *ResetEnvResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResetEnvResponse) XXX_Merge ¶
func (m *ResetEnvResponse) XXX_Merge(src proto.Message)
func (*ResetEnvResponse) XXX_Size ¶
func (m *ResetEnvResponse) XXX_Size() int
func (*ResetEnvResponse) XXX_Unmarshal ¶
func (m *ResetEnvResponse) XXX_Unmarshal(b []byte) error
type ResultsRequest ¶
type ResultsRequest struct { // ID of the environment. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request for environment results.
func (*ResultsRequest) Descriptor ¶
func (*ResultsRequest) Descriptor() ([]byte, []int)
func (*ResultsRequest) GetId ¶
func (m *ResultsRequest) GetId() string
func (*ResultsRequest) ProtoMessage ¶
func (*ResultsRequest) ProtoMessage()
func (*ResultsRequest) Reset ¶
func (m *ResultsRequest) Reset()
func (*ResultsRequest) String ¶
func (m *ResultsRequest) String() string
func (*ResultsRequest) XXX_DiscardUnknown ¶
func (m *ResultsRequest) XXX_DiscardUnknown()
func (*ResultsRequest) XXX_Marshal ¶
func (m *ResultsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResultsRequest) XXX_Merge ¶
func (m *ResultsRequest) XXX_Merge(src proto.Message)
func (*ResultsRequest) XXX_Size ¶
func (m *ResultsRequest) XXX_Size() int
func (*ResultsRequest) XXX_Unmarshal ¶
func (m *ResultsRequest) XXX_Unmarshal(b []byte) error
type ResultsResponse ¶
type ResultsResponse struct { // Map of episode ID to episode result. EpisodeResults map[int32]*EpisodeResult `` /* 192-byte string literal not displayed */ // Map of episode ID to video. Videos map[int32]*Video `` /* 154-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response with environment results.
func (*ResultsResponse) Descriptor ¶
func (*ResultsResponse) Descriptor() ([]byte, []int)
func (*ResultsResponse) GetEpisodeResults ¶
func (m *ResultsResponse) GetEpisodeResults() map[int32]*EpisodeResult
func (*ResultsResponse) GetVideos ¶
func (m *ResultsResponse) GetVideos() map[int32]*Video
func (*ResultsResponse) ProtoMessage ¶
func (*ResultsResponse) ProtoMessage()
func (*ResultsResponse) Reset ¶
func (m *ResultsResponse) Reset()
func (*ResultsResponse) String ¶
func (m *ResultsResponse) String() string
func (*ResultsResponse) XXX_DiscardUnknown ¶
func (m *ResultsResponse) XXX_DiscardUnknown()
func (*ResultsResponse) XXX_Marshal ¶
func (m *ResultsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResultsResponse) XXX_Merge ¶
func (m *ResultsResponse) XXX_Merge(src proto.Message)
func (*ResultsResponse) XXX_Size ¶
func (m *ResultsResponse) XXX_Size() int
func (*ResultsResponse) XXX_Unmarshal ¶
func (m *ResultsResponse) XXX_Unmarshal(b []byte) error
type SampleActionRequest ¶
type SampleActionRequest struct { // ID of the environment. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request to get a sample action for an environment.
func (*SampleActionRequest) Descriptor ¶
func (*SampleActionRequest) Descriptor() ([]byte, []int)
func (*SampleActionRequest) GetId ¶
func (m *SampleActionRequest) GetId() string
func (*SampleActionRequest) ProtoMessage ¶
func (*SampleActionRequest) ProtoMessage()
func (*SampleActionRequest) Reset ¶
func (m *SampleActionRequest) Reset()
func (*SampleActionRequest) String ¶
func (m *SampleActionRequest) String() string
func (*SampleActionRequest) XXX_DiscardUnknown ¶
func (m *SampleActionRequest) XXX_DiscardUnknown()
func (*SampleActionRequest) XXX_Marshal ¶
func (m *SampleActionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SampleActionRequest) XXX_Merge ¶
func (m *SampleActionRequest) XXX_Merge(src proto.Message)
func (*SampleActionRequest) XXX_Size ¶
func (m *SampleActionRequest) XXX_Size() int
func (*SampleActionRequest) XXX_Unmarshal ¶
func (m *SampleActionRequest) XXX_Unmarshal(b []byte) error
type SampleActionResponse ¶
type SampleActionResponse struct { // Sample action value. Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response containing a sample action from the environment.
func (*SampleActionResponse) Descriptor ¶
func (*SampleActionResponse) Descriptor() ([]byte, []int)
func (*SampleActionResponse) GetValue ¶
func (m *SampleActionResponse) GetValue() int32
func (*SampleActionResponse) ProtoMessage ¶
func (*SampleActionResponse) ProtoMessage()
func (*SampleActionResponse) Reset ¶
func (m *SampleActionResponse) Reset()
func (*SampleActionResponse) String ¶
func (m *SampleActionResponse) String() string
func (*SampleActionResponse) XXX_DiscardUnknown ¶
func (m *SampleActionResponse) XXX_DiscardUnknown()
func (*SampleActionResponse) XXX_Marshal ¶
func (m *SampleActionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SampleActionResponse) XXX_Merge ¶
func (m *SampleActionResponse) XXX_Merge(src proto.Message)
func (*SampleActionResponse) XXX_Size ¶
func (m *SampleActionResponse) XXX_Size() int
func (*SampleActionResponse) XXX_Unmarshal ¶
func (m *SampleActionResponse) XXX_Unmarshal(b []byte) error
type Server ¶
type Server struct { // Name of the server. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Address of the server. Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // Description of the server. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Time when the server was created. CreatedTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` // ID of the server. Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An environment server.
func (*Server) Descriptor ¶
func (*Server) GetAddress ¶
func (*Server) GetCreatedTime ¶
func (*Server) GetDescription ¶
func (*Server) ProtoMessage ¶
func (*Server) ProtoMessage()
func (*Server) XXX_DiscardUnknown ¶
func (m *Server) XXX_DiscardUnknown()
func (*Server) XXX_Marshal ¶
func (*Server) XXX_Unmarshal ¶
type Space ¶
type Space struct { // Name of the space. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Types that are valid to be assigned to Info: // *Space_Discrete // *Space_Box // *Space_MultiDiscrete // *Space_MultiBinary // *Space_StructSpace Info isSpace_Info `protobuf_oneof:"info"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A space.
func (*Space) Descriptor ¶
func (*Space) GetDiscrete ¶
func (m *Space) GetDiscrete() *DiscreteSpace
func (*Space) GetMultiBinary ¶
func (m *Space) GetMultiBinary() *MultiBinarySpace
func (*Space) GetMultiDiscrete ¶
func (m *Space) GetMultiDiscrete() *MultiDiscreteSpace
func (*Space) GetStructSpace ¶
func (m *Space) GetStructSpace() *StructSpace
func (*Space) ProtoMessage ¶
func (*Space) ProtoMessage()
func (*Space) XXX_DiscardUnknown ¶
func (m *Space) XXX_DiscardUnknown()
func (*Space) XXX_Marshal ¶
func (*Space) XXX_OneofWrappers ¶
func (*Space) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Space) XXX_Unmarshal ¶
type Space_Box ¶
type Space_Box struct {
Box *BoxSpace `protobuf:"bytes,3,opt,name=box,proto3,oneof"`
}
type Space_Discrete ¶
type Space_Discrete struct {
Discrete *DiscreteSpace `protobuf:"bytes,2,opt,name=discrete,proto3,oneof"`
}
type Space_MultiBinary ¶
type Space_MultiBinary struct {
MultiBinary *MultiBinarySpace `protobuf:"bytes,5,opt,name=multi_binary,json=multiBinary,proto3,oneof"`
}
type Space_MultiDiscrete ¶
type Space_MultiDiscrete struct {
MultiDiscrete *MultiDiscreteSpace `protobuf:"bytes,4,opt,name=multi_discrete,json=multiDiscrete,proto3,oneof"`
}
type Space_StructSpace ¶
type Space_StructSpace struct {
StructSpace *StructSpace `protobuf:"bytes,6,opt,name=struct_space,json=structSpace,proto3,oneof"`
}
type SphereAPIClient ¶
type SphereAPIClient interface { // Register an environment server. RegisterServer(ctx context.Context, in *RegisterServerRequest, opts ...grpc.CallOption) (*RegisterServerResponse, error) // Get environment server. GetServer(ctx context.Context, in *GetServerRequest, opts ...grpc.CallOption) (*GetServerResponse, error) // List environment servers. ListServers(ctx context.Context, in *ListServerRequest, opts ...grpc.CallOption) (*ListServerResponse, error) // Unregister environment server. UnregisterServer(ctx context.Context, in *UnregisterServerRequest, opts ...grpc.CallOption) (*UnregisterServerResponse, error) }
SphereAPIClient is the client API for SphereAPI service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSphereAPIClient ¶
func NewSphereAPIClient(cc *grpc.ClientConn) SphereAPIClient
type SphereAPIServer ¶
type SphereAPIServer interface { // Register an environment server. RegisterServer(context.Context, *RegisterServerRequest) (*RegisterServerResponse, error) // Get environment server. GetServer(context.Context, *GetServerRequest) (*GetServerResponse, error) // List environment servers. ListServers(context.Context, *ListServerRequest) (*ListServerResponse, error) // Unregister environment server. UnregisterServer(context.Context, *UnregisterServerRequest) (*UnregisterServerResponse, error) }
SphereAPIServer is the server API for SphereAPI service.
type StartRecordEnvRequest ¶
type StartRecordEnvRequest struct { // ID of the environment. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Overwrite any existing data. Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` // Resume and add to any existing data. Resume bool `protobuf:"varint,3,opt,name=resume,proto3" json:"resume,omitempty"` // Episodic rate for capturing video recordings. Defaults to CUBIC. VideoSamplingRate StartRecordEnvRequest_VideoSamplingRate `` /* 179-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request to start recording an environment.
func (*StartRecordEnvRequest) Descriptor ¶
func (*StartRecordEnvRequest) Descriptor() ([]byte, []int)
func (*StartRecordEnvRequest) GetForce ¶
func (m *StartRecordEnvRequest) GetForce() bool
func (*StartRecordEnvRequest) GetId ¶
func (m *StartRecordEnvRequest) GetId() string
func (*StartRecordEnvRequest) GetResume ¶
func (m *StartRecordEnvRequest) GetResume() bool
func (*StartRecordEnvRequest) GetVideoSamplingRate ¶
func (m *StartRecordEnvRequest) GetVideoSamplingRate() StartRecordEnvRequest_VideoSamplingRate
func (*StartRecordEnvRequest) ProtoMessage ¶
func (*StartRecordEnvRequest) ProtoMessage()
func (*StartRecordEnvRequest) Reset ¶
func (m *StartRecordEnvRequest) Reset()
func (*StartRecordEnvRequest) String ¶
func (m *StartRecordEnvRequest) String() string
func (*StartRecordEnvRequest) XXX_DiscardUnknown ¶
func (m *StartRecordEnvRequest) XXX_DiscardUnknown()
func (*StartRecordEnvRequest) XXX_Marshal ¶
func (m *StartRecordEnvRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StartRecordEnvRequest) XXX_Merge ¶
func (m *StartRecordEnvRequest) XXX_Merge(src proto.Message)
func (*StartRecordEnvRequest) XXX_Size ¶
func (m *StartRecordEnvRequest) XXX_Size() int
func (*StartRecordEnvRequest) XXX_Unmarshal ¶
func (m *StartRecordEnvRequest) XXX_Unmarshal(b []byte) error
type StartRecordEnvRequest_VideoSamplingRate ¶
type StartRecordEnvRequest_VideoSamplingRate int32
Episodic rate for capturing video recordings.
const ( // Record on episodes that are perfect cubes e.g. 0, 1, 8, 27, 64, ... every 1000th StartRecordEnvRequest_CUBIC StartRecordEnvRequest_VideoSamplingRate = 0 // Do not record any episodes. StartRecordEnvRequest_NONE StartRecordEnvRequest_VideoSamplingRate = 1 // Record every episode. StartRecordEnvRequest_ALL StartRecordEnvRequest_VideoSamplingRate = 2 // Record every tenth episode. StartRecordEnvRequest_TENTH StartRecordEnvRequest_VideoSamplingRate = 3 // Record every hundredth episode. StartRecordEnvRequest_HUNDRETH StartRecordEnvRequest_VideoSamplingRate = 4 )
func (StartRecordEnvRequest_VideoSamplingRate) EnumDescriptor ¶
func (StartRecordEnvRequest_VideoSamplingRate) EnumDescriptor() ([]byte, []int)
func (StartRecordEnvRequest_VideoSamplingRate) String ¶
func (x StartRecordEnvRequest_VideoSamplingRate) String() string
type StartRecordEnvResponse ¶
type StartRecordEnvResponse struct { // Message pertaining to beginning recording. Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response from beginning to record an environment.
func (*StartRecordEnvResponse) Descriptor ¶
func (*StartRecordEnvResponse) Descriptor() ([]byte, []int)
func (*StartRecordEnvResponse) GetMessage ¶
func (m *StartRecordEnvResponse) GetMessage() string
func (*StartRecordEnvResponse) ProtoMessage ¶
func (*StartRecordEnvResponse) ProtoMessage()
func (*StartRecordEnvResponse) Reset ¶
func (m *StartRecordEnvResponse) Reset()
func (*StartRecordEnvResponse) String ¶
func (m *StartRecordEnvResponse) String() string
func (*StartRecordEnvResponse) XXX_DiscardUnknown ¶
func (m *StartRecordEnvResponse) XXX_DiscardUnknown()
func (*StartRecordEnvResponse) XXX_Marshal ¶
func (m *StartRecordEnvResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StartRecordEnvResponse) XXX_Merge ¶
func (m *StartRecordEnvResponse) XXX_Merge(src proto.Message)
func (*StartRecordEnvResponse) XXX_Size ¶
func (m *StartRecordEnvResponse) XXX_Size() int
func (*StartRecordEnvResponse) XXX_Unmarshal ¶
func (m *StartRecordEnvResponse) XXX_Unmarshal(b []byte) error
type StepEnvRequest ¶
type StepEnvRequest struct { // ID of the environment. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Step with given action. Action int32 `protobuf:"varint,2,opt,name=action,proto3" json:"action,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request to step in an environment.
func (*StepEnvRequest) Descriptor ¶
func (*StepEnvRequest) Descriptor() ([]byte, []int)
func (*StepEnvRequest) GetAction ¶
func (m *StepEnvRequest) GetAction() int32
func (*StepEnvRequest) GetId ¶
func (m *StepEnvRequest) GetId() string
func (*StepEnvRequest) ProtoMessage ¶
func (*StepEnvRequest) ProtoMessage()
func (*StepEnvRequest) Reset ¶
func (m *StepEnvRequest) Reset()
func (*StepEnvRequest) String ¶
func (m *StepEnvRequest) String() string
func (*StepEnvRequest) XXX_DiscardUnknown ¶
func (m *StepEnvRequest) XXX_DiscardUnknown()
func (*StepEnvRequest) XXX_Marshal ¶
func (m *StepEnvRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StepEnvRequest) XXX_Merge ¶
func (m *StepEnvRequest) XXX_Merge(src proto.Message)
func (*StepEnvRequest) XXX_Size ¶
func (m *StepEnvRequest) XXX_Size() int
func (*StepEnvRequest) XXX_Unmarshal ¶
func (m *StepEnvRequest) XXX_Unmarshal(b []byte) error
type StepEnvResponse ¶
type StepEnvResponse struct { // Observation after step. Observation *Tensor `protobuf:"bytes,1,opt,name=observation,proto3" json:"observation,omitempty"` // Reward from step. Reward float32 `protobuf:"fixed32,2,opt,name=reward,proto3" json:"reward,omitempty"` // Whether the environment is finished. Done bool `protobuf:"varint,3,opt,name=done,proto3" json:"done,omitempty"` // A goal if one exists. Goal *Tensor `protobuf:"bytes,4,opt,name=goal,proto3" json:"goal,omitempty"` // Extra information from environment, to be used for debugging. Info *_struct.Struct `protobuf:"bytes,5,opt,name=info,proto3" json:"info,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response from stepping in an environment.
func (*StepEnvResponse) Descriptor ¶
func (*StepEnvResponse) Descriptor() ([]byte, []int)
func (*StepEnvResponse) GetDone ¶
func (m *StepEnvResponse) GetDone() bool
func (*StepEnvResponse) GetGoal ¶
func (m *StepEnvResponse) GetGoal() *Tensor
func (*StepEnvResponse) GetInfo ¶
func (m *StepEnvResponse) GetInfo() *_struct.Struct
func (*StepEnvResponse) GetObservation ¶
func (m *StepEnvResponse) GetObservation() *Tensor
func (*StepEnvResponse) GetReward ¶
func (m *StepEnvResponse) GetReward() float32
func (*StepEnvResponse) ProtoMessage ¶
func (*StepEnvResponse) ProtoMessage()
func (*StepEnvResponse) Reset ¶
func (m *StepEnvResponse) Reset()
func (*StepEnvResponse) String ¶
func (m *StepEnvResponse) String() string
func (*StepEnvResponse) XXX_DiscardUnknown ¶
func (m *StepEnvResponse) XXX_DiscardUnknown()
func (*StepEnvResponse) XXX_Marshal ¶
func (m *StepEnvResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StepEnvResponse) XXX_Merge ¶
func (m *StepEnvResponse) XXX_Merge(src proto.Message)
func (*StepEnvResponse) XXX_Size ¶
func (m *StepEnvResponse) XXX_Size() int
func (*StepEnvResponse) XXX_Unmarshal ¶
func (m *StepEnvResponse) XXX_Unmarshal(b []byte) error
type StopRecordEnvRequest ¶
type StopRecordEnvRequest struct { // ID of the environment. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request to stop recording an environment.
func (*StopRecordEnvRequest) Descriptor ¶
func (*StopRecordEnvRequest) Descriptor() ([]byte, []int)
func (*StopRecordEnvRequest) GetId ¶
func (m *StopRecordEnvRequest) GetId() string
func (*StopRecordEnvRequest) ProtoMessage ¶
func (*StopRecordEnvRequest) ProtoMessage()
func (*StopRecordEnvRequest) Reset ¶
func (m *StopRecordEnvRequest) Reset()
func (*StopRecordEnvRequest) String ¶
func (m *StopRecordEnvRequest) String() string
func (*StopRecordEnvRequest) XXX_DiscardUnknown ¶
func (m *StopRecordEnvRequest) XXX_DiscardUnknown()
func (*StopRecordEnvRequest) XXX_Marshal ¶
func (m *StopRecordEnvRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StopRecordEnvRequest) XXX_Merge ¶
func (m *StopRecordEnvRequest) XXX_Merge(src proto.Message)
func (*StopRecordEnvRequest) XXX_Size ¶
func (m *StopRecordEnvRequest) XXX_Size() int
func (*StopRecordEnvRequest) XXX_Unmarshal ¶
func (m *StopRecordEnvRequest) XXX_Unmarshal(b []byte) error
type StopRecordEnvResponse ¶
type StopRecordEnvResponse struct { // Message of the outcome. Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response from stopping the recording of an environment.
func (*StopRecordEnvResponse) Descriptor ¶
func (*StopRecordEnvResponse) Descriptor() ([]byte, []int)
func (*StopRecordEnvResponse) GetMessage ¶
func (m *StopRecordEnvResponse) GetMessage() string
func (*StopRecordEnvResponse) ProtoMessage ¶
func (*StopRecordEnvResponse) ProtoMessage()
func (*StopRecordEnvResponse) Reset ¶
func (m *StopRecordEnvResponse) Reset()
func (*StopRecordEnvResponse) String ¶
func (m *StopRecordEnvResponse) String() string
func (*StopRecordEnvResponse) XXX_DiscardUnknown ¶
func (m *StopRecordEnvResponse) XXX_DiscardUnknown()
func (*StopRecordEnvResponse) XXX_Marshal ¶
func (m *StopRecordEnvResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StopRecordEnvResponse) XXX_Merge ¶
func (m *StopRecordEnvResponse) XXX_Merge(src proto.Message)
func (*StopRecordEnvResponse) XXX_Size ¶
func (m *StopRecordEnvResponse) XXX_Size() int
func (*StopRecordEnvResponse) XXX_Unmarshal ¶
func (m *StopRecordEnvResponse) XXX_Unmarshal(b []byte) error
type StructSpace ¶
type StructSpace struct { // Space struct. Struct map[string]*Space `` /* 153-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A struct of spaces.
func (*StructSpace) Descriptor ¶
func (*StructSpace) Descriptor() ([]byte, []int)
func (*StructSpace) GetStruct ¶
func (m *StructSpace) GetStruct() map[string]*Space
func (*StructSpace) ProtoMessage ¶
func (*StructSpace) ProtoMessage()
func (*StructSpace) Reset ¶
func (m *StructSpace) Reset()
func (*StructSpace) String ¶
func (m *StructSpace) String() string
func (*StructSpace) XXX_DiscardUnknown ¶
func (m *StructSpace) XXX_DiscardUnknown()
func (*StructSpace) XXX_Marshal ¶
func (m *StructSpace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StructSpace) XXX_Merge ¶
func (m *StructSpace) XXX_Merge(src proto.Message)
func (*StructSpace) XXX_Size ¶
func (m *StructSpace) XXX_Size() int
func (*StructSpace) XXX_Unmarshal ¶
func (m *StructSpace) XXX_Unmarshal(b []byte) error
type Tensor ¶
type Tensor struct { // Data int the tensor. Data []float32 `protobuf:"fixed32,1,rep,packed,name=data,proto3" json:"data,omitempty"` // Shape of tensor. Shape []int32 `protobuf:"varint,2,rep,packed,name=shape,proto3" json:"shape,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Tensor is an n-dimensional data array. TODO: make this an ONNX tensor.
func (*Tensor) Dense ¶
Dense will convert a remotely defined tensor to a local gorgonia dense tensor.
func (*Tensor) Descriptor ¶
func (*Tensor) ProtoMessage ¶
func (*Tensor) ProtoMessage()
func (*Tensor) XXX_DiscardUnknown ¶
func (m *Tensor) XXX_DiscardUnknown()
func (*Tensor) XXX_Marshal ¶
func (*Tensor) XXX_Unmarshal ¶
type UnimplementedEnvironmentAPIServer ¶
type UnimplementedEnvironmentAPIServer struct { }
UnimplementedEnvironmentAPIServer can be embedded to have forward compatible implementations.
func (*UnimplementedEnvironmentAPIServer) CreateEnv ¶
func (*UnimplementedEnvironmentAPIServer) CreateEnv(ctx context.Context, req *CreateEnvRequest) (*CreateEnvResponse, error)
func (*UnimplementedEnvironmentAPIServer) DeleteEnv ¶
func (*UnimplementedEnvironmentAPIServer) DeleteEnv(ctx context.Context, req *DeleteEnvRequest) (*DeleteEnvResponse, error)
func (*UnimplementedEnvironmentAPIServer) DeleteVideo ¶
func (*UnimplementedEnvironmentAPIServer) DeleteVideo(ctx context.Context, req *DeleteVideoRequest) (*DeleteVideoResponse, error)
func (*UnimplementedEnvironmentAPIServer) GetEnv ¶
func (*UnimplementedEnvironmentAPIServer) GetEnv(ctx context.Context, req *GetEnvRequest) (*GetEnvResponse, error)
func (*UnimplementedEnvironmentAPIServer) GetVideo ¶
func (*UnimplementedEnvironmentAPIServer) GetVideo(req *GetVideoRequest, srv EnvironmentAPI_GetVideoServer) error
func (*UnimplementedEnvironmentAPIServer) Info ¶
func (*UnimplementedEnvironmentAPIServer) Info(ctx context.Context, req *Empty) (*InfoResponse, error)
func (*UnimplementedEnvironmentAPIServer) ListEnvs ¶
func (*UnimplementedEnvironmentAPIServer) ListEnvs(ctx context.Context, req *ListEnvRequest) (*ListEnvResponse, error)
func (*UnimplementedEnvironmentAPIServer) ListModels ¶
func (*UnimplementedEnvironmentAPIServer) ListModels(ctx context.Context, req *ListModelsRequest) (*ListModelsResponse, error)
func (*UnimplementedEnvironmentAPIServer) RenderEnv ¶
func (*UnimplementedEnvironmentAPIServer) RenderEnv(ctx context.Context, req *RenderEnvRequest) (*RenderEnvResponse, error)
func (*UnimplementedEnvironmentAPIServer) ResetEnv ¶
func (*UnimplementedEnvironmentAPIServer) ResetEnv(ctx context.Context, req *ResetEnvRequest) (*ResetEnvResponse, error)
func (*UnimplementedEnvironmentAPIServer) Results ¶
func (*UnimplementedEnvironmentAPIServer) Results(ctx context.Context, req *ResultsRequest) (*ResultsResponse, error)
func (*UnimplementedEnvironmentAPIServer) SampleAction ¶
func (*UnimplementedEnvironmentAPIServer) SampleAction(ctx context.Context, req *SampleActionRequest) (*SampleActionResponse, error)
func (*UnimplementedEnvironmentAPIServer) StartRecordEnv ¶
func (*UnimplementedEnvironmentAPIServer) StartRecordEnv(ctx context.Context, req *StartRecordEnvRequest) (*StartRecordEnvResponse, error)
func (*UnimplementedEnvironmentAPIServer) StepEnv ¶
func (*UnimplementedEnvironmentAPIServer) StepEnv(ctx context.Context, req *StepEnvRequest) (*StepEnvResponse, error)
func (*UnimplementedEnvironmentAPIServer) StopRecordEnv ¶
func (*UnimplementedEnvironmentAPIServer) StopRecordEnv(ctx context.Context, req *StopRecordEnvRequest) (*StopRecordEnvResponse, error)
type UnimplementedSphereAPIServer ¶
type UnimplementedSphereAPIServer struct { }
UnimplementedSphereAPIServer can be embedded to have forward compatible implementations.
func (*UnimplementedSphereAPIServer) GetServer ¶
func (*UnimplementedSphereAPIServer) GetServer(ctx context.Context, req *GetServerRequest) (*GetServerResponse, error)
func (*UnimplementedSphereAPIServer) ListServers ¶
func (*UnimplementedSphereAPIServer) ListServers(ctx context.Context, req *ListServerRequest) (*ListServerResponse, error)
func (*UnimplementedSphereAPIServer) RegisterServer ¶
func (*UnimplementedSphereAPIServer) RegisterServer(ctx context.Context, req *RegisterServerRequest) (*RegisterServerResponse, error)
func (*UnimplementedSphereAPIServer) UnregisterServer ¶
func (*UnimplementedSphereAPIServer) UnregisterServer(ctx context.Context, req *UnregisterServerRequest) (*UnregisterServerResponse, error)
type UnregisterServerRequest ¶
type UnregisterServerRequest struct { // ID of the server. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request to unregister a server.
func (*UnregisterServerRequest) Descriptor ¶
func (*UnregisterServerRequest) Descriptor() ([]byte, []int)
func (*UnregisterServerRequest) GetId ¶
func (m *UnregisterServerRequest) GetId() string
func (*UnregisterServerRequest) ProtoMessage ¶
func (*UnregisterServerRequest) ProtoMessage()
func (*UnregisterServerRequest) Reset ¶
func (m *UnregisterServerRequest) Reset()
func (*UnregisterServerRequest) String ¶
func (m *UnregisterServerRequest) String() string
func (*UnregisterServerRequest) XXX_DiscardUnknown ¶
func (m *UnregisterServerRequest) XXX_DiscardUnknown()
func (*UnregisterServerRequest) XXX_Marshal ¶
func (m *UnregisterServerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnregisterServerRequest) XXX_Merge ¶
func (m *UnregisterServerRequest) XXX_Merge(src proto.Message)
func (*UnregisterServerRequest) XXX_Size ¶
func (m *UnregisterServerRequest) XXX_Size() int
func (*UnregisterServerRequest) XXX_Unmarshal ¶
func (m *UnregisterServerRequest) XXX_Unmarshal(b []byte) error
type UnregisterServerResponse ¶
type UnregisterServerResponse struct { // Message from unregistering a server. Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response from unregister a server.
func (*UnregisterServerResponse) Descriptor ¶
func (*UnregisterServerResponse) Descriptor() ([]byte, []int)
func (*UnregisterServerResponse) GetMessage ¶
func (m *UnregisterServerResponse) GetMessage() string
func (*UnregisterServerResponse) ProtoMessage ¶
func (*UnregisterServerResponse) ProtoMessage()
func (*UnregisterServerResponse) Reset ¶
func (m *UnregisterServerResponse) Reset()
func (*UnregisterServerResponse) String ¶
func (m *UnregisterServerResponse) String() string
func (*UnregisterServerResponse) XXX_DiscardUnknown ¶
func (m *UnregisterServerResponse) XXX_DiscardUnknown()
func (*UnregisterServerResponse) XXX_Marshal ¶
func (m *UnregisterServerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnregisterServerResponse) XXX_Merge ¶
func (m *UnregisterServerResponse) XXX_Merge(src proto.Message)
func (*UnregisterServerResponse) XXX_Size ¶
func (m *UnregisterServerResponse) XXX_Size() int
func (*UnregisterServerResponse) XXX_Unmarshal ¶
func (m *UnregisterServerResponse) XXX_Unmarshal(b []byte) error
type Video ¶
type Video struct { // The episode ID. EpisodeId int32 `protobuf:"varint,1,opt,name=episode_id,json=episodeId,proto3" json:"episode_id,omitempty"` // Media type for the video. ContentType string `protobuf:"bytes,2,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Video from an episode.
func (*Video) Descriptor ¶
func (*Video) GetContentType ¶
func (*Video) GetEpisodeId ¶
func (*Video) ProtoMessage ¶
func (*Video) ProtoMessage()
func (*Video) XXX_DiscardUnknown ¶
func (m *Video) XXX_DiscardUnknown()