One Logo Pool Ball
MetalPerformanceShadersGraph · IOS API REFERENCE

MPSGraphTensor

class · iOS 14.0+ · SDK 27.1

class MPSGraphTensor

Members (3)

get · iOS 14.0+

dataType

TypeScript
get dataType(): _MetalPerformanceShaders_MPSDataType
Swift declaration
var dataType: MPSDataType { get }
get · iOS 14.0+

operation

TypeScript
get operation(): MPSGraphOperation
Swift declaration
var operation: MPSGraphOperation { get }
get · iOS 14.0+

shape

TypeScript
get shape(): (Array<_Foundation_NSNumber>) | null
Swift declaration
var shape: [NSNumber]? { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

MPSGraphTensor.init()

inherited init: clang: 'init' is unavailable

All MetalPerformanceShadersGraph types →