All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.expleague.ml.methods.seq.nn.NetworkNode Maven / Gradle / Ivy

There is a newer version: 1.4.9
Show newest version
package com.expleague.ml.methods.seq.nn;

import com.expleague.commons.math.vectors.Vec;

public interface NetworkNode {
  Vec params();

  NodeGrad grad(Vec x, Vec nodeOutputGrad);

  Vec value(Vec input);

  class NodeGrad {
    public Vec gradByParams;
    public Vec gradByInput;

    NodeGrad(Vec gradByParams, Vec gradByInput) {
      this.gradByParams = gradByParams;
      this.gradByInput = gradByInput;
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy