code
stringlengths 11
173k
| docstring
stringlengths 2
593k
| func_name
stringlengths 2
189
| language
stringclasses 1
value | repo
stringclasses 844
values | path
stringlengths 11
294
| url
stringlengths 60
339
| license
stringclasses 4
values |
---|---|---|---|---|---|---|---|
public SDVariable lt(double value){
return lt(null, value);
} |
See {@link #lt(String, double)}
| SDVariable::lt | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable lt(String name, double value){
return sameDiff.lt(name, this, value);
} |
Less than operation: elementwise {@code this < value}<br>
Returns an array with the same shape/size as the input, with values 1 where condition is satisfied, or
value 0 otherwise
@param name Name of the output variable
@param value value argument to use in operation
@return Output SDVariable with values 0 (not satisfied) and 1 (where the condition is satisfied)
| SDVariable::lt | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable lte(double value){
return lte(null, value);
} |
See {@link #lte(String, double)}
| SDVariable::lte | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable lte(String name, double value){
return sameDiff.lte(name, this, value);
} |
Less than or equals operation: elementwise {@code this <= value}<br>
Returns an array with the same shape/size as the input, with values 1 where condition is satisfied, or
value 0 otherwise
@param name Name of the output variable
@param value value argument to use in operation
@return Output SDVariable with values 0 (not satisfied) and 1 (where the condition is satisfied)
| SDVariable::lte | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable gt(double value){
return gt(null, value);
} |
See {@link #gt(String, double)}
| SDVariable::gt | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable gt(String name, double value){
return sameDiff.gt(name, this, value);
} |
Greater than operation: elementwise {@code this > value}<br>
Returns an array with the same shape/size as the input, with values 1 where condition is satisfied, or
value 0 otherwise
@param name Name of the output variable
@param value value argument to use in operation
@return Output SDVariable with values 0 (not satisfied) and 1 (where the condition is satisfied)
| SDVariable::gt | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable gte(double value){
return gte(null, value);
} |
See {@link #gte(String, double)}
| SDVariable::gte | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable gte(String name, double value){
return sameDiff.gte(name, this, value);
} |
Greater than or equals operation: elementwise {@code this >= value}<br>
Returns an array with the same shape/size as the input, with values 1 where condition is satisfied, or
value 0 otherwise
@param name Name of the output variable
@param value value argument to use in operation
@return Output SDVariable with values 0 (not satisfied) and 1 (where the condition is satisfied)
| SDVariable::gte | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable eq(double value){
return eq(null, value);
} |
See {@link #eq(String, double)}
| SDVariable::eq | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable eq(String name, double value){
return sameDiff.eq(name, this, value);
} |
Equals operation: elementwise {@code this == value}<br>
Returns an array with the same shape/size as the input, with values 1 where condition is satisfied, or
value 0 otherwise
@param name Name of the output variable
@param value value argument to use in operation
@return Output SDVariable with values 0 (not satisfied) and 1 (where the condition is satisfied)
| SDVariable::eq | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable neq(double value){
return neq(null, value);
} |
See {@link #neq(SDVariable)}
| SDVariable::neq | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable neq(String name, double value){
return sameDiff.neq(name, this, value);
} |
Not equals operation: elementwise {@code this != value}<br>
Returns an array with the same shape/size as the input, with values 1 where condition is satisfied, or
value 0 otherwise
@param name Name of the output variable
@param value value argument to use in operation
@return Output SDVariable with values 0 (not satisfied) and 1 (where the condition is satisfied)
| SDVariable::neq | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable lt(SDVariable other){
return lt(null, other);
} |
See {@link #lt(String, SDVariable)}
| SDVariable::lt | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable lt(String name, SDVariable other){
return sameDiff.lt(name, this, other);
} |
Less than operation: elementwise {@code this < y}<br>
If x and y arrays have equal shape, the output shape is the same as the inputs.<br>
Supports broadcasting: if x and y have different shapes and are broadcastable, the output shape is broadcast.<br>
Returns an array with values 1 where condition is satisfied, or value 0 otherwise.
@param name Name of the output variable
@param other Variable to compare values against
@return Output SDVariable with values 0 (not satisfied) and 1 (where the condition is satisfied)
| SDVariable::lt | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable lte(SDVariable other){
return lte(null, other);
} |
See {@link #lte(String, SDVariable)}
| SDVariable::lte | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable lte(String name, SDVariable other){
return sameDiff.lte(name, this, other);
} |
Less than or equal to operation: elementwise {@code this <= y}<br>
If x and y arrays have equal shape, the output shape is the same as the inputs.<br>
Supports broadcasting: if x and y have different shapes and are broadcastable, the output shape is broadcast.<br>
Returns an array with values 1 where condition is satisfied, or value 0 otherwise.
@param name Name of the output variable
@param other Variable to compare values against
@return Output SDVariable with values 0 (not satisfied) and 1 (where the condition is satisfied)
| SDVariable::lte | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable gt(SDVariable other){
return gt(null, other);
} |
See {@link #gt(String, SDVariable)}
| SDVariable::gt | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable gt(String name, SDVariable other){
return sameDiff.gt(name, this, other);
} |
Greater than operation: elementwise {@code this > y}<br>
If x and y arrays have equal shape, the output shape is the same as the inputs.<br>
Supports broadcasting: if x and y have different shapes and are broadcastable, the output shape is broadcast.<br>
Returns an array with values 1 where condition is satisfied, or value 0 otherwise.
@param name Name of the output variable
@param other Variable to compare values against
@return Output SDVariable with values 0 (not satisfied) and 1 (where the condition is satisfied)
| SDVariable::gt | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable gte(SDVariable other){
return gte(null, other);
} |
See {@link #gte(String, SDVariable)}
| SDVariable::gte | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable gte(String name, SDVariable other){
return sameDiff.gte(name, this, other);
} |
Greater than or equal to operation: elementwise {@code this >= y}<br>
If x and y arrays have equal shape, the output shape is the same as the inputs.<br>
Supports broadcasting: if x and y have different shapes and are broadcastable, the output shape is broadcast.<br>
Returns an array with values 1 where condition is satisfied, or value 0 otherwise.
@param name Name of the output variable
@param other Variable to compare values against
@return Output SDVariable with values 0 (not satisfied) and 1 (where the condition is satisfied)
| SDVariable::gte | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable eq(SDVariable other){
return eq(null, other);
} |
See {@link #eq(String, SDVariable)}
| SDVariable::eq | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable eq(String name, SDVariable other){
return sameDiff.eq(name, this, other);
} |
Equal to operation: elementwise {@code this == y}<br>
If x and y arrays have equal shape, the output shape is the same as the inputs.<br>
Supports broadcasting: if x and y have different shapes and are broadcastable, the output shape is broadcast.<br>
Returns an array with values 1 where condition is satisfied, or value 0 otherwise.
@param name Name of the output variable
@param other Variable to compare values against
@return Output SDVariable with values 0 (not satisfied) and 1 (where the condition is satisfied)
| SDVariable::eq | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable neq(SDVariable other){
return neq(null, other);
} |
See {@link #neq(String, SDVariable)}
| SDVariable::neq | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable neq(String name, SDVariable other){
return sameDiff.neq(name, this, other);
} |
Not equal to operation: elementwise {@code this != y}<br>
If x and y arrays have equal shape, the output shape is the same as the inputs.<br>
Supports broadcasting: if x and y have different shapes and are broadcastable, the output shape is broadcast.<br>
Returns an array with values 1 where condition is satisfied, or value 0 otherwise.
@param name Name of the output variable
@param other Variable to compare values against
@return Output SDVariable with values 0 (not satisfied) and 1 (where the condition is satisfied)
| SDVariable::neq | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable mmul(SDVariable other){
return mmul(null, other);
} |
See {@link #mmul(String, SDVariable)}
| SDVariable::mmul | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable mmul(String name, SDVariable other){
return sameDiff.mmul(name, this, other);
} |
Matrix multiplication: out = mmul(this,other)
@param name Name of the output variable
@param other Other variable to perform matrix multiplication with
@return Output variable (result of mmul)
| SDVariable::mmul | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable mmul(String name, SDVariable other, @NonNull MMulTranspose mMulTranspose) {
return sameDiff.mmul(name, this, other, mMulTranspose.isTransposeA(), mMulTranspose.isTransposeB(), mMulTranspose.isTransposeResult());
} |
Matrix multiplication: out = mmul(this,other)
@param name Name of the output variable
@param other Other variable to perform matrix multiplication with
@param mMulTranspose Matrix transpose configuration
@return Output variable (result of mmul)
| SDVariable::mmul | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable dot(SDVariable other, long... dimensions){
return dot(null, other, dimensions);
} |
See {@link #dot(String, SDVariable, long...)}
| SDVariable::dot | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable dot(String name, SDVariable other, long... dimensions){
return sameDiff.dot(name, this, other, dimensions);
} |
Matrix dot product: out = dot(this,other, dimensions)
@param name Name of the output variable
@param other Other variable to perform matrix multiplication with
@return Output variable (result of mmul)
| SDVariable::dot | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable add(double scalar) {
return add(null,scalar);
} |
See {@link #add(String, double)}
| SDVariable::add | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable add(String varName, double scalar) {
val function = sameDiff.math.add(this,scalar);
return sameDiff.updateVariableNameAndReference(function,varName);
} |
Scalar addition: {@code out = this + scalar}<br>
Output variable has the same shape as the input variable
@param varName Output variable name
@param scalar Scalar for operation
@return Output variable
| SDVariable::add | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable add(SDVariable other) {
return add(null,other);
} |
See {@link #add(String, SDVariable)}
| SDVariable::add | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable add(String name, SDVariable x) {
val result = sameDiff.math.add(this, x);
return sameDiff.updateVariableNameAndReference(result, name);
} |
Addition operation: elementwise {@code this + x}<br>
If this and x variables have equal shape, the output shape is the same as the inputs.<br>
Supports broadcasting: if this and x have different shapes and are broadcastable, the output shape is broadcast.
@param name Name of the output variable
@param x Variable to perform operation with
@return Output (result) SDVariable
| SDVariable::add | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable plus(SDVariable other){
return add(other);
} |
For Kotlin operator interop
@see #add(String, SDVariable)
| SDVariable::plus | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable plus(double other){
return add(other);
} |
For Kotlin operator interop
@see #add(String, double)
| SDVariable::plus | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable sub(double scalar) {
return sub(null,scalar);
} |
See {@link #sub(String, double)}
| SDVariable::sub | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable sub(String varName, double scalar) {
val result = sameDiff.math.sub(this, scalar);
return sameDiff.updateVariableNameAndReference(result, varName);
} |
Scalar subtraction: {@code out = this - scalar}<br>
Output variable has the same shape as the input variable
@param varName Output variable name
@param scalar Scalar for operation
@return Output variable
| SDVariable::sub | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable sub(SDVariable x) {
return sub(null,x);
} |
See {@link #sub(String, SDVariable)}
| SDVariable::sub | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable sub(String name, SDVariable x) {
val result = sameDiff.math.sub(this,x);
return sameDiff.updateVariableNameAndReference(result,name);
} |
Subtraction operation: elementwise {@code this - x}<br>
If this and x variables have equal shape, the output shape is the same as the inputs.<br>
Supports broadcasting: if this and x have different shapes and are broadcastable, the output shape is broadcast.
@param name Name of the output variable
@param x Variable to perform operation with
@return Output (result) SDVariable
| SDVariable::sub | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable minus(SDVariable other){
return sub(other);
} |
For Kotlin operator interop
@see #sub(String, SDVariable)
| SDVariable::minus | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable minus(double other){
return sub(other);
} |
For Kotlin operator interop
@see #sub(String, double)
| SDVariable::minus | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable div(double scalar) {
return div(null,scalar);
} |
See {@link #div(String,double)}
| SDVariable::div | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable div(String varName, double scalar) {
val function = sameDiff.math.div(this,scalar);
return sameDiff.updateVariableNameAndReference(function,varName);
} |
Scalar division: {@code out = this / scalar}<br>
Output variable has the same shape as the input variable
@param varName Output variable name
@param scalar Scalar for operation
@return Output variable
| SDVariable::div | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable div(SDVariable x) {
return div(null,x);
} |
See {@link #div(String, SDVariable)}
| SDVariable::div | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable div(String name, SDVariable x) {
val result = sameDiff.math.div(this, x);
return sameDiff.updateVariableNameAndReference(result, name);
} |
Division operation: elementwise {@code this / x}<br>
If this and x variables have equal shape, the output shape is the same as the inputs.<br>
Supports broadcasting: if this and x have different shapes and are broadcastable, the output shape is broadcast.
@param name Name of the output variable
@param x Variable to perform operation with
@return Output (result) SDVariable
| SDVariable::div | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable fdiv(String name, SDVariable x) {
val result = sameDiff.math.floorDiv(this, x);
return sameDiff.updateVariableNameAndReference(result, name);
} |
Floor division operation: elementwise {@code this // x}<br>
If this and x variables have equal shape, the output shape is the same as the inputs.<br>
Supports broadcasting: if this and x have different shapes and are broadcastable, the output shape is broadcast.
@param name Name of the output variable
@param x Variable to perform operation with
@return Output (result) SDVariable
| SDVariable::fdiv | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable mod(String name, SDVariable x) {
val result = sameDiff.math.mod(this, x);
return sameDiff.updateVariableNameAndReference(result, name);
} |
Modulo operation: elementwise {@code this / x}<br>
If this and x variables have equal shape, the output shape is the same as the inputs.<br>
Supports broadcasting: if this and x have different shapes and are broadcastable, the output shape is broadcast.
@param name Name of the output variable
@param x Variable to perform operation with
@return Output (result) SDVariable
| SDVariable::mod | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable mul(double scalar) {
return mul(null,scalar);
} |
See {@link #mul(String, double)}
| SDVariable::mul | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable mul(String varName, double scalar) {
val function = sameDiff.math.mul(this, scalar);
return sameDiff.updateVariableNameAndReference(function,varName);
} |
Scalar multiplication: {@code out = this * scalar}<br>
Output variable has the same shape as the input variable
@param varName Output variable name
@param scalar Scalar for operation
@return Output variable
| SDVariable::mul | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable mul(SDVariable x) {
return mul(null,x);
} |
See {@link #mul(String, SDVariable)}
| SDVariable::mul | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable mul(String name, SDVariable x) {
val result = sameDiff.math.mul(this, x);
return sameDiff.updateVariableNameAndReference(result,name);
} |
Multiplication operation: elementwise {@code this * x}<br>
If this and x variables have equal shape, the output shape is the same as the inputs.<br>
Supports broadcasting: if this and x have different shapes and are broadcastable, the output shape is broadcast.
@param name Name of the output variable
@param x Variable to perform operation with
@return Output (result) SDVariable
| SDVariable::mul | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable times(SDVariable other){
return mul(other);
} |
For Kotlin operator interop
@see #mul(String, SDVariable)
| SDVariable::times | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable times(double other){
return mul(other);
} |
For Kotlin operator interop
@see #mul(String, double)
| SDVariable::times | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable pow(double scalar) {
return pow(null, scalar);
} |
See {@link #pow(String, double)}
| SDVariable::pow | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable pow(String varName, double scalar) {
SDVariable ret = sameDiff.math.pow(this, scalar);
return sameDiff.updateVariableNameAndReference(ret, varName);
} |
Scalar power operation: {@code out = this ^ scalar}<br>
Output variable has the same shape as the input variable
@param varName Output variable name
@param scalar Scalar for operation
@return Output variable
| SDVariable::pow | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable rsub(double scalar) {
return rsub(null,scalar);
} |
See {@link #rsub(String, double)}
| SDVariable::rsub | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable rsub(String varName, double scalar) {
val function = sameDiff.math.rsub(this,scalar);
return sameDiff.updateVariableNameAndReference(function,varName);
} |
Scalar reverse subtraction: {@code out = scalar - this}<br>
Output variable has the same shape as the input variable
@param varName Output variable name
@param scalar Scalar for operation
@return Output variable
| SDVariable::rsub | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable rsub(SDVariable x) {
return rsub(null,x);
} |
See {@link #rsub(String, SDVariable)}
| SDVariable::rsub | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable rsub(String name, SDVariable x) {
val result = sameDiff.math.rsub(this,x);
return sameDiff.updateVariableNameAndReference(result,name);
} |
Reverse subtraction operation: elementwise {@code x - this}<br>
If this and x variables have equal shape, the output shape is the same as the inputs.<br>
Supports broadcasting: if this and x have different shapes and are broadcastable, the output shape is broadcast.
@param name Name of the output variable
@param x Variable to perform operation with
@return Output (result) SDVariable
| SDVariable::rsub | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable rdiv(double scalar) {
return rdiv(null,scalar);
} |
See {@link #rdiv(String, double)}
| SDVariable::rdiv | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable rdiv(String varName, double scalar) {
val function = sameDiff.math.rdiv(this, scalar);
return sameDiff.updateVariableNameAndReference(function, varName);
} |
Scalar reverse division: {@code out = scalar / this}<br>
Output variable has the same shape as the input variable
@param varName Output variable name
@param scalar Scalar for operation
@return Output variable
| SDVariable::rdiv | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable rdiv(SDVariable sameDiffVariable) {
return rdiv(null,sameDiffVariable);
} |
See {@link #rdiv(String, SDVariable)}
| SDVariable::rdiv | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable rdiv(String name, SDVariable x) {
val result = sameDiff.math.rdiv(this,x);
return sameDiff.updateVariableNameAndReference(result,name);
} |
Reverse division operation: elementwise {@code x / this}<br>
If this and x variables have equal shape, the output shape is the same as the inputs.<br>
Supports broadcasting: if this and x have different shapes and are broadcastable, the output shape is broadcast.
@param name Name of the output variable
@param x Variable to perform operation with
@return Output (result) SDVariable
| SDVariable::rdiv | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable squaredDifference(SDVariable x) {
return squaredDifference(null,x);
} |
See {@link #squaredDifference(String, SDVariable)}
| SDVariable::squaredDifference | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable squaredDifference(String name, SDVariable x) {
val result = sameDiff.math().squaredDifference(this, x);
return sameDiff.updateVariableNameAndReference(result, name);
} |
Squared difference operation: {@code (this - x)^2}
@param x Other input variable
@return squared difference between variables
| SDVariable::squaredDifference | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable sum(long... dimensions){
return sum(null, dimensions);
} |
See {@link #sum(String, boolean, long...)}
| SDVariable::sum | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable sum(boolean keepDims, long... dimensions){
return sum(null, keepDims, dimensions);
} |
See {@link #sum(String, boolean, long...)}
| SDVariable::sum | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable sum(String name, long... dimensions){
return sum(name, false, dimensions);
} |
See {@link #sum(String, boolean, long...)}
| SDVariable::sum | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable sum(String name, boolean keepDims, long... dimensions){
return sameDiff.sum(name, this, keepDims, dimensions);
} |
Sum array reduction operation, optionally along specified dimensions.<br>
Note that if keepDims = true, the output variable has the same rank as the input variable,
with the reduced dimensions having size 1. This can be useful for later broadcast operations (such as subtracting
the mean along a dimension).<br>
Example: if input has shape [a,b,c] and dimensions=[1] then output has shape:
keepDims = true: [a,1,c]<br>
keepDims = false: [a,c]
@param name Output variable name
@param keepDims If true: keep the dimensions that are reduced on (as length 1). False: remove the reduction dimensions
@param dimensions Dimensions to reduce over. If dimensions are not specified, full array reduction is performed
@return Output variable: reduced array of rank (input rank - num dimensions) if keepDims = false, or
of rank (input rank) if keepdims = true
| SDVariable::sum | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable mean(boolean keepDims, long... dimensions){
return mean(null, keepDims, dimensions);
} |
See {@link #mean(String, boolean, long...)}
| SDVariable::mean | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable mean(String name, long... dimensions){
return mean(name, false, dimensions);
} |
See {@link #mean(String, boolean, long...)}
| SDVariable::mean | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable mean(long... dimensions){
return mean(null, false, dimensions);
} |
See {@link #mean(String, boolean, long...)}
| SDVariable::mean | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable mean(String name, boolean keepDims, long... dimensions){
return sameDiff.mean(name, this, keepDims, dimensions);
} |
Mean (average) array reduction operation, optionally along specified dimensions<br>
Note that if keepDims = true, the output variable has the same rank as the input variable,
with the reduced dimensions having size 1. This can be useful for later broadcast operations (such as subtracting
the mean along a dimension).<br>
Example: if input has shape [a,b,c] and dimensions=[1] then output has shape:
keepDims = true: [a,1,c]<br>
keepDims = false: [a,c]
@param name Output variable name
@param keepDims If true: keep the dimensions that are reduced on (as size 1). False: remove the reduction dimensions
@param dimensions Dimensions to reduce over. If dimensions are not specified, full array reduction is performed
@return Reduced array of rank (input rank - num dimensions)
| SDVariable::mean | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable std(boolean biasCorrected, long... dimensions){
return std(null, biasCorrected, dimensions);
} |
See {@link #std(String, boolean, boolean, long...)}
| SDVariable::std | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable std(String name, boolean biasCorrected, long... dimensions){
return sameDiff.standardDeviation(name, this, biasCorrected, dimensions);
} |
See {@link #std(String, boolean, boolean, long...)}
| SDVariable::std | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable std(String name, boolean biasCorrected, boolean keepDims, long... dimensions){
return sameDiff.standardDeviation(name, this, biasCorrected, keepDims, dimensions);
} |
Stardard deviation array reduction operation, optionally along specified dimensions<br>
Note that if keepDims = true, the output variable has the same rank as the input variable,
with the reduced dimensions having size 1. This can be useful for later broadcast operations (such as subtracting
the mean along a dimension).<br>
Example: if input has shape [a,b,c] and dimensions=[1] then output has shape:
keepDims = true: [a,1,c]<br>
keepDims = false: [a,c]
@param biasCorrected If true: divide by (N-1) (i.e., sample stdev). If false: divide by N (population stdev)
@param keepDims If true: keep the dimensions that are reduced on (as size 1). False: remove the reduction dimensions
@param dimensions Dimensions to reduce over. If dimensions are not specified, full array reduction is performed
@return Output variable: reduced array of rank (input rank - num dimensions)
| SDVariable::std | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable prod(long... dimensions){
return prod(null, dimensions);
} |
See {@link #prod(String, boolean, long...)}
| SDVariable::prod | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable prod(boolean keepDims, long... dimensions){
return prod(null, keepDims, dimensions);
} |
See {@link #prod(String, boolean, long...)}
| SDVariable::prod | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable prod(String name, long... dimensions){
return sameDiff.prod(name, this, dimensions);
} |
See {@link #prod(String, boolean, long...)}
| SDVariable::prod | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable prod(String name, boolean keepDims, long... dimensions){
return sameDiff.prod(name, this, keepDims, dimensions);
} |
Product array reduction operation, optionally along specified dimensions<br>
Note that if keepDims = true, the output variable has the same rank as the input variable,
with the reduced dimensions having size 1. This can be useful for later broadcast operations (such as subtracting
the mean along a dimension).<br>
Example: if input has shape [a,b,c] and dimensions=[1] then output has shape:
keepDims = true: [a,1,c]<br>
keepDims = false: [a,c]
@param name Output variable name
@param keepDims If true: keep the dimensions that are reduced on (as length 1). False: remove the reduction dimensions
@param dimensions Dimensions to reduce over. If dimensions are not specified, full array reduction is performed
@return Output variable: reduced array of rank (input rank - num dimensions)
| SDVariable::prod | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable min(long... dimensions){
return min(null, dimensions);
} |
See {@link #min(String, boolean, long...)}
| SDVariable::min | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable min(boolean keepDims, long... dimensions){
return min(null, keepDims, dimensions);
} |
See {@link #min(String, boolean, long...)}
| SDVariable::min | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable min(String name, long... dimensions){
return min(name, false, dimensions);
} |
See {@link #min(String, boolean, long...)}
| SDVariable::min | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable min(String name, boolean keepDims, long... dimensions){
return sameDiff.min(name, this, keepDims, dimensions);
} |
Minimum array reduction operation, optionally along specified dimensions. out = min(in)<br>
Note that if keepDims = true, the output variable has the same rank as the input variable,
with the reduced dimensions having size 1. This can be useful for later broadcast operations (such as subtracting
the mean along a dimension).<br>
Example: if input has shape [a,b,c] and dimensions=[1] then output has shape:
keepDims = true: [a,1,c]<br>
keepDims = false: [a,c]
@param name Output variable name
@param keepDims If true: keep the dimensions that are reduced on (as size 1). False: remove the reduction dimensions
@param dimensions Dimensions to reduce over. If dimensions are not specified, full array reduction is performed
@return Reduced array of rank (input rank - num dimensions)
| SDVariable::min | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable max(long... dimensions) {
return max(null, dimensions);
} |
See {@link #max(String, boolean, long...)}
| SDVariable::max | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable max(String name, long... dimensions) {
return max(name, false, dimensions);
} |
See {@link #max(String, boolean, long...)}
| SDVariable::max | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable max(boolean keepDims, long... dimensions) {
return max(null, keepDims, dimensions);
} |
See {@link #max(String, boolean, long...)}
| SDVariable::max | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable max(String name, boolean keepDims, long... dimensions) {
return sameDiff.max(name, this, keepDims, dimensions);
} |
Maximum array reduction operation, optionally along specified dimensions<br>
Note that if keepDims = true, the output variable has the same rank as the input variable,
with the reduced dimensions having size 1. This can be useful for later broadcast operations (such as subtracting
the mean along a dimension).<br>
Example: if input has shape [a,b,c] and dimensions=[1] then output has shape:
keepDims = true: [a,1,c]<br>
keepDims = false: [a,c]
@param name Output variable name
@param keepDims If true: keep the dimensions that are reduced on (as size 1). False: remove the reduction dimensions
@param dimensions Dimensions to reduce over. If dimensions are not specified, full array reduction is performed
@return Reduced array of rank (input rank - num dimensions)
| SDVariable::max | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
public SDVariable norm1(long... dimensions){
return norm1(null, dimensions);
} |
See {@link #norm1(String, boolean, long...)}
| SDVariable::norm1 | java | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java | Apache-2.0 |
Subsets and Splits