From 391b9d16c07459e489ea662123be5b2e69ae499d Mon Sep 17 00:00:00 2001 From: YdrMaster Date: Wed, 15 Feb 2023 14:08:30 +0800 Subject: [PATCH] cleanup Signed-off-by: YdrMaster --- src/ffi/ffi_infinitensor.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/ffi/ffi_infinitensor.cc b/src/ffi/ffi_infinitensor.cc index 1e152c05..75a5e724 100644 --- a/src/ffi/ffi_infinitensor.cc +++ b/src/ffi/ffi_infinitensor.cc @@ -28,16 +28,13 @@ void init_graph_builder(py::module &m) { py::class_>(m, "RuntimeObj"); py::class_, RuntimeObj>( m, "CpuRuntimeObj"); - py::class_(m, "Shape"); py::class_>(m, "TensorObj"); - py::class_(m, "Tensor"); py::enum_(m, "ActType") .value("Linear", ActType::None) // None 是 Python 关键字,不能用 .value("Relu", ActType::Relu) .value("Sigmoid", ActType::Sigmoid) .value("Tanh", ActType::Tanh) .export_values(); - py::class_(m, "GraphHandler"); py::class_(m, "GraphHandlerObj") .def(py::init()) .def("tensor", py::overload_cast(&Handler::tensor),