mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-24 19:43:35 +00:00
* replace log sinks * limit headers to include dir * first changes to do dynamic linking * wip for using cxx api * remove weird dangling dependency * building with tests failing * finish updating converters * fix const * intital introduction of typedef * change logging to use spdlog * get tests passing * clang format * map logging levels better * clean up unused imports * trent cr comments * clang-format * code review comments * changing buffer use to reserve * Dynamically link * revert tvm * update binary uploading * catch exceptions by const-ref * Revert "revert tvm" This reverts commit 387676dd1018134d15eb71fa126f7caf94380800. * fix typo * update versioning of lib
27 lines
No EOL
740 B
Protocol Buffer
27 lines
No EOL
740 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
import "onnx-ml.proto";
|
|
|
|
package onnxruntime.server;
|
|
|
|
// PredictRequest specifies how inputs are mapped to tensors
|
|
// and how outputs are filtered before returning to user.
|
|
message PredictRequest {
|
|
reserved 1;
|
|
|
|
// Input Tensors.
|
|
// This is a mapping between output name and tensor.
|
|
map<string, onnx.TensorProto> inputs = 2;
|
|
|
|
// Output Filters.
|
|
// This field is to specify which output fields need to be returned.
|
|
// If the list is empty, all outputs will be included.
|
|
repeated string output_filter = 3;
|
|
}
|
|
|
|
// Response for PredictRequest on successful run.
|
|
message PredictResponse {
|
|
// Output Tensors.
|
|
// This is a mapping between output name and tensor.
|
|
map<string, onnx.TensorProto> outputs = 1;
|
|
} |