value * is not a member of com.thoughtworks.deeplearning.Layer.Aux[com.thoughtworks.deeplearning.Layer.Tape.Aux[org.nd4j.linalg.api.ndarray.INDArray,org.nd4j.linalg.api.ndarray.INDArray],com.thoughtworks.deeplearning.DifferentiableINDArray.INDArrayPlaceholder.Tape]val bias = Nd4j.ones(numberOfOutputKernels).toWeight * 0.1...
Those +-*/ and logexpabsmaxmin are defined at MathMethods and MathFunctions,those method are been implemented at DifferentiableType,so you need to import the implicit of DifferentiableType.
Composability
Neural networks created by DeepLearning.scala are composable. You can create large networks by combining smaller networks. If two larger networks share some sub-networks, the weights in shared sub-networks trained with one network affect the other network.
This is the documentation for the DeepLearning.Scala
Overview
BufferedLayer
,DifferentiableAny
,DifferentiableNothing
,Layer
,Poly
andSymbolic
are base packages which contains necessary operations , all other packages dependent on those base packages.If you want to implement a layer, you need to know how to use base packages.
Imports guidelines
If you want use some operations of Type T, you should import:
import com.thoughtworks.deeplearning.DifferentiableT._
it means: If you want use some operations of INDArray, you should import:
import com.thoughtworks.deeplearning.DifferentiableINDArray._
If you write something like this:
If compiler shows error :
you need add import this time :
import com.thoughtworks.deeplearning.DifferentiableINDArray._
If you write something like this:
If the compiler shows error:
you need add import :
If the compiler shows error:
you need add import:
Those
+
-
*
/
andlog
exp
abs
max
min
are defined at MathMethods and MathFunctions,those method are been implemented at DifferentiableType,so you need to import the implicit of DifferentiableType.Composability
Neural networks created by DeepLearning.scala are composable. You can create large networks by combining smaller networks. If two larger networks share some sub-networks, the weights in shared sub-networks trained with one network affect the other network.
Compose