p

lamp

data

package data

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. trait BatchStream[I] extends AnyRef
  2. case class NonEmptyBatch[I](batch: I) extends StreamControl[I] with Product with Serializable
  3. case class Peek(label: String) extends Module with Product with Serializable
  4. sealed trait StreamControl[+I] extends AnyRef
  5. trait TrainingCallback extends AnyRef
  6. trait ValidationCallback extends AnyRef

Value Members

  1. object BatchStream
  2. object BufferedImageHelper
  3. object EmptyBatch extends StreamControl[Nothing] with Product with Serializable
  4. object EndStream extends StreamControl[Nothing] with Product with Serializable
  5. object GraphBatchStream
  6. object IOLoops

    Contains a training loops and helpers around it

    Contains a training loops and helpers around it

    The two training loops implemented here are:

  7. object Reader
  8. object SWA
  9. object StreamControl
  10. object Text
  11. object TrainingCallback
  12. object ValidationCallback
  13. object Writer

    Binary serialization for Tensor with primitive Double, Float, Long

    Binary serialization for Tensor with primitive Double, Float, Long

    The layout of binary format is as follows: - The first 6 bytes are "LAMP" - The next unsigned byte is the major version - The next unsigned byte is the minor version - The next 4 bytes form a little endian integer as HEADER_LENGTH - The next HEADER_LENGTH bytes form an UTF-8 string as the header. - The header is a valid JSON object with the following fields:

    • v: numeric positive integer is the version of the header structure
    • shape: numeric array
    • datatype : string, either "double", "long", "int", "float", "byte" - The header is padded with spaces (0x20) such that HEADER_LENGTH+12 is divisible by 16. The count of spaces are included in HEADER_LENGTH. - The next width * shape.reduce(_ * _) bytes form a little endian primitive array.

Ungrouped