object Utils
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Utils
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- type ANode[R] = Node[ModuleNode[R]]
- type AbsModule[R] = AbstractModule[Activity, Activity, R]
- type ArrayNodes[R] = Array[Node[ModuleNode[R]]]
- type ModuleNode[R] = AbstractModule[Activity, Activity, R]
- type SeqNodes[R] = Seq[Node[ModuleNode[R]]]
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
reorganizeParameters[T](parameters: Array[Tensor[T]])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Tensor[T]
delete parameters of SpatialConvolution, SpatialDilatedConvolution) and linear.
delete parameters of SpatialConvolution, SpatialDilatedConvolution) and linear.
because it will make all parameters into a long array in a BigDL model by default, so the origin parameters will exist in the quantized model. We have to delete them for reducing the size.
After deleting all these matched parameters, it will make a **new** long array of other layers parameters.
- T
data type Float or Double
- parameters
parameters of all layers
- returns
parameters reorganized
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )