DataType
    
  
      
    
  
  
  
  
  
    
  
  
    
    
    
代表 TensorFlow Lite Tensor 中的元素類型,以列舉形式表示。
 
繼承的方法
            來自類別 java.lang.Enum
          
| 最終
                
                
                int |  | 
| int |  | 
| 最終
                
                
                布林值 |  | 
| 最終
                
                
                Class<DataType> | 
getDeclaringClass()
                
               | 
| 最終
                
                
                int | 
hashCode()
                
               | 
| 最終字串 | 
name()
                
               | 
| 最終
                
                
                int | 
ordinal()
                
               | 
| 字串 | 
toString()
                
               | 
| static
                <T 擴充 Enum<T>>
                T |  | 
 
 
 
            來自類別 java.lang.Object
          
| 布林值 |  | 
| 最終
                
                
                課程<?> | 
getClass()
                
               | 
| int | 
hashCode()
                
               | 
| 最終
                
                
                void | 
notify()
                
               | 
| 最終
                
                
                void | 
notifyAll()
                
               | 
| 字串 | 
toString()
                
               | 
| 最終
                
                
                void | 
wait(long arg0, int arg1)
                
               | 
| 最終
                
                
                void | 
wait(long arg0)
                
               | 
| 最終
                
                
                void | 
wait()
                
               | 
 
 
 
            來自介面 java.lang.Comparable
          
 
 
列舉值
            public
            static
            final
            
            
              DataType
            
          
INT16
 
            public
            static
            final
            
            
              DataType
            
          
INT32
 
            public
            static
            final
            
            
              DataType
            
          
INT64
 
            public
            static
            final
            
            
              DataType
            
          
INT8
 
            public
            static
            final
            
            
              DataType
            
          
STRING
 
            public
            static
            final
            
            
              DataType
            
          
UINT8
 
  
 
  
  
  
 
  
    
    
      
    
    
  
       
         
  
       
    
    
  
  
  除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
  上次更新時間:2025-07-24 (世界標準時間)。
  
  
    
    
    
      
  
    
  
  
    
      [[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-07-24 (世界標準時間)。"],[],[]]