docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum DataType

    Options for the data type of a Tensor.

    Namespace: Unity.Sentis
    Assembly: Unity.Sentis.dll
    Syntax
    public enum DataType

    Fields

    Name Description
    Byte

    Use 8-bit signed integer data - padded on a int32 buffer.

    Custom

    Use raw n-bit field data - padded on a int32 buffer.

    Float

    Use 32-bit floating point data.

    Int

    Use 32-bit signed integer data.

    Short

    Use 16-bit signed integer data - padded on a int32 buffer.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)