MLCEmbeddingLayer.Create(MLCEmbeddingDescriptor, MLCTensor) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Foundation.Export("layerWithDescriptor:weights:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MLCompute.MLCEmbeddingLayer Create(MLCompute.MLCEmbeddingDescriptor descriptor, MLCompute.MLCTensor weights);
[<Foundation.Export("layerWithDescriptor:weights:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : MLCompute.MLCEmbeddingDescriptor * MLCompute.MLCTensor -> MLCompute.MLCEmbeddingLayer
Parameters
- descriptor
- MLCEmbeddingDescriptor
- weights
- MLCTensor
Returns
- Attributes