JittorMirror/src/grad.h

12 lines
464 B
C++

// ***************************************************************
// Copyright (c) 2020 Jittor. Authors: Dun Liang <randonlang@gmail.com>. All Rights Reserved.
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
// ***************************************************************
#include "common.h"
namespace jittor {
vector<VarPtr> grad(Var* loss, vector<Var*> targets);
} // jittor