Tabnine Logo
GraphVertex.clearVertex
Code IndexAdd Tabnine to your IDE (free)

How to use
clearVertex
method
in
org.deeplearning4j.nn.graph.vertex.GraphVertex

Best Java code snippets using org.deeplearning4j.nn.graph.vertex.GraphVertex.clearVertex (Showing top 1 results out of 315)

origin: org.deeplearning4j/deeplearning4j-nn

/**
 * This method just makes sure there's no state preserved within layers
 */
protected void clearLayersStates() {
  for (int f = 0; f < layers.length; f++) {
    layers[f].setInput(null);
  }
  for (int f = 0; f < vertices.length; f++) {
    vertices[f].clearVertex();
  }
}
org.deeplearning4j.nn.graph.vertexGraphVertexclearVertex

Javadoc

This method clears inpjut for this vertex

Popular methods of GraphVertex

  • getLayer
    Get the Layer (if any). Returns null if #hasLayer() == false
  • getVertexName
    Get the name/label of the GraphVertex
  • getInputVertices
    A representation of the vertices that are inputs to this vertex (inputs duing forward pass) Specific
  • getInputs
    Get the array of inputs previously set for this GraphVertex
  • doBackward
    Do backward pass
  • doForward
    Do forward pass using the stored inputs
  • feedForwardMaskArrays
  • getEpsilon
    Get the epsilon/error (i.e., dL/dOutput) array previously set for this GraphVertex
  • getOutputVertices
    A representation of the vertices that this vertex is connected to (outputs duing forward pass) Speci
  • getVertexIndex
    Get the index of the GraphVertex
  • hasLayer
    Whether the GraphVertex contains a Layer object or not
  • isInputVertex
    Whether the GraphVertex is an input vertex
  • hasLayer,
  • isInputVertex,
  • isOutputVertex,
  • setBackpropGradientsViewArray,
  • setEpsilon,
  • setInput,
  • setInputVertices,
  • setLayerAsFrozen,
  • setOutputVertices

Popular in Java

  • Making http requests using okhttp
  • compareTo (BigDecimal)
  • getResourceAsStream (ClassLoader)
  • requestLocationUpdates (LocationManager)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • JPanel (javax.swing)
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now