Class GraphSageLoss

  • All Implemented Interfaces:
    org.neo4j.gds.ml.core.Variable<org.neo4j.gds.ml.core.tensor.Scalar>

    public class GraphSageLoss
    extends org.neo4j.gds.ml.core.functions.SingleParentVariable<org.neo4j.gds.ml.core.tensor.Matrix,​org.neo4j.gds.ml.core.tensor.Scalar>
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.neo4j.gds.ml.core.AbstractVariable

        org.neo4j.gds.ml.core.AbstractVariable.NotAFunctionException
    • Field Summary

      • Fields inherited from class org.neo4j.gds.ml.core.functions.SingleParentVariable

        parent
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.neo4j.gds.ml.core.tensor.Scalar apply​(org.neo4j.gds.ml.core.ComputationContext ctx)  
      org.neo4j.gds.ml.core.tensor.Matrix gradientForParent​(org.neo4j.gds.ml.core.ComputationContext ctx)  
      • Methods inherited from class org.neo4j.gds.ml.core.functions.SingleParentVariable

        gradient
      • Methods inherited from class org.neo4j.gds.ml.core.AbstractVariable

        dimension, dimensions, parents, requireGradient, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.neo4j.gds.ml.core.Variable

        render
    • Method Detail

      • apply

        public org.neo4j.gds.ml.core.tensor.Scalar apply​(org.neo4j.gds.ml.core.ComputationContext ctx)
      • gradientForParent

        public org.neo4j.gds.ml.core.tensor.Matrix gradientForParent​(org.neo4j.gds.ml.core.ComputationContext ctx)
        Specified by:
        gradientForParent in class org.neo4j.gds.ml.core.functions.SingleParentVariable<org.neo4j.gds.ml.core.tensor.Matrix,​org.neo4j.gds.ml.core.tensor.Scalar>