Documentation ¶
Index ¶
Constants ¶
View Source
const BATCH_SIZE = 1e6
View Source
const BUCKET_NAME = "chessbot"
View Source
const CHAN_BUFFER = 1e4
View Source
const DIMENSION = 8*8*12 + 1
View Source
const KEY_FORMAT = "input/%v.msgp.gz"
Variables ¶
This section is empty.
Functions ¶
func ExportFeaturesToS3 ¶
func ExportFeaturesToS3(sess *session.Session, done <-chan struct{}, featureChannels ...<-chan *BoardFeaturesAndResult)
func YieldBoardFeaturesAndResult ¶
func YieldBoardFeaturesAndResult(urls <-chan string, done <-chan struct{}) <-chan *BoardFeaturesAndResult
Types ¶
type BoardFeaturesAndResult ¶
func (*BoardFeaturesAndResult) DecodeMsg ¶
func (z *BoardFeaturesAndResult) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (*BoardFeaturesAndResult) EncodeMsg ¶
func (z *BoardFeaturesAndResult) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (*BoardFeaturesAndResult) Msgsize ¶
func (z *BoardFeaturesAndResult) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
Click to show internal directories.
Click to hide internal directories.