/** * \file src/core/include/megbrain/imperative.h * * This file is part of MegBrain, a deep learning framework developed by Megvii. * * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. * */ #pragma once #include "megbrain/imperative/op_def.h" namespace mgb { namespace imperative { namespace proxy_graph_detail { void exec(const OpDef& def, const SmallVector& inputs_, const SmallVector& outputs_); SmallVector infer_output_attrs(const OpDef& def, const SmallVector& inputs); SmallVector infer_output_attrs_fallible(const OpDef& def, const SmallVector& inputs); BackwardGraphResult make_backward_graph(const OpDef& def, const SmallVector& inputs, const SmallVector& input_requires_grad, const SmallVector& output_has_grad); } // namespace proxy_graph_detail } // namespace imperative } // namespace mgb // vim: syntax=cpp.doxygen foldmethod=marker foldmarker=f{{{,f}}}