/** * \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"namespacemgb{namespaceimperative{namespaceproxy_graph_detail{voidexec(constOpDef&def,constSmallVector<TensorPtr>&inputs_,constSmallVector<TensorPtr>&outputs_);SmallVector<LogicalTensorDesc>infer_output_attrs(constOpDef&def,constSmallVector<TensorPtr>&inputs);SmallVector<LogicalTensorDesc>infer_output_attrs_fallible(constOpDef&def,constSmallVector<LogicalTensorDesc>&inputs);BackwardGraphResultmake_backward_graph(constOpDef&def,constSmallVector<LogicalTensorDesc>&inputs,constSmallVector<bool>&input_requires_grad,constSmallVector<bool>&output_has_grad);}// namespace proxy_graph_detail}// namespace imperative}// namespace mgb// vim: syntax=cpp.doxygen foldmethod=marker foldmarker=f{{{,f}}}