语言

TrainingExampleRecord.GetTrainingExample 方法

定义

训练示例字节数组。

[Android.Runtime.Register("getTrainingExample", "()[B", "", ApiSince=35)]
public byte[]? GetTrainingExample();
[<Android.Runtime.Register("getTrainingExample", "()[B", "", ApiSince=35)>]
member this.GetTrainingExample : unit -> byte[]

返回

Byte[]

序列化 tensorflow.Example 的协议缓冲区,或 null。

特性

注解

训练示例字节数组。 格式是二进制序列化 张量流。示例 proto。 允许的最大示例大小为 50KB。

Java文档android.adservices.ondevicepersonalization.TrainingExampleRecord.getTrainingExample()。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于