congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
GraphVertex.getInputVertices
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: org.deeplearning4j/deeplearning4j-nn

  map.put(current.getVertexIndex(), new Pair<>(fMask, MaskState.Active));
} else {
  VertexIndices[] inputVertices = current.getInputVertices();
origin: org.deeplearning4j/deeplearning4j-ui_2.10

for (int v = 0; v < vertices.length; v++) {
  GraphVertex vertex = vertices[v];
  VertexIndices[] indices = vertex.getInputVertices();
origin: org.deeplearning4j/deeplearning4j-nn

VertexIndices[] inputs = gv.getInputVertices();
if (inputs != null && inputs.length > 0) {
  for (int j = 0; j < inputs.length; j++) {
    allFrozen.add(gv.getVertexName());
    VertexIndices[] inputs = gv.getInputVertices();
    if (inputs != null && inputs.length > 0) {
      for (int j = 0; j < inputs.length; j++) {
VertexIndices[] inputs = gv.getInputVertices();
for (int j = 0; j < inputs.length; j++) {
  int inputVertexIdx = inputs[j].getVertexIndex();
origin: org.deeplearning4j/deeplearning4j-ui_2.11

for (int v = 0; v < vertices.length; v++) {
  GraphVertex vertex = vertices[v];
  VertexIndices[] indices = vertex.getInputVertices();
origin: org.deeplearning4j/deeplearning4j-nn

VertexIndices[] inputs = gv.getInputVertices();
if (inputs != null && inputs.length > 0) {
  for (int j = 0; j < inputs.length; j++) {
origin: org.deeplearning4j/deeplearning4j-nn

VertexIndices[] inputVertices = current.getInputVertices();
org.deeplearning4j.nn.graph.vertexGraphVertexgetInputVertices

Javadoc

A representation of the vertices that are inputs to this vertex (inputs duing forward pass)
Specifically, if inputVertices[X].getVertexIndex() = Y, and inputVertices[X].getVertexEdgeNumber() = Z then the Zth output connection (see #getNumOutputConnections() of vertex Y is the Xth input to 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
  • getInputs
    Get the array of inputs previously set for this GraphVertex
  • clearVertex
    This method clears inpjut for this vertex
  • 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

  • Updating database using SQL prepared statement
  • getSupportFragmentManager (FragmentActivity)
  • setContentView (Activity)
  • setScale (BigDecimal)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • JOptionPane (javax.swing)
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Best IntelliJ plugins
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