Uses of Class
org.robovm.apple.metalps.MPSDataType
| Package | Description |
|---|---|
| org.robovm.apple.metalps | |
| org.robovm.apple.metalpsgraph |
-
Uses of MPSDataType in org.robovm.apple.metalps
Methods in org.robovm.apple.metalps that return MPSDataType Modifier and Type Method Description MPSDataTypeMPSCNNConvolutionDataSource. dataType()MPSDataTypeMPSCNNConvolutionDataSourceAdapter. dataType()MPSDataTypeMPSMatrix. getDataType()MPSDataTypeMPSMatrixDescriptor. getDataType()MPSDataTypeMPSNDArray. getDataType()MPSDataTypeMPSNDArrayDescriptor. getDataType()MPSDataTypeMPSVector. getDataType()MPSDataTypeMPSVectorDescriptor. getDataType()MPSDataTypeMPSMatrixRandom. getDestinationDataType()MPSDataTypeMPSPolygonAccelerationStructure. getIndexType()MPSDataTypeMPSRayIntersector. getRayIndexDataType()MPSDataTypeMPSCNNConvolutionDataSource. kernelWeightsDataType()MPSDataTypeMPSCNNConvolutionDataSourceAdapter. kernelWeightsDataType()static MPSDataTypeMPSDataType. valueOf(long n)Returns the enum constant of this type with the specified name.static MPSDataTypeMPSDataType. valueOf(String name)Returns the enum constant of this type with the specified name.static MPSDataType[]MPSDataType. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.robovm.apple.metalps with parameters of type MPSDataType Modifier and Type Method Description protected static longMPSMatrixDescriptor. create(long rows, long columns, long matrices, long rowBytes, long matrixBytes, MPSDataType dataType)protected static longMPSMatrixDescriptor. create(long rows, long columns, long rowBytes, MPSDataType dataType)protected static longMPSNDArrayDescriptor. create(MPSDataType dataType, long numberOfDimensions, MachineSizedUIntPtr dimensionSizes)protected static longMPSNDArrayDescriptor. create(MPSDataType dataType, NSArray<NSNumber> shape)protected static longMPSVectorDescriptor. create(long length, long vectors, long vectorBytes, MPSDataType dataType)protected static longMPSVectorDescriptor. create(long length, MPSDataType dataType)static MPSMatrixDescriptorMPSMatrixDescriptor. createForDimensions(long rows, long columns, long rowBytes, MPSDataType dataType)Deprecated.Deprecated in iOS 11.0.voidMPSRNNMatrixTrainingLayer. createTemporaryWeightGradientMatrices(NSMutableArray<MPSMatrix> matricesOut, MPSDataType dataType, MTLCommandBuffer commandBuffer)voidMPSRNNMatrixTrainingLayer. createWeightGradientMatrices(NSMutableArray<MPSMatrix> matricesOut, MPSDataType dataType)voidMPSNDArray. exportData(MTLCommandBuffer cmdBuf, MTLBuffer buffer, MPSDataType destinationDataType, long offset, MachineSizedSIntPtr rowStrides)static longMPSMatrixDescriptor. getRowBytesForColumns(long columns, MPSDataType dataType)static longMPSMatrixDescriptor. getRowBytesFromColumns(long columns, MPSDataType dataType)Deprecated.Deprecated in iOS 11.0.static longMPSVectorDescriptor. getVectorBytes(long length, MPSDataType dataType)voidMPSNDArray. importData(MTLCommandBuffer cmdBuf, MTLBuffer buffer, MPSDataType sourceDataType, long offset, MachineSizedSIntPtr rowStrides)protected longMPSMatrixRandomMTGP32. init(MTLDevice device, MPSDataType destinationDataType, long seed)protected longMPSMatrixRandomMTGP32. init(MTLDevice device, MPSDataType destinationDataType, long seed, MPSMatrixRandomDistributionDescriptor distributionDescriptor)protected longMPSMatrixRandomPhilox. init(MTLDevice device, MPSDataType destinationDataType, long seed)protected longMPSMatrixRandomPhilox. init(MTLDevice device, MPSDataType destinationDataType, long seed, MPSMatrixRandomDistributionDescriptor distributionDescriptor)voidMPSMatrixDescriptor. setDataType(MPSDataType v)voidMPSNDArrayDescriptor. setDataType(MPSDataType v)voidMPSVectorDescriptor. setDataType(MPSDataType v)voidMPSPolygonAccelerationStructure. setIndexType(MPSDataType v)voidMPSRayIntersector. 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) -
Uses of MPSDataType in org.robovm.apple.metalpsgraph
Methods in org.robovm.apple.metalpsgraph that return MPSDataType Modifier and Type Method Description MPSDataTypeMPSGraphCreateSparseOpDescriptor. getDataType()MPSDataTypeMPSGraphRandomOpDescriptor. getDataType()MPSDataTypeMPSGraphShapedType. getDataType()MPSDataTypeMPSGraphTensor. getDataType()MPSDataTypeMPSGraphTensorData. getDataType()MPSDataTypeMPSGraphVariableOp. getDataType()MPSDataTypeMPSGraphPooling2DOpDescriptor. getReturnIndicesDataType()MPSDataTypeMPSGraphPooling4DOpDescriptor. getReturnIndicesDataType()Methods in org.robovm.apple.metalpsgraph with parameters of type MPSDataType Modifier and Type Method Description MPSGraphTensorMPSGraph. castTensor(MPSGraphTensor tensor, MPSDataType type, String name)MPSGraphTensorMPSGraph. constant(double scalar, NSArray<NSNumber> shape, MPSDataType dataType)MPSGraphTensorMPSGraph. constant(double scalar, MPSDataType dataType)MPSGraphTensorMPSGraph. constant(NSData data, NSArray<NSNumber> shape, MPSDataType dataType)protected static longMPSGraphCreateSparseOpDescriptor. create(MPSGraphSparseStorageType sparseStorageType, MPSDataType dataType)protected static longMPSGraphRandomOpDescriptor. create(MPSGraphRandomDistribution distribution, MPSDataType dataType)protected longMPSGraphShapedType. init(NSArray<NSNumber> shape, MPSDataType dataType)protected longMPSGraphTensorData. init(MTLBuffer buffer, NSArray<NSNumber> shape, MPSDataType dataType)protected longMPSGraphTensorData. init(MTLBuffer buffer, NSArray<NSNumber> shape, MPSDataType dataType, long rowBytes)protected longMPSGraphTensorData. init(MPSGraphDevice device, NSData data, NSArray<NSNumber> shape, MPSDataType dataType)MPSGraphTensorMPSGraph. oneHot(MPSGraphTensor indicesTensor, long depth, long axis, MPSDataType dataType, double onValue, double offValue, String name)MPSGraphTensorMPSGraph. oneHot(MPSGraphTensor indicesTensor, long depth, long axis, MPSDataType dataType, String name)MPSGraphTensorMPSGraph. oneHot(MPSGraphTensor indicesTensor, long depth, MPSDataType dataType, double onValue, double offValue, String name)MPSGraphTensorMPSGraph. oneHot(MPSGraphTensor indicesTensor, long depth, MPSDataType dataType, String name)MPSGraphTensorMPSGraph. placeholder(NSArray<NSNumber> shape, MPSDataType dataType, String name)voidMPSGraphCreateSparseOpDescriptor. setDataType(MPSDataType v)voidMPSGraphRandomOpDescriptor. setDataType(MPSDataType v)voidMPSGraphShapedType. setDataType(MPSDataType v)voidMPSGraphPooling2DOpDescriptor. setReturnIndicesDataType(MPSDataType v)voidMPSGraphPooling4DOpDescriptor. setReturnIndicesDataType(MPSDataType v)MPSGraphTensorMPSGraph. sparseTensor(MPSGraphSparseStorageType sparseStorageType, NSArray<MPSGraphTensor> inputTensorArray, NSArray<NSNumber> shape, MPSDataType dataType, String name)MPSGraphTensorMPSGraph. variable(NSData data, NSArray<NSNumber> shape, MPSDataType dataType, String name)Constructors in org.robovm.apple.metalpsgraph with parameters of type MPSDataType Constructor Description MPSGraphCreateSparseOpDescriptor(MPSGraphSparseStorageType sparseStorageType, MPSDataType dataType)MPSGraphRandomOpDescriptor(MPSGraphRandomDistribution distribution, MPSDataType dataType)MPSGraphShapedType(NSArray<NSNumber> shape, MPSDataType dataType)MPSGraphTensorData(MTLBuffer buffer, NSArray<NSNumber> shape, MPSDataType dataType)MPSGraphTensorData(MTLBuffer buffer, NSArray<NSNumber> shape, MPSDataType dataType, long rowBytes)MPSGraphTensorData(MPSGraphDevice device, NSData data, NSArray<NSNumber> shape, MPSDataType dataType)