| Modifier and Type | Method and Description |
|---|---|
List<LongShapeDescriptor> |
DifferentialFunction.calculateOutputShape()
Calculate the output shape for this op
|
List<LongShapeDescriptor> |
DifferentialFunction.calculateOutputShape(OpContext oc) |
| Modifier and Type | Method and Description |
|---|---|
LongShapeDescriptor |
SDVariable.getShapeDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
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(@NonNull String name,
@NonNull 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 |
|---|---|
INDArray |
SessionMemMgr.allocate(boolean detached,
LongShapeDescriptor descriptor)
As per
SessionMemMgr.allocate(boolean, DataType, long...) but from a LongShapeDescriptor instead |
| Modifier and Type | Method and Description |
|---|---|
INDArray |
ArrayCacheMemoryMgr.allocate(boolean detached,
LongShapeDescriptor descriptor) |
INDArray |
ArrayCloseMemoryMgr.allocate(boolean detached,
LongShapeDescriptor descriptor) |
INDArray |
CloseValidationMemoryMgr.allocate(boolean detached,
LongShapeDescriptor descriptor) |
INDArray |
NoOpMemoryMgr.allocate(boolean detached,
LongShapeDescriptor descriptor) |
| Modifier and Type | Method and Description |
|---|---|
OpTestCase |
OpTestCase.expectedOutput(int outputNum,
@NonNull LongShapeDescriptor expShape,
@NonNull 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
|
| 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> |
DefaultOpExecutioner.calculateOutputShape(CustomOp op) |
List<LongShapeDescriptor> |
OpExecutioner.calculateOutputShape(CustomOp op) |
List<LongShapeDescriptor> |
DefaultOpExecutioner.calculateOutputShape(CustomOp op,
OpContext opContext) |
List<LongShapeDescriptor> |
OpExecutioner.calculateOutputShape(CustomOp op,
OpContext opContext) |
| Modifier and Type | Method and Description |
|---|---|
List<LongShapeDescriptor> |
BaseCompatOp.calculateOutputShape() |
| Modifier and Type | Method and Description |
|---|---|
List<LongShapeDescriptor> |
ExternalErrorsFunction.calculateOutputShape() |
List<LongShapeDescriptor> |
ExternalErrorsFunction.calculateOutputShape(OpContext oc) |
| 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> |
StandardDeviation.calculateOutputShape() |
List<LongShapeDescriptor> |
Variance.calculateOutputShape() |
List<LongShapeDescriptor> |
Variance.calculateOutputShape(OpContext oc) |
| 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 |
|---|---|
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(@NonNull DataType dataType) |
static LongShapeDescriptor |
LongShapeDescriptor.fromShape(int[] shape,
@NonNull DataType dataType) |
static LongShapeDescriptor |
LongShapeDescriptor.fromShape(long[] shape,
@NonNull DataType dataType) |
static LongShapeDescriptor |
LongShapeDescriptor.fromShape(long[] shape,
long extras) |
static LongShapeDescriptor |
LongShapeDescriptor.fromShape(@NonNull long[] shape,
@NonNull long[] strides,
long ews,
char order,
@NonNull DataType dataType,
boolean empty) |
static LongShapeDescriptor |
LongShapeDescriptor.fromShapeDescriptor(@NonNull 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 © 2021. All rights reserved.