testCollectOutputTensorInfo function

  1. @visibleForTesting
Map<int, OutputTensorInfo> testCollectOutputTensorInfo(
  1. 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
Map<int, OutputTensorInfo> testCollectOutputTensorInfo(Interpreter itp) =>
    collectOutputTensorInfo(itp);