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 attrValueToFloatArray(attr: AttrValue): Array[Float]

    Permalink

    Convert Attr Value object to Array of Float

    Convert Attr Value object to Array of Float

    returns

    Array[Float]

    Attributes
    protected
    Definition Classes
    ModuleSerializable
  12. def checkVersion[T](module: BigDLModule)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Unit

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. 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
  15. 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
  16. def copyWeightAndBias(): Boolean

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

    Permalink

    Re-create BigDL module by deserializing protobuf context.

    Re-create BigDL module by deserializing protobuf context.

    context

    Deserialization context

    module

    The BigDL module to be re-created

    returns

    Tuple3 contains information of current module and modules adjacent to it

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

    Permalink
    Attributes
    protected
    Definition Classes
    ModuleSerializable
  19. 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
  20. def doSerializeModule[T](context: SerializeContext[T], graphBuilder: Builder)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Unit

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  29. 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
  30. def loadSubModules[T](context: DeserializeContext, module: AbstractModule[Activity, Activity, T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Unit

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  35. def saveMklInt8Attr[T](module: MklInt8Convertible, modelBuilder: Builder)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Unit

    Permalink

    Serialize and save MKL DNN INT8 attributes into BigDL Model of protobuf definition

    Serialize and save MKL DNN INT8 attributes into BigDL Model of protobuf definition

    modelBuilder

    serialized module builder

    Attributes
    protected
    Definition Classes
    ModuleSerializable
  36. 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
  37. def serializeSubModules[T](context: SerializeContext[T], containerBuilder: Builder)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Unit

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. 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