package utils
- Alphabetic
- Public
- All
Type Members
- class BlockManagerParameterSynchronizer[T] extends DistriParameterSynchronizer[T]
-
class
DirectedGraph[T] extends Serializable
Provides useful graph operations for a directed graph.
Provides useful graph operations for a directed graph.
The node connection in the graph has direction. This class stores a source node. Note that it doesn't maintain the topology. The topology of the graph is stored in the connection of the nodes.
- T
Node element type
- Annotations
- @SerialVersionUID()
- trait DistriParameterSynchronizer[T] extends AnyRef
-
sealed
trait
EngineType extends AnyRef
define engine type trait
-
class
LayerException extends RuntimeException
Fine grained layer exception message
- case class MultiShape(value: List[Shape]) extends Shape with Product with Serializable
-
class
Node[T] extends Serializable
Represent a node in a graph.
Represent a node in a graph. The connections between nodes are directed.
- T
element type
- Annotations
- @SerialVersionUID()
-
sealed
trait
OptimizerVersion extends AnyRef
define optimizer version trait
-
class
RandomGenerator extends AnyRef
A mersenne twister based fake random number generator.
A mersenne twister based fake random number generator. Please refer https://en.wikipedia.org/wiki/Mersenne_Twister. Note that it has its own state so it is not thread safe. So you should use RandomGenerator.RNG to get a thread local instance to use. That's thread-safe.
- trait Shape extends AnyRef
- case class SingleShape(value: List[Int]) extends Shape with Product with Serializable
- case class SyncMeta[T](name: String, counter: Int, priority: Int, globalSize: Int, partitionToCount: Int, stateOfWorld: ConcurrentHashMap[Int, CompressedTensor[T]], aggregatedStateOfWorld: ConcurrentHashMap[Int, Tensor[T]], weights: Tensor[T] = null, grads: Tensor[T] = null) extends Product with Serializable
-
class
Table extends Serializable with Activity
Simulate the Table data structure in lua
-
class
ThreadPool extends AnyRef
A thread pool wrapper, provide some helper functions for multi-threading
A thread pool wrapper, provide some helper functions for multi-threading
TODO
TreadPoolwill give 2-version of thread pool, one uses scala version (invokeAndWait), another is provided to Java (invokeAndWait2). The design is weird. We should refactor this class later. -
sealed abstract
class
TorchObject extends AnyRef
torch object type
Value Members
- object BlockManagerParameterSynchronizer
- object ConvertModel
- object Edge extends Serializable
- object Engine
- object File
- object FileReader
- object FileWriter
- object HashFunc
-
object
LoggerFilter
logger filter, which will filter the log of Spark(org, breeze, akka) to file.
- object MklBlas extends EngineType with Product with Serializable
- object MklDnn extends EngineType with Product with Serializable
- object Node extends Serializable
- object OptimizerV1 extends OptimizerVersion with Product with Serializable
- object OptimizerV2 extends OptimizerVersion with Product with Serializable
- object RandomGenerator
- object Shape
- object SyncState extends Enumeration
- object T
- object ThreadPool
- object TorchFile
-
object
TorchObject
define some torch object types
- object Util