BenchmarkResult.InferenceOutput
Model output of one tensor.
Inherited Method Summary
From class java.lang.Object
Object
|
clone()
|
boolean |
|
void |
finalize()
|
final Class<?>
|
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String
|
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
Public Methods
Gets output tensor data as a ByteBuffer
in
native byte order.
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-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["`BenchmarkResult.InferenceOutput` represents the model output of a single tensor."],["It provides a method, `getValue()`, to retrieve the output tensor data as a ByteBuffer in native byte order."],["This class inherits standard methods from `java.lang.Object` like `equals`, `hashCode`, `toString`, etc."]]],["`BenchmarkResult.InferenceOutput` represents the model output of a single tensor. It provides one primary action: retrieving the output tensor data. The `getValue()` method returns this data as a `ByteBuffer` in native byte order. Additionally, standard object methods like `equals`, `hashCode`, `toString`, and `wait` are inherited, allowing for object comparison, representation, and thread synchronization.\n"]]