Provides useful graph operations for a directed graph.
define engine type trait
Fine grained layer exception message
Represent a node in a graph.
Represent a node in a graph. The connections between nodes are directed.
element type
define optimizer version trait
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.
Simulate the Table data structure in lua
A thread pool wrapper, provide some helper functions for multi-threading
A thread pool wrapper, provide some helper functions for multi-threading
TODO TreadPool
will 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.
torch object type
logger filter, which will filter the log of Spark(org, breeze, akka) to file.
define some torch object types
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.
Node element type