OnnxSearchOptions

dicechess.engine.search.OnnxSearchOptions
final case class OnnxSearchOptions(statsSink: RootSearchStats => Unit = ..., rootRescore: Option[RootRescoreModel] = ..., preRankWithModel: Boolean = ..., tt: Option[TranspositionTable] = ..., chanceCollapse: Option[CollapseModel] = ..., preRankModel: Option[PreRankModel] = ..., leafContract: Option[ModelManifest] = ...)

Search-tuning options for ONNX-backed expectimax search.

Value parameters

chanceCollapse

optional model replacing each root candidate's exact chance-node expansion

leafContract

the leaf model's manifest, when it came from a validated package. The hook models carry their own; the leaf's lives here because OnnxExpectimaxSearch's constructor takes the leaf as a bare path and adding a tenth positional parameter to it would be the wrong place to put a rarely-set value (#145)

preRankModel

optional dedicated model for ordering root candidates, in its own session

preRankWithModel

whether to pre-rank root candidates using the main model instead of material

rootRescore

optional second ONNX model used to rescore root candidate moves

statsSink

sink function receiving root search statistics per decision node

tt

optional transposition table for caching evaluated search states

Attributes

Source
OnnxExpectimaxSearch.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product