TensorVariableDescriptorPreview.Description TensorVariableDescriptorPreview.Description TensorVariableDescriptorPreview.Description TensorVariableDescriptorPreview.Description TensorVariableDescriptorPreview.Description Property

Definition

Deprecated. Gets the description of the tensor.

public : Platform::String Description { get; }
winrt::hstring Description();
public string Description { get; }
Public ReadOnly Property Description As string
var string = tensorVariableDescriptorPreview.description;

Property Value

string string string

The description of the tensor.

Examples

public void Evaluator(LearningModelPreview model)
{
	// Retrieve the first input feature which is a Tensor
    ILearningModelVariableDescriptorPreview inputTensorFeatureDescription = model.Description.InputFeatures.FirstOrDefault(feature=>feature.ModelFeatureKind == LearningModelFeatureKindPreview.Image);
 
    TensorVariableDescriptorPreview TensorDescriptor = (TensorVariableDescriptorPreview)inputTensorFeatureDescription;

	// Output the description of the Tensor variable
    Console.WriteLine($"Input Feature Name: {TensorDescriptor.Name}. Description: {TensorDescriptor.Description}.");

 }

Remarks

Warning

This is a deprecated API. Please use the Windows.AI.MachineLearning namespace instead.