We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3670d94 commit f5e1c9aCopy full SHA for f5e1c9a
src/pb_stub.cc
@@ -911,6 +911,7 @@ PYBIND11_EMBEDDED_MODULE(c_python_backend_utils, module)
911
.def("triton_dtype", &PbTensor::TritonDtype)
912
.def("to_dlpack", &PbTensor::ToDLPack)
913
.def("is_cpu", &PbTensor::IsCPU)
914
+ .def("shape", &PbTensor::Dims)
915
.def("from_dlpack", &PbTensor::FromDLPack);
916
917
py::class_<InferResponse, std::shared_ptr<InferResponse>>(
0 commit comments