TensorFlowLiteSwift Framework Reference (original) (raw)

Tensor

public struct Tensor : Equatable, Hashable

An input or output tensor in a TensorFlow Lite graph.

Declaration

Swift

public let name: String  

Declaration

Declaration

Swift

public let shape: Shape  

Declaration

Swift

public let data: Data  

Declaration

Declaration

Swift

public enum DataType : Equatable, Hashable  

Swift

public struct Shape : Equatable, Hashable  
extension Tensor.Shape: ExpressibleByArrayLiteral  

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-05-10 UTC.