lamp.data.schemas

Members list

Type members

Classlikes

case class ByteSegmentEncoding(encoding: Vector[(Vector[Byte], Int)], unknownToken: Int, unknownByte: Byte)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait LoopState

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object LoopState

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
LoopState.type
case class SWALoopState(model: TensorList, optimizer: TensorList, epoch: Int, lastValidationLoss: Option[Double], minValidationLoss: Option[Double], numberOfAveragedModels: Int, averagedModels: Option[TensorList], learningCurve: List[(Int, Double, Option[Double])]) extends LoopState

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait LoopState
class Object
trait Matchable
class Any
Show all
case class SimpleLoopState(model: TensorList, optimizer: TensorList, epoch: Int, lastValidationLoss: Option[Double], minValidationLoss: Option[Double], minValidationLossModel: Option[(Int, TensorList)], learningCurve: List[(Int, Double, Option[Double], Option[Double])]) extends LoopState

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait LoopState
class Object
trait Matchable
class Any
Show all
case class SimpleThenSWALoopState(simple: SimpleLoopState, swa: Option[SWALoopState]) extends LoopState

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait LoopState
class Object
trait Matchable
class Any
Show all
case class TensorDescriptor(dims: Seq[Long], dataType: Byte, byteOffset: Long, byteLength: Long)

dataType is pytorch scalartype:

dataType is pytorch scalartype:

  • 1 I8
  • 2 I16
  • 3 I32
  • 4 I64
  • 5 FP16
  • 6 FP32
  • 7 FP64
  • 11 bool
  • 16 BF16

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class TensorList(tensors: Seq[TensorDescriptor], location: String, byteOffset: Long, byteLength: Long)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object TensorList

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
TensorList.type