-
Methods in org.robovm.apple.metalps with parameters of type MPSDataType
| Modifier and Type |
Method |
Description |
protected static long |
MPSMatrixDescriptor.create(long rows,
long columns,
long matrices,
long rowBytes,
long matrixBytes,
MPSDataType dataType) |
|
protected static long |
MPSMatrixDescriptor.create(long rows,
long columns,
long rowBytes,
MPSDataType dataType) |
|
protected static long |
MPSNDArrayDescriptor.create(MPSDataType dataType,
long numberOfDimensions,
MachineSizedUIntPtr dimensionSizes) |
|
protected static long |
MPSNDArrayDescriptor.create(MPSDataType dataType,
NSArray<NSNumber> shape) |
|
protected static long |
MPSVectorDescriptor.create(long length,
long vectors,
long vectorBytes,
MPSDataType dataType) |
|
protected static long |
MPSVectorDescriptor.create(long length,
MPSDataType dataType) |
|
static MPSMatrixDescriptor |
MPSMatrixDescriptor.createForDimensions(long rows,
long columns,
long rowBytes,
MPSDataType dataType) |
Deprecated.
|
void |
MPSRNNMatrixTrainingLayer.createTemporaryWeightGradientMatrices(NSMutableArray<MPSMatrix> matricesOut,
MPSDataType dataType,
MTLCommandBuffer commandBuffer) |
|
void |
MPSRNNMatrixTrainingLayer.createWeightGradientMatrices(NSMutableArray<MPSMatrix> matricesOut,
MPSDataType dataType) |
|
void |
MPSNDArray.exportData(MTLCommandBuffer cmdBuf,
MTLBuffer buffer,
MPSDataType destinationDataType,
long offset,
MachineSizedSIntPtr rowStrides) |
|
static long |
MPSMatrixDescriptor.getRowBytesForColumns(long columns,
MPSDataType dataType) |
|
static long |
MPSMatrixDescriptor.getRowBytesFromColumns(long columns,
MPSDataType dataType) |
Deprecated.
|
static long |
MPSVectorDescriptor.getVectorBytes(long length,
MPSDataType dataType) |
|
void |
MPSNDArray.importData(MTLCommandBuffer cmdBuf,
MTLBuffer buffer,
MPSDataType sourceDataType,
long offset,
MachineSizedSIntPtr rowStrides) |
|
protected long |
MPSMatrixRandomMTGP32.init(MTLDevice device,
MPSDataType destinationDataType,
long seed) |
|
protected long |
MPSMatrixRandomMTGP32.init(MTLDevice device,
MPSDataType destinationDataType,
long seed,
MPSMatrixRandomDistributionDescriptor distributionDescriptor) |
|
protected long |
MPSMatrixRandomPhilox.init(MTLDevice device,
MPSDataType destinationDataType,
long seed) |
|
protected long |
MPSMatrixRandomPhilox.init(MTLDevice device,
MPSDataType destinationDataType,
long seed,
MPSMatrixRandomDistributionDescriptor distributionDescriptor) |
|
void |
MPSMatrixDescriptor.setDataType(MPSDataType v) |
|
void |
MPSNDArrayDescriptor.setDataType(MPSDataType v) |
|
void |
MPSVectorDescriptor.setDataType(MPSDataType v) |
|
void |
MPSPolygonAccelerationStructure.setIndexType(MPSDataType v) |
|
void |
MPSRayIntersector.setRayIndexDataType(MPSDataType v) |
|
Constructors in org.robovm.apple.metalps with parameters of type MPSDataType
| Constructor |
Description |
MPSMatrixDescriptor(long rows,
long columns,
long matrices,
long rowBytes,
long matrixBytes,
MPSDataType dataType) |
|
MPSMatrixDescriptor(long rows,
long columns,
long rowBytes,
MPSDataType dataType) |
|
MPSMatrixRandomMTGP32(MTLDevice device,
MPSDataType destinationDataType,
long seed) |
|
MPSMatrixRandomMTGP32(MTLDevice device,
MPSDataType destinationDataType,
long seed,
MPSMatrixRandomDistributionDescriptor distributionDescriptor) |
|
MPSMatrixRandomPhilox(MTLDevice device,
MPSDataType destinationDataType,
long seed) |
|
MPSMatrixRandomPhilox(MTLDevice device,
MPSDataType destinationDataType,
long seed,
MPSMatrixRandomDistributionDescriptor distributionDescriptor) |
|
MPSNDArrayDescriptor(MPSDataType dataType,
long numberOfDimensions,
MachineSizedUIntPtr dimensionSizes) |
|
MPSNDArrayDescriptor(MPSDataType dataType,
NSArray<NSNumber> shape) |
|
MPSVectorDescriptor(long length,
long vectors,
long vectorBytes,
MPSDataType dataType) |
|
MPSVectorDescriptor(long length,
MPSDataType dataType) |
|
-
Methods in org.robovm.apple.metalpsgraph with parameters of type MPSDataType
| Modifier and Type |
Method |
Description |
MPSGraphTensor |
MPSGraph.castTensor(MPSGraphTensor tensor,
MPSDataType type,
String name) |
|
MPSGraphTensor |
MPSGraph.constant(double scalar,
NSArray<NSNumber> shape,
MPSDataType dataType) |
|
MPSGraphTensor |
MPSGraph.constant(double scalar,
MPSDataType dataType) |
|
MPSGraphTensor |
MPSGraph.constant(NSData data,
NSArray<NSNumber> shape,
MPSDataType dataType) |
|
protected static long |
MPSGraphCreateSparseOpDescriptor.create(MPSGraphSparseStorageType sparseStorageType,
MPSDataType dataType) |
|
protected static long |
MPSGraphRandomOpDescriptor.create(MPSGraphRandomDistribution distribution,
MPSDataType dataType) |
|
protected long |
MPSGraphShapedType.init(NSArray<NSNumber> shape,
MPSDataType dataType) |
|
protected long |
MPSGraphTensorData.init(MTLBuffer buffer,
NSArray<NSNumber> shape,
MPSDataType dataType) |
|
protected long |
MPSGraphTensorData.init(MPSGraphDevice device,
NSData data,
NSArray<NSNumber> shape,
MPSDataType dataType) |
|
MPSGraphTensor |
MPSGraph.oneHot(MPSGraphTensor indicesTensor,
long depth,
long axis,
MPSDataType dataType,
double onValue,
double offValue,
String name) |
|
MPSGraphTensor |
MPSGraph.oneHot(MPSGraphTensor indicesTensor,
long depth,
long axis,
MPSDataType dataType,
String name) |
|
MPSGraphTensor |
MPSGraph.oneHot(MPSGraphTensor indicesTensor,
long depth,
MPSDataType dataType,
double onValue,
double offValue,
String name) |
|
MPSGraphTensor |
MPSGraph.oneHot(MPSGraphTensor indicesTensor,
long depth,
MPSDataType dataType,
String name) |
|
MPSGraphTensor |
MPSGraph.placeholder(NSArray<NSNumber> shape,
MPSDataType dataType,
String name) |
|
void |
MPSGraphCreateSparseOpDescriptor.setDataType(MPSDataType v) |
|
void |
MPSGraphRandomOpDescriptor.setDataType(MPSDataType v) |
|
void |
MPSGraphShapedType.setDataType(MPSDataType v) |
|
MPSGraphTensor |
MPSGraph.sparseTensor(MPSGraphSparseStorageType sparseStorageType,
NSArray<MPSGraphTensor> inputTensorArray,
NSArray<NSNumber> shape,
MPSDataType dataType,
String name) |
|
MPSGraphTensor |
MPSGraph.variable(NSData data,
NSArray<NSNumber> shape,
MPSDataType dataType,
String name) |
|