简体   繁体   English

Tensorflow lite model 中的输入和 output

[英]Input and output in Tensorflow lite model

I've train a model that have in input this tensor: Input Shape: [ 1 50] Input Type: <class 'numpy.float32'>我已经训练了一个 model 输入这个张量:输入形状:[1 50] 输入类型:<class 'numpy.float32'>

and in output this tensor: Output Shape: [ 1 50 17] Output Type: <class 'numpy.float32'>在 output 这个张量:Output 形状:[1 50 17] Output 类型:<class 'numpy'f。

How can I create these in java?如何在 java 中创建这些? for using this on Android device?Thanks在 Android 设备上使用它?谢谢

There are some TensorFlow Lite language bindings including Java and Kotlin for Android application developments.有一些 TensorFlow Lite 语言绑定,包括 Java 和 Kotlin 用于 ZE84E30B9390CDB64DB6DB2C 应用程序开发。

  • Official TensorFlow Lite Java API is available.官方 TensorFlow Lite Java API 可用。 For the details, check out this link .有关详细信息,请查看此链接
  • The recent versions of Android Studio also deals with the TensorFlow Lite model files as the acceptable file assets.最新版本的 Android Studio 还处理 TensorFlow Lite model 文件作为可接受的文件资产。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 从 TensorFlow Lite Model 的图像中获取 ByteBuffer - Get ByteBuffer from Image for TensorFlow Lite Model 为量化的 Tensorflow Lite Model 创建 Bitmap ByteBuffer - Creating a Bitmap ByteBuffer for quantized Tensorflow Lite Model 知道如何在 tensorflow Lite 中使用语言 model 吗? - know how to use a language model in tensorflow Lite? 如何为 tensorflow lite 输入在 android 中处理图像? - How to process image in android for tensorflow lite input? TensorFlow Lite在ML模型处理数字数据时有用吗? - Is TensorFlow Lite useful when it comes to ML model processing numerical data? Tensorflow Lite 自定义 Object 检测 Model ZE84E30B9390CDB64DB6DB2C9ABZ8 应用程序中的错误 - Tensorflow Lite Custom Object detection Model Error in Android app 如何将 CameraX 的 ImageProxy 提供给 tensorflow lite 模型 - How to feed CameraX's ImageProxy to tensorflow lite model 型号输入/输出为端口 - Model Input/output as ports Tensorflow lite 重新训练模型:替换我的模型后,Android 应用程序崩溃 - Tensorflow lite retrained model : Android application crashes after replacing my model How to specify Firebase Model Inputs for a TensorFlow Lite model to make predictions for item recommendations in Android - How to specify Firebase Model Inputs for a TensorFlow Lite model to make predictions for item recommendations in Android
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM