Version: Unity 6.1 Alpha (6000.1)
LanguageEnglish
  • C#

MachineLearningTensorDescriptor

struct in UnityEngine.Rendering

/

Implemented in:UnityEngine.CoreModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

This struct contains all the information required to describe an input or output tensor for a machine learning operator.

Properties

dataTypeThe data type of the tensor.
shapeThe shape of the tensor.

Constructors

MachineLearningTensorDescriptorCreate a new tensor descriptor.

Static Methods

NullTensorCreates a descriptor for tensor without data. You can use it to represent optional tensor descriptors in MachineLearningOperatorFactory operator descriptors.