Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemoryStrategy ¶
type MemoryStrategy struct { }
TODO MemoryStrategy will be implemented in another PR
func (*MemoryStrategy) GetOrAssignShard ¶
func (v *MemoryStrategy) GetOrAssignShard(tm *v1alpha1api.TrainedModel) int
Return a TrainedModel's shardId
func (*MemoryStrategy) GetShard ¶
func (v *MemoryStrategy) GetShard(isvc *v1beta1api.InferenceService) []int
Click to show internal directories.
Click to hide internal directories.