testCollectOutputTensorInfo function
- @visibleForTesting
- @Deprecated('Accompanies collectOutputTensorInfo. Will be removed in 7.0.0.')
- Interpreter itp
Test-only access to collectOutputTensorInfo for verifying output tensor collection.
This function exposes the private collectOutputTensorInfo for unit testing.
It collects all output tensor metadata from the given itp interpreter.
Implementation
@visibleForTesting
@Deprecated('Accompanies collectOutputTensorInfo. Will be removed in 7.0.0.')
Map<int, OutputTensorInfo> testCollectOutputTensorInfo(Interpreter itp) =>
// ignore: deprecated_member_use_from_same_package
collectOutputTensorInfo(itp);