case class RandomUniform(lower: Double, upper: Double) extends InitializationMethod with Product with Serializable
Initializer that generates tensors with a uniform distribution.
It draws samples from a uniform distribution within [lower, upper]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RandomUniform
- Serializable
- Serializable
- Product
- Equals
- InitializationMethod
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new RandomUniform(lower: Double, upper: Double)
Type Members
-
type
Shape = Array[Int]
- Definition Classes
- InitializationMethod
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
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
init[T](variable: Tensor[T], dataFormat: VariableFormat = Default)(implicit ev: TensorNumeric[T]): Unit
Initialize the given weight and bias.
Initialize the given weight and bias.
- variable
the weight to initialize
- dataFormat
the data format of weight indicating the dimension order of the weight. "output_first" means output is in the lower dimension "input_first" means input is in the lower dimension.
- Definition Classes
- RandomUniform → InitializationMethod
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lower: Double
-
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()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val upper: Double
-
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( ... )