Share via


MLCGraph.CreateNode Method

Definition

Overloads

CreateNode(MLCLayer, MLCTensor)

[Foundation.Export("nodeWithLayer:source:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual MLCompute.MLCTensor? CreateNode(MLCompute.MLCLayer layer, MLCompute.MLCTensor source);
[<Foundation.Export("nodeWithLayer:source:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CreateNode : MLCompute.MLCLayer * MLCompute.MLCTensor -> MLCompute.MLCTensor
override this.CreateNode : MLCompute.MLCLayer * MLCompute.MLCTensor -> MLCompute.MLCTensor

Parameters

layer
MLCLayer
source
MLCTensor

Returns

Attributes

Applies to

CreateNode(MLCLayer, MLCTensor[])

[Foundation.Export("nodeWithLayer:sources:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual MLCompute.MLCTensor? CreateNode(MLCompute.MLCLayer layer, MLCompute.MLCTensor[] sources);
[<Foundation.Export("nodeWithLayer:sources:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CreateNode : MLCompute.MLCLayer * MLCompute.MLCTensor[] -> MLCompute.MLCTensor
override this.CreateNode : MLCompute.MLCLayer * MLCompute.MLCTensor[] -> MLCompute.MLCTensor

Parameters

layer
MLCLayer
sources
MLCTensor[]

Returns

Attributes

Applies to

CreateNode(MLCLayer, MLCTensor[], MLCTensor[])

[Foundation.Export("nodeWithLayer:sources:lossLabels:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual MLCompute.MLCTensor? CreateNode(MLCompute.MLCLayer layer, MLCompute.MLCTensor[] sources, MLCompute.MLCTensor[] lossLabels);
[<Foundation.Export("nodeWithLayer:sources:lossLabels:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CreateNode : MLCompute.MLCLayer * MLCompute.MLCTensor[] * MLCompute.MLCTensor[] -> MLCompute.MLCTensor
override this.CreateNode : MLCompute.MLCLayer * MLCompute.MLCTensor[] * MLCompute.MLCTensor[] -> MLCompute.MLCTensor

Parameters

layer
MLCLayer
sources
MLCTensor[]
lossLabels
MLCTensor[]

Returns

Attributes

Applies to

CreateNode(MLCLayer, MLCTensor[], Boolean)

[Foundation.Export("nodeWithLayer:sources:disableUpdate:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual MLCompute.MLCTensor? CreateNode(MLCompute.MLCLayer layer, MLCompute.MLCTensor[] sources, bool disableUpdate);
[<Foundation.Export("nodeWithLayer:sources:disableUpdate:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CreateNode : MLCompute.MLCLayer * MLCompute.MLCTensor[] * bool -> MLCompute.MLCTensor
override this.CreateNode : MLCompute.MLCLayer * MLCompute.MLCTensor[] * bool -> MLCompute.MLCTensor

Parameters

layer
MLCLayer
sources
MLCTensor[]
disableUpdate
Boolean

Returns

Attributes

Applies to