| Modifier and Type | Method and Description |
|---|---|
List<LongShapeDescriptor> |
DifferentialFunction.calculateOutputShape()
Calculate the output shape for this op
|
| Modifier and Type | Method and Description |
|---|---|
LongShapeDescriptor |
SDVariable.getShapeDescriptor() |
LongShapeDescriptor |
SameDiff.getShapeDescriptorForVarName(String varName)
See
SameDiff.getShapeForVarName(String), but returns the shape descriptor. |
| Modifier and Type | Method and Description |
|---|---|
void |
SameDiff.putShapeForVarName(String varName,
LongShapeDescriptor shape)
Sets the shape descriptor for a variable.
|
SDVariable |
SameDiff.var(String name,
LongShapeDescriptor shapeDesc)
Creates a
SDVariable with the given shape and nameAny array will be generated with all zeros for the values This is a VARIABLE type SDVariable - i.e., must be floating point, and is a trainable parameter. |
SDVariable |
SameDiff.var(String name,
LongShapeDescriptor shape,
WeightInitScheme weightInitScheme)
Creates a
SDVariable with the given shape and nameThe underlying array will be initialized using the specified weight initilization scheme This is a VARIABLE type SDVariable - i.e., must be floating point, and is a trainable parameter. |
| Modifier and Type | Method and Description |
|---|---|
OpTestCase |
OpTestCase.expectedOutput(int outputNum,
LongShapeDescriptor expShape,
org.nd4j.linalg.function.Function<INDArray,String> validationFn) |
| Modifier and Type | Method and Description |
|---|---|
void |
DistributedINDArray.allocate(int entry,
LongShapeDescriptor shapeDescriptor)
This method allocates INDArray for specified entry
|
| Modifier and Type | Method and Description |
|---|---|
LongShapeDescriptor |
INDArray.shapeDescriptor()
Returns shape descriptor of this ndarray
|
LongShapeDescriptor |
BaseSparseNDArrayCOO.shapeDescriptor() |
| Modifier and Type | Field and Description |
|---|---|
protected List<LongShapeDescriptor> |
DynamicCustomOp.DynamicCustomOpsBuilder.outputShapes |
| Modifier and Type | Method and Description |
|---|---|
DynamicCustomOp.DynamicCustomOpsBuilder |
DynamicCustomOp.DynamicCustomOpsBuilder.addOutputShape(LongShapeDescriptor shape)
Adds an oup
|
| Modifier and Type | Method and Description |
|---|---|
List<LongShapeDescriptor> |
ScatterUpdate.calculateOutputShape() |
| Modifier and Type | Method and Description |
|---|---|
List<LongShapeDescriptor> |
OpExecutioner.calculateOutputShape(CustomOp op) |
List<LongShapeDescriptor> |
DefaultOpExecutioner.calculateOutputShape(CustomOp op) |
| Modifier and Type | Method and Description |
|---|---|
List<LongShapeDescriptor> |
While.calculateOutputShape() |
List<LongShapeDescriptor> |
IfDerivative.calculateOutputShape() |
List<LongShapeDescriptor> |
If.calculateOutputShape() |
| Modifier and Type | Method and Description |
|---|---|
List<LongShapeDescriptor> |
BaseCompatOp.calculateOutputShape() |
| Modifier and Type | Method and Description |
|---|---|
List<LongShapeDescriptor> |
ExternalErrorsFunction.calculateOutputShape() |
| Modifier and Type | Method and Description |
|---|---|
List<LongShapeDescriptor> |
TensorMmul.calculateOutputShape() |
| Modifier and Type | Method and Description |
|---|---|
List<LongShapeDescriptor> |
Eye.calculateOutputShape() |
| Modifier and Type | Method and Description |
|---|---|
List<LongShapeDescriptor> |
BaseTensorOp.calculateOutputShape() |
| Modifier and Type | Method and Description |
|---|---|
List<LongShapeDescriptor> |
Variance.calculateOutputShape() |
List<LongShapeDescriptor> |
StandardDeviation.calculateOutputShape() |
| Modifier and Type | Method and Description |
|---|---|
List<LongShapeDescriptor> |
MaxOut.calculateOutputShape() |
| Modifier and Type | Method and Description |
|---|---|
List<LongShapeDescriptor> |
GradientBackwardsMarker.calculateOutputShape() |
| Modifier and Type | Method and Description |
|---|---|
List<LongShapeDescriptor> |
BaseRandomOp.calculateOutputShape() |
| Modifier and Type | Method and Description |
|---|---|
List<LongShapeDescriptor> |
Linspace.calculateOutputShape() |
| Modifier and Type | Method and Description |
|---|---|
LongShapeDescriptor |
LongShapeDescriptor.asDataType(DataType dataType)
Return a new LongShapeDescriptor with the same shape, strides, order etc but with the specified datatype instead
|
static LongShapeDescriptor |
LongShapeDescriptor.empty(DataType dataType) |
static LongShapeDescriptor |
LongShapeDescriptor.fromShape(int[] shape,
DataType dataType) |
static LongShapeDescriptor |
LongShapeDescriptor.fromShape(long[] shape,
DataType dataType) |
static LongShapeDescriptor |
LongShapeDescriptor.fromShape(long[] shape,
long extras) |
static LongShapeDescriptor |
LongShapeDescriptor.fromShape(long[] shape,
long[] strides,
long ews,
char order,
DataType dataType,
boolean empty) |
static LongShapeDescriptor |
LongShapeDescriptor.fromShapeDescriptor(ShapeDescriptor descriptor) |
| Modifier and Type | Method and Description |
|---|---|
static INDArray |
Nd4j.create(LongShapeDescriptor descriptor)
See
Nd4j.create(LongShapeDescriptor, boolean) with initialize set to true. |
static INDArray |
Nd4j.create(LongShapeDescriptor descriptor,
boolean initialize)
Create an ndarray based on the given description,
|
Copyright © 2019. All rights reserved.