CollapseModel

dicechess.engine.search.CollapseModel
See theCollapseModel companion class
object CollapseModel

Attributes

Companion
class
Source
OnnxExpectimaxSearch.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def fromPackage(pkg: ModelPackage, lossGuard: Boolean = ...): Either[String, CollapseModel]

Configures the hook from a validated model package, refusing an artifact trained for a different role.

Configures the hook from a validated model package, refusing an artifact trained for a different role.

The manifest has already proved which extractor these bytes expect, so the caller does not choose one: a package that reached this point carries its own, and passing the wrong one is no longer possible.

Attributes

Source
OnnxExpectimaxSearch.scala