Share via


IMTLTensorBinding Interface

Definition

This interface represents the Objective-C protocol MTLTensorBinding.

[Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="MTLTensorBinding", WrapperType=typeof(Metal.MTLTensorBindingWrapper))]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="tensorDataType", IsProperty=true, IsRequired=true, IsStatic=false, Name="TensorDataType", PropertyType=typeof(Metal.MTLTensorDataType), Selector="tensorDataType")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="indexType", IsProperty=true, IsRequired=true, IsStatic=false, Name="IndexType", PropertyType=typeof(Metal.MTLDataType), Selector="indexType")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="dimensions", IsProperty=true, IsRequired=true, IsStatic=false, Name="Dimensions", PropertyType=typeof(Metal.MTLTensorExtents), Selector="dimensions")]
public interface IMTLTensorBinding : IDisposable, Metal.IMTLBinding
[<Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="MTLTensorBinding", WrapperType=typeof(Metal.MTLTensorBindingWrapper))>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="tensorDataType", IsProperty=true, IsRequired=true, IsStatic=false, Name="TensorDataType", PropertyType=typeof(Metal.MTLTensorDataType), Selector="tensorDataType")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="indexType", IsProperty=true, IsRequired=true, IsStatic=false, Name="IndexType", PropertyType=typeof(Metal.MTLDataType), Selector="indexType")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="dimensions", IsProperty=true, IsRequired=true, IsStatic=false, Name="Dimensions", PropertyType=typeof(Metal.MTLTensorExtents), Selector="dimensions")>]
type IMTLTensorBinding = interface
    interface INativeObject
    interface IDisposable
    interface IMTLBinding
Attributes
Implements

Remarks

A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.

A class may also implement members from this interface to implement members from the protocol.

Properties

Name Description
Access (Inherited from IMTLBinding)
Argument (Inherited from IMTLBinding)
Dimensions
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
Index (Inherited from IMTLBinding)
IndexType
Name (Inherited from IMTLBinding)
TensorDataType
Type (Inherited from IMTLBinding)
Used (Inherited from IMTLBinding)

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to