com.intel.analytics.bigdl.nn

Graph

object Graph extends ContainerSerializable with Serializable

Linear Supertypes
Serializable, Serializable, ContainerSerializable, ModuleSerializable, Savable, Loadable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Graph
  2. Serializable
  3. Serializable
  4. ContainerSerializable
  5. ModuleSerializable
  6. Savable
  7. Loadable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

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

    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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

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

    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

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

    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

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

    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

  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]

    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

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

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

    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

    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

    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 createBigDLModule[T](context: DeserializeContext, module: AbstractModule[Activity, Activity, T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): ModuleData[T]

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

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

    Default deserialization using reflection

    Default deserialization using reflection

    context

    deserialize context

    returns

    BigDL module

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

  19. def dynamic[T](input: ModuleNode[T], output: ModuleNode[T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Graph[T]

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

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

  22. def dynamic[T](input: Array[ModuleNode[T]], output: Array[ModuleNode[T]], variables: Option[(Array[Tensor[T]], Array[Tensor[T]])] = None, generateBackward: Boolean = true)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Graph[T]

  23. final def eq(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef → Any
  27. def hashCode(): Int

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

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

    Default deserialization to provide the template

    Default deserialization to provide the template

    returns

    BigDL module instance with linkages with other modules

    Definition Classes
    ModuleSerializableLoadable
  30. val lock: AnyRef

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

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

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

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

    Default serialization skeleton using reflection

    Default serialization skeleton using reflection

    context

    Serialization context

    returns

    serialized protobuf module instace

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

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

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

    Definition Classes
    AnyRef
  38. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from ContainerSerializable

Inherited from ModuleSerializable

Inherited from Savable

Inherited from Loadable

Inherited from AnyRef

Inherited from Any

Ungrouped