Object/Class

com.intel.analytics.bigdl.nn

Graph

Related Docs: class Graph | package nn

Permalink

object Graph extends GraphSerializable with Serializable

Linear Supertypes
Serializable, Serializable, GraphSerializable, ContainerSerializable, ModuleSerializable, Savable, Loadable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Graph
  2. Serializable
  3. Serializable
  4. GraphSerializable
  5. ContainerSerializable
  6. ModuleSerializable
  7. Savable
  8. Loadable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type ModuleNode[T] = Node[AbstractModule[Activity, Activity, T]]

    Permalink

    Node for graph container.

    Node for graph container. The module should have a tensor/table input while a tensor output

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. var _copyWeightAndBias: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    ModuleSerializable
  5. def apply[T](input: ModuleNode[T], output: ModuleNode[T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Graph[T]

    Permalink

    Build a single input, single output graph container

    Build a single input, single output graph container

    input

    input nodes

    output

    output nodes

    returns

    a graph container

  6. def apply[T](input: Array[ModuleNode[T]], output: ModuleNode[T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Graph[T]

    Permalink

    Build a multiple inputs, single output graph container

    Build a multiple inputs, single output graph container

    input

    input nodes

    output

    output node

    returns

    a graph container

  7. def apply[T](input: ModuleNode[T], output: Array[ModuleNode[T]])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Graph[T]

    Permalink

    Build a single input, multiple outputs graph container

    Build a single input, multiple outputs graph container

    input

    input node

    output

    output nodes

    returns

    a graph container

  8. def apply[T](preprocessor: Module[T], trainable: Module[T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Graph[T]

    Permalink
  9. def apply[T](input: Array[ModuleNode[T]], output: Array[ModuleNode[T]], variables: Option[(Array[Tensor[T]], Array[Tensor[T]])] = None)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Graph[T]

    Permalink

    Build multiple inputs, multiple outputs graph container.

    Build multiple inputs, multiple outputs graph container.

    input

    input node

    output

    output node

    returns

    a graph container

  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def checkVersion[T](module: BigDLModule)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ModuleSerializable
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def copy2BigDL[T](context: DeserializeContext, module: ModuleData[T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Unit

    Permalink

    copy serialized data (weight and bias if exist) to BigDL module

    copy serialized data (weight and bias if exist) to BigDL module

    context

    deserialized context

    module

    bigDL Module with relationships

    Attributes
    protected
    Definition Classes
    ModuleSerializable
  14. def copyFromBigDL[T](context: SerializeContext[T], modelBuilder: Builder)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Unit

    Permalink

    copy BigDL module data (weight and bias if exist) to BigDL Model to be persisted

    copy BigDL module data (weight and bias if exist) to BigDL Model to be persisted

    context

    serialization context

    modelBuilder

    serialized module builder

    Attributes
    protected
    Definition Classes
    ModuleSerializable
  15. def copyWeightAndBias(): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    ModuleSerializable
  16. def createBigDLModule[T](context: DeserializeContext, module: AbstractModule[Activity, Activity, T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): ModuleData[T]

    Permalink
    Attributes
    protected
    Definition Classes
    ModuleSerializable
  17. def createSerializeBigDLModule[T](modelBuilder: Builder, context: SerializeContext[T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): SerializeResult

    Permalink
    Attributes
    protected
    Definition Classes
    ModuleSerializable
  18. def doLoadModule[T](context: DeserializeContext)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): AbstractModule[Activity, Activity, T]

    Permalink

    Default deserialization using reflection

    Default deserialization using reflection

    context

    deserialize context

    returns

    BigDL module

    Definition Classes
    GraphSerializableContainerSerializableModuleSerializable
  19. def doSerializeModule[T](context: SerializeContext[T], graphBuilder: Builder)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Unit

    Permalink
  20. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  22. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  24. def getLock: AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    ModuleSerializable
  25. def getTypes(context: DeserializeContext): (Array[ClassTag[_]], Array[TensorNumeric[_]])

    Permalink
    Attributes
    protected
    Definition Classes
    ModuleSerializable
  26. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  27. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  28. def loadModule[T](context: DeserializeContext)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): ModuleData[T]

    Permalink

    Default deserialization to provide the template

    Default deserialization to provide the template

    returns

    BigDL module instance with linkages with other modules

    Definition Classes
    ModuleSerializableLoadable
  29. def loadSubModules[T](context: DeserializeContext, module: AbstractModule[Activity, Activity, T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ContainerSerializable
  30. val lock: AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    ModuleSerializable
  31. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  32. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  34. def serializeModule[T](context: SerializeContext[T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): SerializeResult

    Permalink

    Default serialization skeleton using reflection

    Default serialization skeleton using reflection

    context

    Serialization context

    returns

    serialized protobuf module instace

    Definition Classes
    ModuleSerializableSavable
  35. def serializeSubModules[T](context: SerializeContext[T], containerBuilder: Builder)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ContainerSerializable
  36. def setCopyWeightAndBias(copyWeightAndBias: Boolean): Graph.this.type

    Permalink
    Definition Classes
    ModuleSerializable
  37. def setDataTypes[T](context: SerializeContext[T], bigDLModelBuilder: Builder)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ModuleSerializable
  38. def setVersion[T](modelBuilder: Builder)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ModuleSerializable
  39. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  40. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  41. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from GraphSerializable

Inherited from ContainerSerializable

Inherited from ModuleSerializable

Inherited from Savable

Inherited from Loadable

Inherited from AnyRef

Inherited from Any

Ungrouped